Wan 2.7 Pro Text to Image
alibaba/wan/2.7/pro/text-to-imageAlibaba Wan 2.7 Pro text-to-image model with enhanced quality and selectable aspect ratio.
- Base price
- $0.07USD / run
- Execution
- async
- Model type
- image
- Input fields
- 2
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Specifications
Pricing
- Base price
- $0.07 / run
- Billing formula
- 0.075
Context & modalities
- Input
- Schema-defined
- Output
- image
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- Alibaba
- Model ID
- alibaba/wan/2.7/pro/text-to-image
- Execution
- async
- API
- Unified Run API
- Endpoint
- /v1/run
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 unit | Price |
|---|---|
| Per request | $0.075 |
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| The model's named workflow matches the source material and intended output | A different input modality or model route is required |
| A managed asynchronous result is suitable for the production pipeline | A synchronous, interactive editor is essential |
| The documented controls cover the required duration, framing, or format | The project needs controls outside this endpoint's schema |
| Creative iteration benefits from a repeatable request structure | Exact deterministic pixels, frames, geometry, or samples are mandatory |
| A finished downloadable media asset is the desired deliverable | Editable 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",
"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
| Spec | Value |
|---|---|
| Model ID | alibaba/wan/2.7/pro/text-to-image |
| Inputs | aspect_ratio, output_format, prompt, seed |
| Required inputs | prompt |
| Output fields | content_type, url |
| Execution | Async (submit, then poll for result) |
| Aspect Ratio | 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 9:21 |
| Output Format | jpeg / png |
Related Models
alibaba/wan/2.7/pro/image-to-image— Compare a nearby route in the same local model family.alibaba/wan/2.7/text-to-image— Compare a nearby route in the same local model family.alibaba/wan/2.7/image-to-image— Compare a nearby route in the same local model family.
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "alibaba/wan/2.7/pro/text-to-image",
"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",
"aspect_ratio": "16:9"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
Wan 2.7 Pro Text to ImageThis model Alibaba | Image | $0.07 / run | Apr 1, 2026 |
Alibaba | Image | $0.04 / run | Jul 21, 2026 |
Alibaba | Image | $0.04 / run | Jul 21, 2026 |
Alibaba | Image | $0.04 / run | Jul 21, 2026 |
Alibaba | Image | $0.07 / run | Apr 1, 2026 |
Alibaba | Image | $0.03 / run | Apr 1, 2026 |
Questions
FAQ
How do I call Wan 2.7 Pro Text to Image through SandBase?
Create a SandBase API key, then send requests with the model ID "alibaba/wan/2.7/pro/text-to-image" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.
Do I need a separate Alibaba account?
No. One SandBase API key and balance gives you access to Wan 2.7 Pro Text to Image and the other models in the catalog; you do not need to sign up with Alibaba separately.
