Qwen Image 3.0
Text to image · Image editing
Starting price $0.07 / image
By Alibaba
Alibaba's Wan 2.7 Image creates up to five images from a prompt in English or Chinese and edits images from one to four references.
wan/v2.7/text-to-imageThis model has other modes with their own ids: wan/v2.7/edit.
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": "wan/v2.7/text-to-image",
"input": {
"prompt": "A night market street in the rain, red lanterns over food stalls, steam rising from noodle pots, reflections on wet stone, shot from eye level."
}
}'
# 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": "wan/v2.7/text-to-image", "quote_id": "QUOTE_ID", "input": {"prompt":"A night market street in the rain, red lanterns over food stalls, steam rising from noodle pots, reflections on wet stone, shot from eye level."}}'
# 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 | Text prompt describing the desired output. Supports Chinese and English. |
negative_prompt | string | Content to avoid in the generated image. Max 500 characters. |
image_size | string (enum) | Output image size. |
num_images | integer | Number of images to generate (1-5). |
seed | integer | Random seed for reproducibility (0-2147483647). |
output_format | string (enum) | The format of the generated images. |
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.
Wan 2.7 Image takes a prompt of up to 2000 characters and a negative prompt of up to 500, and renders in square, portrait or landscape presets.
The edit mode takes one to four images in order; call them image 1 to image 4 in the prompt to say which part comes from where. Prompt expansion is on by default in this mode.
Check object counts, layout and lettering at delivery size; compare preserved details after editing.