zurk / hunyuanvideo
API for HunyuanVideo text to video generator
- Public
- 10 runs
- GitHub
Run zurk/hunyuanvideo with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
prompt |
string
|
A cat walks on the grass, realistic style.
|
Input prompt for video generation
|
negative_prompt |
string
|
Negative prompt
|
|
width |
integer
|
1280
Min: 1 |
Video width
|
height |
integer
|
720
Min: 1 |
Video height
|
video_length |
integer
|
129
Min: 1 Max: 129 |
Number of frames
|
seed |
integer
|
Random seed
|
|
guidance_scale |
number
|
6
Min: 1 Max: 6 |
Classifier-free guidance scale
|
embedded_guidance_scale |
number
|
6
Min: 1 Max: 6 |
Embedded guidance scale
|
num_inference_steps |
integer
|
50
Min: 1 |
Number of inference steps
|
flow_shift |
number
|
7
|
Flow shift parameter
|
flow_reverse |
boolean
|
True
|
Whether to reverse flow
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 5,
"description": "Random seed"
},
"width": {
"type": "integer",
"title": "Width",
"default": 1280,
"minimum": 1,
"x-order": 2,
"description": "Video width"
},
"height": {
"type": "integer",
"title": "Height",
"default": 720,
"minimum": 1,
"x-order": 3,
"description": "Video height"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "A cat walks on the grass, realistic style.",
"x-order": 0,
"description": "Input prompt for video generation"
},
"flow_shift": {
"type": "number",
"title": "Flow Shift",
"default": 7,
"x-order": 9,
"description": "Flow shift parameter"
},
"flow_reverse": {
"type": "boolean",
"title": "Flow Reverse",
"default": true,
"x-order": 10,
"description": "Whether to reverse flow"
},
"video_length": {
"type": "integer",
"title": "Video Length",
"default": 129,
"maximum": 129,
"minimum": 1,
"x-order": 4,
"description": "Number of frames"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 6,
"maximum": 6,
"minimum": 1,
"x-order": 6,
"description": "Classifier-free guidance scale"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"x-order": 1,
"description": "Negative prompt"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 50,
"minimum": 1,
"x-order": 8,
"description": "Number of inference steps"
},
"embedded_guidance_scale": {
"type": "number",
"title": "Embedded Guidance Scale",
"default": 6,
"maximum": 6,
"minimum": 1,
"x-order": 7,
"description": "Embedded guidance scale"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}