Qwen Image 3.0 Pro
Text-to-Image • Alibaba
alibaba/qwen-image-3.0-pro
- Third-party
Alibaba's Qwen Image 3.0 Pro generates images from text prompts with a focus on complex layout generation, small-text precision, and multilingual font rendering. Supports up to 6 image variants per call, negative prompts, seed control, and optional prompt rewriting.
| Model Info | |
|---|---|
| Terms and License | link ↗ |
| More information | link ↗ |
| Pricing | <ul><li>Per image$0.04</li><li>output size 1k$0.04</li><li>output size 2k$0.07</li><li>Default (per second)$0.04</li></ul> |
Usage
const response = await env.AI.run(
'alibaba/qwen-image-3.0-pro',
{ prompt: 'A golden retriever puppy playing in autumn leaves' },
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "alibaba/qwen-image-3.0-pro",
"input": {
"prompt": "A golden retriever puppy playing in autumn leaves"
}
}'

{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"images": [
"https://examples.aig.cloudflare.com/alibaba/qwen-image-3.0-pro/simple-generation.png"
]
},
"state": "Completed"
}
Examples
<details>
<summary>Multiple Variants — Generate several image variants from a single call</summary>
const response = await env.AI.run(
'alibaba/qwen-image-3.0-pro',
{ prompt: 'A minimalist logo for a coffee roastery, line art style, single color', n: 4 },
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "alibaba/qwen-image-3.0-pro",
"input": {
"prompt": "A minimalist logo for a coffee roastery, line art style, single color",
"n": 4
}
}'




{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"images": [
"https://examples.aig.cloudflare.com/alibaba/qwen-image-3.0-pro/multiple-variants-0.png",
"https://examples.aig.cloudflare.com/alibaba/qwen-image-3.0-pro/multiple-variants-1.png",
"https://examples.aig.cloudflare.com/alibaba/qwen-image-3.0-pro/multiple-variants-2.png",
"https://examples.aig.cloudflare.com/alibaba/qwen-image-3.0-pro/multiple-variants-3.png"
]
},
"state": "Completed"
}
</details>
<details>
<summary>Negative Prompt — Guide generation away from unwanted elements</summary>
const response = await env.AI.run(
'alibaba/qwen-image-3.0-pro',
{
prompt: 'A detailed oil painting portrait of a Renaissance nobleman with intricate lace collar',
negative_prompt: 'modern clothing, photograph, blurry, low quality',
},
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "alibaba/qwen-image-3.0-pro",
"input": {
"prompt": "A detailed oil painting portrait of a Renaissance nobleman with intricate lace collar",
"negative_prompt": "modern clothing, photograph, blurry, low quality"
}
}'

{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"images": [
"https://examples.aig.cloudflare.com/alibaba/qwen-image-3.0-pro/negative-prompt.png"
]
},
"state": "Completed"
}
</details>
Parameters
prompt
stringrequired
size
stringrequireddefault: 1024x1024pattern: ^\d+x\d+$
negative_prompt
stringmaxLength: 500
n
integerminimum: 1maximum: 6
seed
integerminimum: 0maximum: 2147483647
watermark
boolean
prompt_extend
boolean
prompt_extend_mode
stringenum: direct, agent
▶images[]
arrayminItems: 1format: uri
API Schemas (Raw)
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ai/models/alibaba/qwen-image-3.0-pro/#page","headline":"Qwen Image 3.0 Pro","description":"Alibaba's Qwen Image 3.0 Pro generates images from text prompts with a focus on complex layout generation, small-text precision, and multilingual font rendering. Supports up to 6 image variants per call, negative prompts, seed control, and optional prompt rewriting.","url":"https://developers.cloudflare.com/ai/models/alibaba/qwen-image-3.0-pro/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Alibaba's Qwen 3 Max is a large language model with strong coding, reasoning, and multilingual capabilities, served via DashScope's OpenAI-compatible endpoint. title: Qwen 3 Max image: https://developers.cloudflare.com/og-docs.png
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/llms.txt
Use this file to discover all available pages before exploring further.

