> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enterprise Qwen Edit 2.1 API

> Run Qwen Edit 2.1 on dedicated enterprise GPU servers. Text-to-image, multi-reference image editing and full server control.

> [!TIP]
>
> Not on Enterprise yet? Get your enterprise plan at [ModelsLab](https://modelslab.com/enterprise?utm_source=docs.modelslab.com\&utm_medium=referral\&utm_campaign=docs\&utm_content=enterprise-api-qwen-2-1-overview)

Qwen Edit 2.1 runs directly on your own enterprise container — requests are posted straight at your
dedicated server instead of going through the shared queue.

One model serves both generating an image from a prompt and editing images you send it. Image to
image takes up to **10 reference images** in a single request.

| Capability | Endpoint |
| - | - |
| Text to image | `/qwen_edit_2_1/text2img` |
| Image to image | `/qwen_edit_2_1/img2img` |

## Available Endpoints

> [card] [Text to Image](https://docs.modelslab.com/enterprise-api/qwen-2-1/text2img.md)
>
> This endpoint generates an image from a text prompt using the Qwen Edit 2.1 model.

> [card] [Image to Image](https://docs.modelslab.com/enterprise-api/qwen-2-1/img2img.md)
>
> This endpoint edits or combines up to 10 reference images using a text prompt.

> [card] [Fetch Queued Images](https://docs.modelslab.com/enterprise-api/qwen-2-1/fetch.md)
>
> This endpoint fetches already generated or queued images by ID.

> [card] [Clear Server Cache](https://docs.modelslab.com/enterprise-api/qwen-2-1/clear-cache.md)
>
> This endpoint clears the server cache.

> [card] [Clear Server Queue](https://docs.modelslab.com/enterprise-api/qwen-2-1/clear-queue.md)
>
> This endpoint clears the server queue.

> [card] [Restart Server](https://docs.modelslab.com/enterprise-api/qwen-2-1/restart-server.md)
>
> This endpoint restarts the server.

> [card] [System Details](https://docs.modelslab.com/enterprise-api/qwen-2-1/system-details.md)
>
> This endpoint retrieves system and server details.

> [card] [Update Server](https://docs.modelslab.com/enterprise-api/qwen-2-1/update-server.md)
>
> This endpoint updates the server to the latest version.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.