SandBase is live — $1 in free credits on signupStart free ›

Alibaba modelsimage generation api

alibaba/qwen-image/2512

Qwen Image 2512 is Alibaba's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.

Input
The prompt to generate an image from.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
The format of the generated image. Allowed values: jpeg, png.
The same seed and the same prompt given to the same version of the model will output the same image every time.
Idle

Example output — click Run to generate your own

API README

Qwen Image 2512

Qwen Image 2512 is the 2512 route for prompt-led image creation. It uses Qwen’s combined visual-semantic and appearance modeling to interpret subjects, relationships, typography, spatial structure, and surface detail as a connected composition, giving this exact route a clearer production purpose than a generic image request.

Use Qwen Image 2512 when the project specifically requires a new visual built from a detailed brief. State the creative goal, then define composition, viewpoint, wording, materials, lighting, and finish; for edits, explicitly separate the intended transformation from identity, layout, or regions that must remain stable.

Highlights

  • 2512 Complex scene composition. Coordinates subjects, environment, layout, and style from a detailed brief.
  • 2512 Bilingual visual text. Creates Chinese and English words inside posters, signs, and labels.
  • 2512 Semantic relationship rendering. Represents how objects and concepts relate rather than only depicting isolated nouns.
  • 2512 Photographic and graphic versatility. Supports realistic scenes, illustration, product imagery, and designed assets.

Pricing

ConfigurationBilling unitPrice
Base generationPer request$0.02

When to Use

✅ Good fit❌ Consider alternatives
The project needs this exact named workflowThe intended task belongs to another media route
All required reference or control media is availableNecessary assets or rights are unavailable
The brief can state transformation and preservation goalsOutput must be deterministic at pixel or frame level
Supported duration, resolution, and format fit deliveryFinal placement requires unsupported specifications
An asynchronous generated result fits productionA live frame-synchronous response is mandatory

Prompt Guide

Identify the primary subject and every source or condition, state the intended transformation or action, then describe composition, camera or viewpoint, lighting, materials, pacing, atmosphere, and exact preservation requirements. Refer to multiple inputs in their schema order.

{
  "prompt": "A precisely directed composition with explicit subject, transformation, camera or viewpoint, lighting, material, and preservation requirements",
  "seed": 1,
  "aspect_ratio": "21:9",
  "output_format": "jpeg"
}

Technical Specs

SpecValue
Model IDalibaba/qwen-image/2512
Input fieldsseed (integer)<br>prompt (string)<br>aspect_ratio (string; 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16)<br>output_format (string; jpeg, png)
Required inputprompt
Output fieldsurl, content_type
ExecutionAsynchronous job

Related Models

  • alibaba/qwen-image
  • alibaba/qwen-image/edit
  • alibaba/qwen-image/max

Related Models

alibaba/qwen-image/2512/loraQwen Image 2512 Lora by Alibaba - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.alibaba/qwen-imageQwen Image by Alibaba - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.alibaba/qwen-image/editQwen Image Edit is Alibaba's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.alibaba/qwen-image/layeredQwen Image Layered by Alibaba - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.alibaba/qwen-image/layered/loraQwen Image Layered Lora is Alibaba's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.alibaba/qwen-image/maxQwen Image Max by Alibaba - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.alibaba/qwen-image/max/editQwen Image Max Edit is Alibaba's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.alibaba/qwen-image-2/pro/text-to-imageQwen Image 2 Pro by Alibaba - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.