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

Alibaba modelsimage generation api

alibaba/wan/2.7/pro

Alibaba Wan 2.7 Pro text-to-image model with enhanced quality and configurable output format.

Input
The prompt to generate an image from.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, 9:21.
Random seed for reproducible results.
The format of the generated image. Allowed values: jpeg, png.
Idle

Example output — click Run to generate your own

API README

Wan 2.7 Pro Text-to-Image

Wan 2.7 Pro is the text-to-image route in the Wan 2.7 Pro family. It turns a written creative brief into a finished image URL, giving image-generation workflows a direct path from concept text to a visual asset.

The endpoint packages generation and delivery into one asynchronous job. This makes it practical to iterate on a visual brief, compare results, and carry the selected output into a broader design workflow.

Highlights

Enhanced Pro quality. The Pro route is positioned for enhanced-quality image generation, producing a more refined result than a draft-oriented text-to-image workflow.

Advanced prompt understanding. Interprets detailed written direction so the generated image can follow a richer creative brief rather than only a short subject label.

Detailed image output. Produces detailed visual results, supporting prompts in which the requested image depends on clearly resolved content rather than a loose thumbnail concept.

Native 4K text-to-image output. The Pro model supports high-resolution 4K output for text-to-image generation.

Pricing

Billing unitPrice
Per request$0.075

When to Use

✅ Good fit❌ Consider alternatives
The model's named workflow matches the source material and intended outputA different input modality or model route is required
A managed asynchronous result is suitable for the production pipelineA synchronous, interactive editor is essential
The documented controls cover the required duration, framing, or formatThe project needs controls outside this endpoint's schema
Creative iteration benefits from a repeatable request structureExact deterministic pixels, frames, geometry, or samples are mandatory
A finished downloadable media asset is the desired deliverableEditable source layers or a native project file are required

Prompt Guide

For generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.

{
  "aspect_ratio": "16:9",
  "output_format": "png",
  "prompt": "A futuristic glass library building with organic curved walls surrounded by cherry blossom trees, blue sky with scattered clouds, architectural visualization, golden ratio composition"
}

Technical Specs

SpecValue
Model IDalibaba/wan/2.7/pro
Inputsaspect_ratio, output_format, prompt, seed
Required inputsprompt
Output fieldscontent_type, url
ExecutionAsync (submit, then poll for result)
Aspect Ratio21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 9:21
Output Formatjpeg / png

Related Models

Related Models