Skip to main content
POST
/
v3
/
async
/
hunyuan-video-fast
Hunyuan Text-to-Video
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/hunyuan-video-fast \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "model_name": "<string>",
  "width": 123,
  "height": 123,
  "seed": 123,
  "steps": 123,
  "prompt": "<string>"
}
'
{
  "task_id": "<string>"
}
HunyuanVideo is an industry-leading text-to-video generation model that can generate high-quality videos with realistic motion based on text descriptions.
这是一个异步API,只会返回异步任务的 task_id。您应该使用该 task_id 请求 查询任务结果 API 来检索生成结果。

请求头

Content-Type
string
required
枚举值: application/json
Authorization
string
required
Bearer 身份验证格式: Bearer {{API 秘钥}}。

Request Body

model_name
string
required
Model name.Supported: hunyuan-video-fast.
width
integer
required
The width of the output video.Supported: 720, 1280.
height
integer
required
The height of the output video.Supported:
  • When width is 1280, height is 720
  • When width is 720, height is 1280
seed
integer
required
Random seed, used to generate noise and make the generated results reproducible. The same seed and parameters will produce the same content.Value range: -1 <= x <= 9999999999.
steps
integer
required
Number of denoising steps. More steps generally produce better results, but also take longer.Value range: 2 <= x <= 30.
prompt
string
required
The prompt used to guide generation.Value range: 1 <= x <= 2000.

Response Information

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.