Hunyuan Video Fast
Accelerated inference for HunyuanVideo with high resolution, a state-of-the-art text-to-video generation model capable of creating high-quality videos with realistic motion from text descriptions.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.
Request Headers
Supports: application/json
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
Name of the model checkpoint.
Supports: hunyuan-video-fast
.
Width of the output video.
Supports: 480
, 640
, 720
, 864
, 1280
.
Height of the output video.
Supports:
480
forwidth
of640
640
forwidth
of480
864
forwidth
of480
480
forwidth
of864
720
forwidth
of1280
1280
forwidth
of720
A seed is a number generates noise, which, makes generation deterministic. Using the same seed and set of parameters will produce identical content each time.
Range: -1 <= x <= 9999999999
.
The number of denoising steps. More steps usually produce higher quality content but take more time to generate.
Range: 2 <= x <= 30
.
Prompt text required to guide the generation.
Range: 1 <= x <= 2000
.
The number of frames in the output video.
Range: 85 <= x <= 129
.
Response
Use the task_id to request the Task Result API to retrieve the generated outputs.
Example
Here is an example of how to use the Hunyuan Video Fast API.
- Generate a task_id by sending a POST request to the Hunyuan Video Fast API.
Request:
Response:
- Use
task_id
to get output videos.
HTTP status codes in the 2xx range indicate that the request has been successfully accepted, while status codes in the 5xx range indicate internal server errors.
You can get videos url in videos
of response.
Request:
Response:
Video files:
Was this page helpful?