Skip to main content
POST
Create WAN 2.7 — Reference To Video

Overview

Alibaba WAN 2.7 (2026-06): text-to-video, image-to-video, reference-to-video, and edit; 2–15s, 720p/1080p. Optimized for reference to video via apisale.
Docs = API contract + Try it (snapshot). Explore = browser playground. Model page = product examples.

Endpoint

Pricing

From $0.070/sec apisale price is 30% below the vendor’s official list price.
Official price = vendor list price. apisale price = what you pay through apisale.

Request

Parameters

Fields marked * are required. Use Authorization: Key YOUR_API_KEY for REST.
number
Optional random seed for reproducibility.
string
required
Text prompt for video generation. Maximum 5000 characters.
number
Default: 5 Values: 2, 3, 4, 5, 6, 7, 8, 9, 10
string
Default: 1080p Values: 720p, 1080p
boolean
Default: false
string
Default: 16:9 Values: 16:9, 9:16, 1:1, 4:3, 3:4
string
Negative prompt. Maximum 2000 characters.
array
Character/object reference images (multi-subject supported).
array
Reference videos; billing uses input duration + output duration.
boolean
Default: true
string
Optional HTTPS webhook when the run reaches a terminal state.
boolean
Block until completion (same Run response shape).

Submit response

Returns a Run with run_id. Poll with GET /v1/runs/{run_id} or use Try it above.
string
required
Unique run ID — save for polling and webhooks.
string
required
queued (async) or terminal state for sync runs.
object
Result when status is succeeded — see Output schema below.

Example (async submit)

Full lifecycle: Runs lifecycle.

Output

When status is succeeded, output follows this schema:

Example

Authorizations

Authorization
string
header
required

Key sk-... (native REST) or Bearer sk-... (vendor SDKs)

Body

application/json
input
object
required
Example:
webhook_url
string<uri>
sync
boolean
default:false

Response

201 - application/json

Run accepted

run_id
string
required

Unique run identifier

endpoint
string
required

Model slug

model
string
required
capability
string
required
mode
string
required
status
enum<string>
required
Available options:
queued,
processing,
succeeded,
failed,
timeout,
cancelled
created_at
string<date-time>
required
output
object | null
error
object | null
billing
object | null
started_at
string<date-time> | null
completed_at
string<date-time> | null
elapsed_ms
number | null