# Qwen Image Edit > Transformer-based image editing model with 20B parameters supports pixel-level and semantic edits, bilingual text modification, style transfer, and multi-image editing up to 1024×1024 resolution. ## Overview - **Model ID**: `qwen-edit` - **Category**: image - **Provider**: modelslab - **Status**: active - **Screenshot**: `https://assets.modelslab.com/generations/e6e3343f-b489-4263-95e9-d5f1c59aad09.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v6/image_editing/qwen_edit` - **Method**: POST ### Parameters - **`init_image`** (required): Add your URLs in JPEG, PNG, You can add upto 4 Images - Type: array - **`prompt`** (required): The text prompt for the type of image you want to generate - Type: textarea ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/image_editing/qwen_edit \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "qwen-edit", "prompt": "A girl holding pepsi can from image 2 in her left hand" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/image_editing/qwen_edit", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "qwen-edit", "prompt": "A girl holding pepsi can from image 2 in her left hand" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/image_editing/qwen_edit", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "qwen-edit", "prompt": "A girl holding pepsi can from image 2 in her left hand" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/qwen-edit/qwen-edit) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)