
patternbreakai/hunyuancustom
Run patternbreakai/hunyuancustom 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 |
---|---|---|---|
input_image |
string
|
Input image to use as a reference for video generation
|
|
positive_prompt |
string
|
Realistic, High-quality. A woman in a garden.
|
Positive text prompt to guide video generation
|
negative_prompt |
string
|
Aerial view, overexposed, low quality, deformation, a poor composition, bad hands, bad teeth, bad eyes, bad limbs, distortion, blurring, text, subtitles, static, picture, black border.
|
Negative text prompt to avoid in video generation
|
video_width |
integer
|
896
Min: 256 Max: 1280 |
Width of the output video. Recommended to keep width >= height * 1.7
|
video_height |
integer
|
512
Min: 256 Max: 720 |
Height of the output video
|
num_frames |
integer
|
129
Min: 16 Max: 256 |
Number of frames to generate
|
inference_steps |
integer
|
30
Min: 10 Max: 50 |
Number of denoising steps
|
seed |
integer
|
-1
Min: -1 |
Random seed for generation. Set to -1 for random seed.
|
flow_shift |
number
|
13
Max: 20 |
Flow shift parameter for video generation
|
use_fp8 |
boolean
|
True
|
Whether to use FP8 precision for inference. Helps with low VRAM.
|
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"minimum": -1,
"x-order": 7,
"description": "Random seed for generation. Set to -1 for random seed."
},
"use_fp8": {
"type": "boolean",
"title": "Use Fp8",
"default": true,
"x-order": 9,
"description": "Whether to use FP8 precision for inference. Helps with low VRAM."
},
"flow_shift": {
"type": "number",
"title": "Flow Shift",
"default": 13,
"maximum": 20,
"minimum": 0,
"x-order": 8,
"description": "Flow shift parameter for video generation"
},
"num_frames": {
"type": "integer",
"title": "Num Frames",
"default": 129,
"maximum": 256,
"minimum": 16,
"x-order": 5,
"description": "Number of frames to generate"
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 0,
"description": "Input image to use as a reference for video generation"
},
"video_width": {
"type": "integer",
"title": "Video Width",
"default": 896,
"maximum": 1280,
"minimum": 256,
"x-order": 3,
"description": "Width of the output video. Recommended to keep width >= height * 1.7"
},
"video_height": {
"type": "integer",
"title": "Video Height",
"default": 512,
"maximum": 720,
"minimum": 256,
"x-order": 4,
"description": "Height of the output video"
},
"inference_steps": {
"type": "integer",
"title": "Inference Steps",
"default": 30,
"maximum": 50,
"minimum": 10,
"x-order": 6,
"description": "Number of denoising steps"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "Aerial view, overexposed, low quality, deformation, a poor composition, bad hands, bad teeth, bad eyes, bad limbs, distortion, blurring, text, subtitles, static, picture, black border.",
"x-order": 2,
"description": "Negative text prompt to avoid in video generation"
},
"positive_prompt": {
"type": "string",
"title": "Positive Prompt",
"default": "Realistic, High-quality. A woman in a garden.",
"x-order": 1,
"description": "Positive text prompt to guide video generation"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}