Skip to main content
POST
Wan 2.7 — Text to Image
Generate text to image outputs with Alibaba+‘s Wan 2.7 model. Submitted as an asynchronous job and delivered via webhook or polling.

Request Body

string
required
Model slug. Use alibaba-plus/wan-2.7/text-to-image for text to image generation.
object
required
Input parameters for text to image generation.
string
HTTPS URL to receive a webhook notification when the job completes or fails.

Pricing

Base cost: 30,000 micro-cents per image ($0.03/img)
Default cost: 1 number of images = 30,000 × 1 = 30,000 micro-cents ($0.03)

Response

string
Unique identifier for the submitted job.
string
Initial job status. Always "pending" on successful submission.
string
ISO 8601 timestamp of the estimated completion time.
number
The cost of the job in micro-cents.

Code Examples