curl --request POST \
--url https://api.dreamto.ai/api/v1/services/aigc/multimodal-generation/generation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "qwen-image-3.0-pro",
"input": {
"messages": [
{
"role": "user",
"content": [
{
"text": "An orange cat sitting on a sunlit wooden windowsill, a city street after the rain outside, droplets on the glass, soft natural light, photorealistic"
}
]
}
]
},
"parameters": {
"size": "1328*1328",
"n": 1,
"prompt_extend": true,
"watermark": false
}
}
'
{
"request_id": "req_7c1e9a4b2d3f5a6b8c9d0e1f",
"output": {
"choices": [
{
"finish_reason": "stop",
"message": {
"role": "assistant",
"content": [
{
"type": "image",
"image": "https://dashscope-463f.oss-accelerate.aliyuncs.com/1d/bd/20261117/2299ae9b/qwen_image3_serving_output_0.png?Expires=1794997226&Signature=..."
}
]
}
}
],
"rewrite_status": "not_use"
},
"usage": {
"output_width": 1024,
"output_height": 1024,
"input_image_count": 0,
"input_image_type": "qima_input_1k",
"output_image_count": 1,
"output_image_type": "qima_output_1k"
}
}
Qwen-Image 3.0 Pro
Create image
Qwen-Image generation and editing (Alibaba Cloud Model Studio DashScope protocol). The single message in input.messages with only one text is text-to-image; adding 1–3 image items makes it image-to-image / editing. The request is synchronous and blocks until the images are ready, returning their links (PNG, valid for 24 hours) in output.choices[0].message.content.
POST
/
api
/
v1
/
services
/
aigc
/
multimodal-generation
/
generation
curl --request POST \
--url https://api.dreamto.ai/api/v1/services/aigc/multimodal-generation/generation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "qwen-image-3.0-pro",
"input": {
"messages": [
{
"role": "user",
"content": [
{
"text": "An orange cat sitting on a sunlit wooden windowsill, a city street after the rain outside, droplets on the glass, soft natural light, photorealistic"
}
]
}
]
},
"parameters": {
"size": "1328*1328",
"n": 1,
"prompt_extend": true,
"watermark": false
}
}
'
{
"request_id": "req_7c1e9a4b2d3f5a6b8c9d0e1f",
"output": {
"choices": [
{
"finish_reason": "stop",
"message": {
"role": "assistant",
"content": [
{
"type": "image",
"image": "https://dashscope-463f.oss-accelerate.aliyuncs.com/1d/bd/20261117/2299ae9b/qwen_image3_serving_output_0.png?Expires=1794997226&Signature=..."
}
]
}
}
],
"rewrite_status": "not_use"
},
"usage": {
"output_width": 1024,
"output_height": 1024,
"input_image_count": 0,
"input_image_type": "qima_input_1k",
"output_image_count": 1,
"output_image_type": "qima_output_1k"
}
}
Authorizations
Body
application/json
Request body of image generation (DashScope protocol).
Response
Images generated. The links are in output.choices[0].message.content[].image and usage holds the billed quantities; request_id equals the X-Request-Id header.
Successful response.

