POST https://api.higgsfield.ai/alibaba/qwen-image-3/text-to-image
Endpoint ID: alibaba/qwen-image-3/text-to-image
Open API PlaygroundQwen Image 3 · Text to image↗
Usage notes
- prompt must contain non-whitespace text. The schema imposes no character maximum; its 4,500-token guidance is advisory.
- enable_thinking defaults to true and requires prompt_extend=true. Set both to false to disable enhancement.
- prompt_extend_mode supports direct or agent. No reference images are accepted by this endpoint.
- resolution is a tier; 2k square maps to 1536 by 1536 pixels, not 2048 by 2048.
Quick start
Input schema
integer
Optional random seed for similar, reproducible results.
Minimum:
0.
Maximum: 2147483647.string
required
Positive prompt or editing instruction in Chinese or English. Alibaba recommends at most 4,500 tokens.
Minimum characters:
1.string
default:"1k"
Output resolution tier. Both tiers produce PNG images.
Allowed values:
"1k", "2k".string
default:"1:1"
Output aspect ratio. Exact provider-recommended dimensions are selected automatically.
Allowed values:
"1:1", "2:3", "3:2", "3:4", "4:3", "7:9", "9:7", "9:16", "16:9", "21:9".boolean
default:"true"
Improve the prompt before generation. Required when thinking mode is enabled.
boolean
default:"true"
Use model reasoning to improve image quality. Requires prompt enhancement.
string
Content, styles, or artifacts to avoid in the output.
string
default:"direct"
Direct enhancement is available for every request; agent enhancement is text-to-image only.
Allowed values:
"direct", "agent".Complete JSON schema
Complete JSON schema
Response
Submission returns a request handle. Pollstatus_url until status is completed, or use webhooks.
Accepted