qwen/qwen-image 🔢🖼️📝✓❓ → 🖼️

⭐ Official ▶️ 1.6M runs 📅 Aug 2025 ⚙️ Cog 0.16.9 🔗 GitHub 📄 Paper ⚖️ License
image-editing image-to-image text-rendering text-to-image

About

An image generation foundation model in the Qwen series that achieves significant advances in complex text rendering.

Example Output

Prompt:

"Bookstore window display. A sign displays “New Arrivals This Week”. Below, a shelf tag with the text “Best-Selling Novels Here”. To the side, a colorful poster advertises “Author Meet And Greet on Saturday” with a central portrait of the author. There are four books on the bookshelf, namely “The light between worlds” “When stars are scattered” “The slient patient” “The night circus”"

Output

Example output

Performance Metrics

3.47s Prediction Time
3.48s Total Time
All Input Parameters
{
  "prompt": "Bookstore window display. A sign displays “New Arrivals This Week”. Below, a shelf tag with the text “Best-Selling Novels Here”. To the side, a colorful poster advertises “Author Meet And Greet on Saturday” with a central portrait of the author. There are four books on the bookshelf, namely “The light between worlds” “When stars are scattered” “The slient patient” “The night circus”",
  "go_fast": true,
  "guidance": 4,
  "strength": 0.9,
  "image_size": "optimize_for_quality",
  "lora_scale": 1,
  "aspect_ratio": "16:9",
  "output_format": "webp",
  "enhance_prompt": false,
  "output_quality": 80,
  "negative_prompt": " ",
  "num_inference_steps": 50
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
image Type: string
Input image for img2img pipeline
prompt (required) Type: string
Prompt for generated image
go_fast Type: booleanDefault: true
Run faster predictions with additional optimizations.
guidance Type: numberDefault: 3Range: 0 - 10
Guidance for generated image. Lower values can give more realistic images. Good values to try are 2, 2.5, 3 and 3.5
strength Type: numberDefault: 0.9Range: 0 - 1
Strength for img2img pipeline
image_size Default: optimize_for_quality
Image size for the generated image
lora_scale Type: numberDefault: 1
Determines how strongly the main LoRA should be applied.
aspect_ratio Default: 16:9
Aspect ratio for the generated image
lora_weights Type: string
Load LoRA weights. Only works with text to image pipeline. Supports arbitrary .safetensors URLs, tar files, and zip files from the Internet (for example, 'https://huggingface.co/flymy-ai/qwen-image-lora/resolve/main/pytorch_lora_weights.safetensors', 'https://example.com/lora_weights.tar.gz', or 'https://example.com/lora_weights.zip')
output_format Default: webp
Format of the output images
enhance_prompt Type: booleanDefault: false
Enhance the prompt with positive magic.
output_quality Type: integerDefault: 80Range: 0 - 100
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
negative_prompt Type: stringDefault:
Negative prompt for generated image
extra_lora_scale Type: array
Scales for additional LoRAs as an array of numbers (e.g., 0.5, 0.7). Must match the number of weights in extra_lora_weights.
replicate_weights Type: string
Load LoRA weights from Replicate training. Only works with text to image pipeline. Supports arbitrary .safetensors URLs, tar files, and zip files from the Internet.
extra_lora_weights Type: array
Additional LoRA weights as an array of URLs. Same formats supported as lora_weights (e.g., ['https://huggingface.co/flymy-ai/qwen-image-lora/resolve/main/pytorch_lora_weights.safetensors', 'https://huggingface.co/flymy-ai/qwen-image-realism-lora/resolve/main/flymy_realism.safetensors'])
num_inference_steps Type: integerDefault: 30Range: 1 - 50
Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Using seed: 141586
Generation took 3.34 seconds
Total safe images: 1 out of 1
Version Details
Version ID
0bba9e70f78437359725e0989ead45ca8b09e6c12a070dfe9a09e6856b43a44d
Version Created
January 20, 2026
Run on Replicate →