Skip to main content

Qwen Image 3.0 text-to-image is Alibaba's text-rendering model: quoted signage and headlines come back as readable type at the 2k tier. It takes 5,000-character prompts and a separate negative prompt, in eight aspect ratios at 1k or 2k.

From $0.03/image

Workbench

Input

Text to image
301/5000
Up to 5,000 characters, Chinese or English, no language flag. Put every string that must appear in the picture inside single quotes and keep each one to roughly eight words. at least 1 characters · at most 5000 characters
Composes the frame before generation rather than cropping afterwards, so choose the shape the image will be published at. All eight ratios cost the same per image.
affects price
1k or 2k, default 2k, and the only price variant here. Generate anything with readable text at 2k; 1k is for fast layout roughs where nothing has to be legible.
affects price
Fixed at 1: each request returns one image. For a contact sheet from one brief, send parallel requests without a seed; each is quoted and settled on its own. no lower than 1 · no higher than 1
Prompt expansion
On by default on this family. It fills out thin briefs and rewrites detailed ones, so turn it off once your prompt is a precise shot description.
0/2000
Up to 2,000 characters of exclusions, kept out of the main prompt. Worth spending on watermarks, duplicated limbs and garbled lettering when a frame carries type. at most 2000 characters
Prompt optimization
directagent
How prompt expansion rewrites your brief while `enable_prompt_expansion` is on: `direct` (default) rewrites it in a single pass; `agent` runs a multi-step rewrite that plans the image more thoroughly and takes longer. Only matters while expansion is on. No effect on price.
Seed
Omit it while exploring and every call draws its own. Fix it once a frame works, then change one other field at a time to see what each change did. no lower than 0 · no higher than 2147483647
Safety checkerOff

SpicyAPI does not run a safety checker on this model. Your prompt and media go to the model as written, and the model itself decides what comes back.

Checking your account before enabling submission and pricing.

Output

Ready for a new run
door-hangerExample result

Related models and next tasks

Missing the model you need?

Tell us what to add and where you would use it. Requests go to the people who decide what gets onboarded next.

A 5,000-character brief, with exclusions in their own field

Qwen Image 3.0's text-to-image API takes a prompt of up to 5,000 characters and returns one image, in any of eight aspect ratios at a 1k or 2k tier. The 2,000-character negative_prompt field and the enable_prompt_expansion toggle arrive with this generation: the Qwen Image 2 endpoints in this catalog have neither, and stop at 800 prompt characters. Alibaba describes the model as built for smooth, reliable daily creation, scaled to posters, web pages and interface screens.

Open the playground
A 5,000-character brief, with exclusions in their own field
Prompt length
Up to 5,000 characters, against 800 on Qwen Image 2
Negative prompt
Its own 2,000-character field, new to this generation
Aspect ratios
Eight, from 1:1 (the default) through the 21:9 strip
Resolution
1k or 2k tier, 2k by default, and part of what the quote is built from
Outputs per call
num_outputs is in the schema, and its maximum is 1
Prompt expansion
enable_prompt_expansion is on by default; set it false for an exact brief
Generation jump
A schema built for longer, more exact briefsThe prompt field holds 5,000 characters here against 800 on Qwen Image 2, and two fields arrive that the older generation does not expose at all: negative_prompt for exclusions, and enable_prompt_expansion for deciding whether the service may rewrite a thin brief before it renders.
Official positioning
Alibaba frames this generation around daily productionThe company's own documentation describes the model as built for smooth, reliable daily creation, scaling everyday tasks like posters, web pages and UI screens, and as reading complex text-and-image prompts accurately.
Both generations live
Qwen Image 2 stays callable beside itBoth generations sit in this catalog under their own endpoints, so a move can go project by project: leave a working Qwen Image 2 prompt where it is, and send new work to the longer schema here.

What changed in the Qwen Image 3.0 text-to-image API

The prompt field holds a full brief, and exclusions moved out of it

The prompt field holds a full brief, and exclusions moved out of it

5,000 characters is room for subject, wardrobe, lighting, lens and every quoted string of on-image text in one field. negative_prompt takes another 2,000 characters for what to leave out, so a description no longer has to end in a list of things to avoid. Qwen Image 2 has neither the length nor the second field.

num_outputs is in the schema, and its maximum is 1

num_outputs is in the schema, and its maximum is 1

