Skip to main content
POST
/
v3
/
async
/
vidu-q1-text2video
Vidu Q1 Text-to-Video
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/vidu-q1-text2video \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "prompt": "<string>",
  "style": "<string>",
  "duration": 123,
  "seed": 123,
  "aspect_ratio": "<string>",
  "resolution": "<string>",
  "movement_amplitude": "<string>",
  "bgm": true
}
'
{
  "task_id": "<string>"
}
Vidu Q1 Text-to-Video generates smooth, seamless videos by leveraging keyframe technology while maintaining a consistent theme and style.
This is an asynchronous API and only returns the asynchronous task’s task_id. You should use this task_id to request the Get Task Result API to retrieve the video generation result.

Request Headers

Content-Type
string
required
Enum value: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

prompt
string
required
The text prompt for video generation, with a maximum length of 1500 characters.
style
string
The style of the output video. Default: general
Available values: general, anime
  • general: General style. Allows the style to be controlled through the prompt
  • anime: Anime style. Optimized for anime aesthetics and performs better for anime-related prompts
duration
integer
Video duration (in seconds). Defaults to 5 seconds; currently only the 5-second option is supported.
seed
integer
The random seed for video generation.
  • Defaults to a random seed value
  • A manually set value will override the default random seed
aspect_ratio
string
The aspect ratio of the output video. Default: 16:9
Available values: 16:9, 9:16, 1:1
resolution
string
The output video resolution. Defaults to 1080p; currently only the 1080p option is supported.
movement_amplitude
string
The movement amplitude of objects in the frame. Default: auto
Available values: auto, small, medium, large
bgm
boolean
Whether to add background music to the generated video. Default: false
Available values: true, false
When set to true, the system will automatically add appropriate BGM. There is no duration limit for BGM; the system will adapt it automatically.

Response

task_id
string
required
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generated result