Model API
Qwen Image 3.0
Generate one image from a text prompt.
Model id
qwen-image-3-0Run it
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 red ceramic cup on a wooden table, soft morning light"
}
}'
# 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 red ceramic cup on a wooden table, soft morning light"}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"Input
| 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, up to 6. Each generated image is billed. |
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. The price is the same either way. |
seed | integer | Optional. Random seed for reproducibility (0-2147483647). |
Output
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://…" }
]Pricing
- 1 image$0.07/ image
The exact charge for your input comes from a quote. How charges settle