Skip to main content
POST

Authorizations

Authorization
string
header
required

All APIs require Bearer Token authentication

Add to request header:

Authorization: Bearer YOUR_API_KEY

Body

application/json
model
string
default:wan-2.7-reference-to-video
required

wan-2.7-reference-to-video: Reference image / reference video to video

Example:

"wan-2.7-reference-to-video"

prompt
string
required

Prompt describing the desired video content to generate

Maximum string length: 5000
Example:

"A graceful dance performance on a moonlit stage"

reference_image_urls
string[] | null

List of reference image URLs

Notes:

  • Used to provide appearance references for characters or objects
  • Multiple images can be provided for multi-subject scenes
Example:
reference_video_urls
string[] | null

List of reference video URLs

Notes:

  • Used to provide motion references for characters or objects
  • Multiple videos can be provided for multi-subject scenes
Example:
duration
integer
default:5

Output video duration in seconds, supports integer values from 2-15

Required range: 2 <= x <= 10
Example:

2

resolution
enum<string>
default:1080p

Output video resolution

Options: 720p, 1080p

Available options:
720p,
1080p
Example:

"720p"

aspect_ratio
enum<string>
default:16:9

Output video aspect ratio

Options: 16:9, 9:16, 1:1, 4:3, 3:4

Available options:
16:9,
9:16,
1:1,
4:3,
3:4
Example:

"16:9"

negative_prompt
string | null

Negative prompt describing content to avoid

Maximum string length: 500
Example:

"blurry, jitter"

seed
integer | null

Random seed for reproducibility

Required range: 0 <= x <= 2147483647
Example:

123

multi_shots
boolean | null

Whether to enable multi-shot segmented generation

Notes:

  • When set to true, the system will attempt to generate multi-shot segments
  • Uses model default if not specified
Example:

true

enable_safety_checker
boolean | null

Whether to enable safety checker. Uses model default if not specified

Example:

true

Response

Task created successfully

created
integer

Task creation timestamp

Example:

1757165031

id
string

Task ID

Example:

"task-unified-1757165031-uyujaw3d"

model
string

Actual model name used

object
enum<string>

Specific task type

Available options:
video.generation.task
progress
integer

Task progress percentage (0-100)

Required range: 0 <= x <= 100
Example:

0

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"pending"

task_info
object

Asynchronous task information

type
enum<string>

Task output type

Available options:
video
Example:

"video"