Qwen Image 3.0
Text to image · Image editing
Starting price $0.07 / image
By Alibaba
Upload a reference and give Qwen Image 2.1 Turbo a focused edit, such as changing the background while keeping the product and its label. Choose an output size or leave it on Auto.
qwen-image-2.1-turbo/editThis model has other modes with their own ids: qwen-image-2.1-turbo.
Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-image-2.1-turbo/edit",
"input": {
"prompt": "Replace the white backdrop with pale blue. Keep the product, the printed label and the existing shadow.",
"image_urls": [
"https://example.com/input.png"
]
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "qwen-image-2.1-turbo/edit", "quote_id": "QUOTE_ID", "input": {"prompt":"Replace the white backdrop with pale blue. Keep the product, the printed label and the existing shadow.","image_urls":["https://example.com/input.png"]}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
promptrequired | string | Editing instruction in Chinese or English; recommended maximum 4,500 tokens. |
enable_thinking | boolean | Defaults to true when prompt rewriting is enabled, otherwise false. Requires Prompt Extend. |
image_urlsrequired | array of image URLs | 1–10 public HTTP(S) reference images in order. JPG, JPEG, PNG, BMP, TIFF, WEBP or GIF; up to 10 MB each, dimensions 1–8000 pixels, long-to-short side ratio at most 10:1. |
n | integer | Choose 1 to 6 output images. |
prompt_extend | boolean | Prompt Extend |
prompt_extend_mode | string (enum) | Only direct prompt enhancement is supported for Image Edit. |
seed | integer | Seed |
size | string (enum) | Choose a preset output size. Auto lets the model choose the size. |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "image", "url": "https://…", "mime_type": "image/png", "thumbnail_url": "https://…" }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
The generation form gives you preset canvas sizes and a transparent background option. The edit form takes reference images and follows a separate instruction.
Inspect the handle, rim, shadow and any requested lettering at full size. For edits, compare the result with each reference: object shape, face details and branding can change. Keep the prompt, selected mode, size and seed with the chosen image.