# Qwen Image Edit 2511 > Qwen-Image-Edit-2511 is a powerful, versatile AI tool for sophisticated, prompt-based image editing with strong consistency, identity preservation, and mixed-mode control across subjects and scenes ## Overview - **Model ID**: `qwen-edit-2511` - **Category**: image - **Provider**: modelslab - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/ec7b04cd-9977-4280-bee3-0a3f4f6723be.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-2511", "prompt": "On the terrace of a modern art café, two young women are enjoying a leisurely afternoon. The woman on the left is wearing a red sweater. The woman on the right is wearing a gray neck knit sweater and a pair of eye-catching orange wide-leg pants; her left hand is casually tucked into her pocket, and she is tilting her head while talking to her companion.They are sitting side-by-side at a small, natural wood-colored table topped with two iced coffees and a small plate of dessert. In the background, there is a city skyline visible through floor-to-ceiling windows and green trees in the distance, with sunlight casting dappled shadows through a parasol." }' ``` ### 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-2511", "prompt": "On the terrace of a modern art café, two young women are enjoying a leisurely afternoon. The woman on the left is wearing a red sweater. The woman on the right is wearing a gray neck knit sweater and a pair of eye-catching orange wide-leg pants; her left hand is casually tucked into her pocket, and she is tilting her head while talking to her companion.They are sitting side-by-side at a small, natural wood-colored table topped with two iced coffees and a small plate of dessert. In the background, there is a city skyline visible through floor-to-ceiling windows and green trees in the distance, with sunlight casting dappled shadows through a parasol." } ) 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-2511", "prompt": "On the terrace of a modern art café, two young women are enjoying a leisurely afternoon. The woman on the left is wearing a red sweater. The woman on the right is wearing a gray neck knit sweater and a pair of eye-catching orange wide-leg pants; her left hand is casually tucked into her pocket, and she is tilting her head while talking to her companion.They are sitting side-by-side at a small, natural wood-colored table topped with two iced coffees and a small plate of dessert. In the background, there is a city skyline visible through floor-to-ceiling windows and green trees in the distance, with sunlight casting dappled shadows through a parasol." }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/qwen-image-edit-2511/qwen-edit-2511) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)