← Back to all generators

qwen/qwen-image

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

Capabilities

Reference Images Negative Prompt Seed

Cost

Community model (estimated from hardware time)

Input Parameters

prompt required string

Prompt for generated image

aspect_ratio string

Aspect ratio for the generated image

Default: "16:9"
1:1 16:9 9:16 4:3 3:4 3:2 2:3
disable_safety_checker boolean

Disable safety checker for generated images.

Default: false
enhance_prompt boolean

Enhance the prompt with positive magic.

Default: false
extra_lora_scale 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.

extra_lora_weights 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'])

go_fast boolean

Run faster predictions with additional optimizations.

Default: true
guidance number

Guidance for generated image. Lower values can give more realistic images. Good values to try are 2, 2.5, 3 and 3.5

Default: 3 min: 0, max: 10
image string

Input image for img2img pipeline

image_size string

Image size for the generated image

Default: "optimize_for_quality"
optimize_for_quality optimize_for_speed
lora_scale number

Determines how strongly the main LoRA should be applied.

Default: 1
lora_weights 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')

negative_prompt string

Negative prompt for generated image

Default: " "
num_inference_steps integer

Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.

Default: 30 min: 1, max: 50
output_format string

Format of the output images

Default: "webp"
webp jpg png
output_quality integer

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs

Default: 80 min: 0, max: 100
replicate_weights 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.

seed integer

Random seed. Set for reproducible generation

strength number

Strength for img2img pipeline

Default: 0.9 min: 0, max: 1
Version: 0bba9e70f784 Updated: 2/26/2026 1.6M runs