Qwen Image 3.0
Text to image · Image editing
Starting price $0.07 / image
By Alibaba
Alibaba's Wan 2.6 Image creates an image from a prompt in English or Chinese, or edits a photo and combines up to three reference images from a written instruction.
wan/v2.6/text-to-imageThis model has other modes with their own ids: wan/v2.6/image-to-image.
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.6/text-to-image",
"input": {
"prompt": "A lighthouse on a cliff at dusk with waves crashing below, in the colors and brushwork of the reference image."
}
}'
# 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.6/text-to-image", "quote_id": "QUOTE_ID", "input": {"prompt":"A lighthouse on a cliff at dusk with waves crashing below, in the colors and brushwork of the reference image."}}'
# 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 image. Supports Chinese and English. Max 2000 characters. |
image_url | string (image URL) | Optional reference image (0 or 1). When provided, can be used for style guidance. Resolution: 384-5000px each dimension. Max size: 10MB. Formats: JPEG, JPG, PNG (no alpha), BMP, WEBP. |
negative_prompt | string | Content to avoid in the generated image. Max 500 characters. |
image_size | string (enum) | Output image size. If not set: matches input image size (up to 1280*1280). Use presets like 'square_hd', 'landscape_16_9', or specify exact dimensions. |
max_images | number (enum) | Maximum number of images to generate (1-5). Actual count may be less depending on model inference. |
seed | integer | Random seed for reproducibility (0-2147483647). |
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.6 Image takes a prompt of up to 2000 characters and a negative prompt of up to 500. Add one reference image to steer the look; without a size preset, the result follows the reference's size up to 1280 × 1280.
The edit mode takes one to three images, which you refer to by their order in the prompt, and returns one to four images in six preset sizes. Prompt expansion is on by default and rewrites short prompts into fuller ones.
Inspect the full-size output and compare details and subject appearance with your source.