Seedream 5.5
Text to image · Image editing
Starting price $0.05 / image
By Alibaba
Alibaba's Qwen Image 3.0 turns a long prompt into one image at 1K or 2K, and edits your photos from a written instruction using one to three images.
qwen-image-3-0This model has other modes with their own ids: alibaba/qwen-image-3/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": "qwen-image-3-0",
"input": {
"prompt": "A tea house on a misty mountain slope at dawn, wooden balconies, paper lanterns, terraced tea fields below and a winding stone path."
}
}'
# 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-3-0", "quote_id": "QUOTE_ID", "input": {"prompt":"A tea house on a misty mountain slope at dawn, wooden balconies, paper lanterns, terraced tea fields below and a winding stone path."}}'
# 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 | Required. The prompt to generate the image. Max 4500 characters. |
resolution | string (enum) | Required. Quality tier for the generated image. |
ratio | string (enum) | Optional. Aspect ratio of the output. Auto follows the first input image, or gives a square when there is no input image. |
n | integer | Optional. How many images to generate. |
negativePrompt | string | Optional. Specify what to exclude from the output. |
promptExtend | string (enum) | Optional. Rewrites and expands the prompt for better detail, with slightly longer latency. Useful for short prompts. |
promptExtendMode | string (enum) | Optional. Direct suits most cases. Agent rewrites more heavily but works only without an input image, otherwise it falls back to direct. |
enableThinking | string (enum) | Optional. Improves output quality at the cost of longer generation time. Needs Prompt Extend to be true. |
seed | integer | Optional. 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.
The text mode takes a prompt of up to 4500 characters and renders one image in eight shapes from 21:9 to 9:16. Prompt extend rewrites a short prompt into a fuller one, and thinking mode, which only works with prompt extend on, takes longer to plan the image.
The edit mode takes one to three images, called image 1, image 2 and image 3 in the order you added them, and an instruction in English or Chinese. Each run returns up to 6 images as PNG, JPEG or WebP; a negative prompt lists what to keep out.
Read every letter and check alignment, spacing and the placement of objects.