## Basic model info

Model name: alibaba/qwen-image-3-pro
Model description: Qwen-Image-3.0-Pro generates and edits images with dense, accurate text rendering, complex multi-element layouts, and photographic detail.


## Model inputs

- prompt (required): Text prompt for image generation or editing (string)
- image (optional): Optional reference image for image editing, style transfer, or image-to-image generation (string)
- match_input_image (optional): When true and an image is provided, use the input image's aspect ratio and resolution instead of the aspect_ratio parameter (boolean)
- aspect_ratio (optional): Aspect ratio of the generated image (string)
- enable_prompt_expansion (optional): Automatically expand and optimize the prompt for better results (boolean)
- negative_prompt (optional): Negative prompt to specify elements to avoid in the generated image (string)
- seed (optional): Random seed for reproducible generation. Range: 0-2147483647 (integer)


## Model output schema

{
  "type": "string",
  "title": "Output",
  "format": "uri"
}

If the input or output schema includes a format of URI, it is referring to a file.


## Example inputs and outputs

Use these example outputs to better understand the types of inputs the model accepts, and the types of outputs the model returns:

### Example (https://replicate.com/p/ed80qfzyrxrmy0d04hnbeezgdc)

#### Input

```json
{
  "prompt": "A detailed academic papers with dense LaTeX formulas, subscripts and superscripts, Greek letters, and theorem numbering, about the mathematics of clowns",
  "aspect_ratio": "1:1",
  "negative_prompt": "",
  "match_input_image": false,
  "enable_prompt_expansion": true
}
```

#### Output

```json
"https://replicate.delivery/xezq/FBFt7YfJJgzesU1rine2fCfb0T4Q0sJEwQsKRzXKemiS7eviLA/tmper82hca4.png"
```


## Model readme

> # Qwen-Image-3.0-Pro
> 
> Qwen-Image-3.0-Pro is Alibaba's image generation and editing model. It's built for accurate text rendering and dense, information-rich layouts.
> 
> ## What it's good at
> 
> - **Accurate text.** Renders text as small as 10px and handles native rendering across 12 languages and many fonts.
> - **Dense layouts.** Generates complex compositions like newspapers, storyboards, menus, and exam papers in a single pass, including images-within-images.
> - **Photographic detail.** Reproduces fine details such as micro-expressions, pores, and individual strands of hair.
> - **Image editing.** Pass a reference image to edit, restyle, or transform it.
> 
> ## Inputs
> 
> - `prompt` — what to generate or how to edit the image.
> - `image` — optional reference image for editing and image-to-image.
> - `aspect_ratio` — output aspect ratio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2).
> - `match_input_image` — when editing, keep the input image's aspect ratio.
> - `negative_prompt` — elements to avoid.
> - `enable_prompt_expansion` — automatically expand and optimize your prompt.
> - `seed` — set for reproducible results.
> 
> ## Pricing
> 
> $0.04 per output image.

