Skip to main content
Wan2.2 A14B uses one creation endpoint with two public AnyFast model IDs. Select the workflow that matches your input, then query the returned task ID.

Create task

POST /v1/video/generations
cURL

Request headers

string
required
Bearer authentication in the form Bearer YOUR_API_KEY.
string
default:"application/json"
required
Request body format.

Request body

string
required
Must be wan2.2-t2v-a14b.
string
required
Text description of the subject, action, setting, visual style, and camera movement.
number
default:5
Video duration from 3 through 5 seconds.
integer
Output width in pixels.
integer
Output height in pixels.
integer
Optional random seed in [0, 2147483647] for more repeatable generation.
object
Optional extension fields passed to the upstream service.

Create response

200
string
Task ID used to query the result.
string
Task ID, identical to id.
string
Returned object type, video.
string
AnyFast model ID used by the task.
string
Initial status string. Use the query endpoint for the authoritative task state.
integer
Initial task progress percentage.
integer
Creation time as a Unix timestamp in seconds.

Error responses

  • 400 Bad Request - Invalid input or an unsupported parameter.
  • 401 Unauthorized - The API key is missing or invalid.
  • 404 Not Found - The requested task does not exist.
  • 429 Rate limit exceeded - The request rate exceeded the applicable limit.