Runflow
Alibaba

Qwen Image 2 API

Qwen Image 2 by Alibaba — 7B-parameter model for photorealism and accurate text rendering. Native bilingual prompts (Chinese and English). $0.035/image.

qwen-image-2-text-to-image7B paramsUnified Generation & Editing
Updated March 2026·Early access
Price
$0.035/image
Per image, usage-based
Cold Start
5–10s
Not billed, handled by Runflow
Quality Score
Coming soon
Sentinel benchmarks in progress
Category
Image Generation
text-to-image

Qwen Image 2 model family by Alibaba

Four variants covering generation and editing — all on the same Runflow API.

Qwen Image 2 (Text-to-Image)

This model

Standard text-to-image generation — this model

Qwen Image 2 Pro (Text-to-Image)

Premium

Higher quality generation with premium inference

Qwen Image 2 (Edit)

Editing

Image editing and inpainting variant

Qwen Image 2 Pro (Edit)

Pro Edit

Premium image editing with enhanced instruction following

Benchmarked for your use case

Every model on Runflow is scored per vertical — not generic leaderboard numbers. Scores come from domain-expert evaluation on real production prompts.

Use CaseAssessmentNotes
PortraitStrong7B parameters deliver photorealistic portrait quality
FashionModerateGood detail, bilingual prompt support
ProductStrongAccurate text rendering on product imagery
CreativeModerateSolid artistic flexibility with Chinese/English prompts

API Parameters

Full parameter reference for the qwen-image-2-text-to-image model endpoint.

ParameterTypeDescription
promptstringText description of the image. Supports Chinese and English, up to 1,000 tokens.
image_sizeobject | stringOutput size. Presets: "square", "square_hd", "landscape_4_3", "landscape_16_9", "portrait_4_3", "portrait_16_9". Or pass custom {width, height} — total pixels between 512×512 and 2048×2048. Default: "square_hd".
num_inference_stepsintegerDenoising steps. Range: 1–50. Default: 28. Use 15–20 for drafts, 25–28 for quality, 35+ for final production.
guidance_scalenumberHow closely the model follows the prompt. Range: 0–20. Default: 5. Lower = more creative; higher = more literal.
num_imagesintegerNumber of images to generate. Range: 1–4. Default: 1.
output_formatstringOutput format. Options: "jpeg", "png", "webp". Default: "png".
negative_promptstringContent to avoid in the output. Max 500 characters.
enable_prompt_expansionbooleanEnable LLM prompt optimisation for better results. Default: true.
enable_safety_checkerbooleanEnable content moderation for input and output. Default: true.
seedintegerRandom seed for reproducibility (0–2147483647).
sync_modebooleanReturn media as data URI without storing in request history. Default: false.

Technical Specifications

Parameters7 billion
ArchitectureUnified Generation & Editing
Max Resolution2048 × 2048 (square_hd)
Inference Steps28 default · 1–50 range
Guidance Scale5 default · 0–20 range
Supported LanguagesChinese & English (up to 1,000 tokens)
Output FormatsJPEG · PNG · WebP
LicenseCommercial

Why run Qwen Image 2 on the Runflow API

Flux AI models are available on many platforms. Here's what makes the Runflow image generation API different.

Professional typography & text rendering

Qwen Image 2 accurately renders text inside images — posters, infographics, product labels — a consistent weakness in most competing models.

Bilingual prompt support

Send prompts in Chinese or English up to 1,000 tokens — the model understands both natively, no translation needed.

Tunable quality vs speed

Control generation quality per request via num_inference_steps and guidance_scale. 15–20 steps for rapid drafts, 25–28 for quality, 35+ for production-grade outputs.

Sentinel quality scoring

Every output is scored by Runflow's Sentinel system before delivery — bad generations don't reach your users.

Explore other models

Same API, different strengths. Switch models with one parameter change.

Frequently asked questions

Resources

Start generating images with Qwen Image 2

Get API access in minutes. No GPU setup, no infrastructure to manage. Pair with Sentinel to control the quality of every AI-generated image you ship.