The field exists here, which it does not on Qwen Image 2, but it will not take a value above 1: every call returns a single image and is quoted on its own. A set of independent draws comes from sending the same prompt several times in parallel, with no seed, and keeping the ones that worked.

  • Prompt expansion rewrites thin briefs unless you switch it off

    enable_prompt_expansion defaults to true, which lets the service fill gaps in a short prompt before generation starts. Once a brief already names every subject detail, quoted string and lighting cue, set it to false so the request renders as written. The field is on both endpoints in this family.

  • aspect_ratio defaults to 1:1, so wide frames have to say so

    Eight ratios are available, from 1:1 through 3:2, 2:3 and the 21:9 strip, and the default is the square. A banner or a tall poster that leaves the field out comes back square. resolution is a separate choice: it sets the 1k or 2k tier and does not touch the shape.

  • The request shape is the same as the Pro model's, field for field

    Prompt length, negative_prompt, the eight ratios, the resolution tiers and num_outputs match Qwen Image 3.0 Pro's text-to-image endpoint exactly, so a prompt tuned here moves over untouched. What separates the two is the price each one shows and the positioning: Alibaba's Pro material talks about dense single-pass layouts and detail approaching real photography.

Who reaches for Qwen Image 3.0 text-to-image

  • Carry the prompts over, then use the extra room

    Teams moving off Qwen Image 2

    Carry the prompts over, then use the extra room

    An existing Qwen Image 2 prompt fits far under the new 5,000-character ceiling, so the first call is a drop-in change with the same field names. The difference shows up afterwards, when exclusions move into negative_prompt and the brief grows detailed enough to be worth the longer budget.

  • Generate the everyday assets Alibaba built the model around

    Production and content pipelines

    Generate the everyday assets Alibaba built the model around

    Alibaba's documentation frames this generation as scaling everyday tasks like posters, web pages and UI screens, which is the shape of work where one brief runs many times a week with a field or two changed between runs.

  • One field set covers generation and editing

    Teams standardising on one request shape

    One field set covers generation and editing

    Both endpoints in this family take the same seven fields, and editing only adds image_urls on top. A wrapper written for text-to-image reaches editing by attaching references, without a second set of parameter names to maintain or a second validation path.

  • Several parallel calls stand in for a batch field

    Batch and variant work

    Several parallel calls stand in for a batch field

    num_outputs will not go above 1, so a spread of options comes from firing the same brief as several requests at once, each without a seed, and picking from what comes back. Every call is quoted and settled on its own.

How to call the Qwen Image 3.0 text-to-image API

  1. Write the whole brief into the prompt field

    Subject, wardrobe, lighting, lens and every quoted string of on-image text go in one field, up to 5,000 characters. Nothing has to be trimmed to fit the way it did at 800.

  2. Move exclusions into negative_prompt

    Watermarks, extra limbs and stray lettering belong in the separate 2,000-character field. That keeps the main prompt a description of the picture you want, which is also the form the model reads best.

  3. Set aspect_ratio before anything else

    The default is 1:1, so pick from the eight ratios whenever the frame is not square. resolution is chosen separately and stays at 2k unless the render is only there to check a layout.

  4. Decide whether enable_prompt_expansion stays on

    Leave it true for a thin brief and let the service fill the gaps. Set it false once every subject detail, quoted string and lighting cue is already written, so nothing is rewritten underneath the request.

  5. Fire several requests when you want options

    One call returns one image, so a spread to choose from means sending the same prompt as parallel requests with no seed. Each one is quoted separately, and the results come back as independent images.

Qwen Image 3.0 worked examples

  • A web landing page mockup with real body copy

    Naming each block and its exact wording keeps a dense interface layout from collapsing into a generic screenshot.

    A software product landing page mockup, dark navy background, headline reading 'Ship code with confidence', a subheading below it reading 'Automated reviews in minutes, not days', three feature cards below labeled 'Speed', 'Safety' and 'Scale', clean sans-serif type, 2k detail
  • An editorial portrait paired with an exclusion list

    Keeping the exclusions in negative_prompt (for example 'blurry text, extra fingers, visible seams, watermark') rather than the main prompt keeps a portrait brief from turning into a paragraph of caveats.

    Editorial portrait of a woman in a sage green blazer, seated at a marble desk, soft window light from the left, shallow depth of field, magazine cover styling
  • A poster headline at the extreme 21:9 ratio

    Setting the widest supported ratio before writing the composition keeps a banner-shaped brief from arriving as a square render.

    A minimalist product launch banner, deep teal gradient background, headline reading 'THE NEXT CHAPTER' in bold condensed capitals centered in the frame, a small line beneath reading 'Coming this fall', generous negative space on both sides for a wide banner placement

Qwen Image 3.0 text-to-image API questions

Migrating a prompt from Qwen Image 2

Most Qwen Image 2 prompts carry over unchanged; the 5,000-character ceiling has room to spare over the old 800. Move any exclusion clauses out of the main prompt and into negative_prompt, since that field did not exist before. Check the frame too, because aspect_ratio still defaults to 1:1. If the original prompt already states everything precisely, set enable_prompt_expansion to false so nothing gets rewritten on the way to generation.