v1

latestOpenAPI 3.1.02026-07-2672724.8 KB
AI Video

Text To Video

post/v1/video/text2video

Request body

callback_urlstring uri nullable

Callback notification URL for task results. If configured, the server will actively send notifications when the task status changes. The message schema of the notification can be found in the Callback Protocol section.

promptstring required
model't2v-2.4-faster' | 't2v-2.4-advanced'
style'japanese_anime' | 'realistic' | 'pixel' | 'cartoon_game' | 'flat_color_anime' | '90s_style'
secondsinteger required

Output video duration in seconds.

aspect_ratio'16:9' | '9:16' | '1:1' | '4:3' | '3:4'

Example request

{
  "callback_url": "https://example.com/callback"
}

Response

Successful Response

codeinteger