Skip to main content
POST

Authorizations

Authorization
string
header
required

Use Bearer Token authentication. Format: Authorization: Bearer sk-xxxxxx

Body

application/json
model
enum<string>
required

HappyHorse or Wan public model name. Wan supports wan-3.0, wan-3.0-480p, and wan-3.0-1080p; the HappyHorse aggregated model happyhorse-1.0 must be used with mode.

Available options:
happyhorse-1.0,
happyhorse-1.0-t2v,
happyhorse-1.0-i2v,
happyhorse-1.0-r2v,
happyhorse-1.0-video-edit,
wan-3.0,
wan-3.0-480p,
wan-3.0-1080p
Example:

"happyhorse-1.0-t2v"

input
object
required
mode
enum<string>

Aggregated model mode. Common values are t2v, i2v, r2v, and video_edit. The fixed submodel is optional.

Available options:
t2v,
i2v,
r2v,
video_edit
parameters
object

Response

200 - application/json

Task created successfully

id
string
required
Example:

"task_xxx"

output
object
usage
object