HunyuanVideo Encode Keyframes To Cond
KJNodes/videomodels
HunyuanVideoEncodeKeyframesToCondExample
JSON Example
{
"class_type": "HunyuanVideoEncodeKeyframesToCond",
"inputs": {
"model": [
"node_id",
0
],
"positive": [
"node_id",
0
],
"vae": [
"node_id",
0
],
"start_frame": [
"node_id",
0
],
"end_frame": [
"node_id",
0
],
"num_frames": 33,
"tile_size": 512,
"overlap": 64,
"temporal_size": 64,
"temporal_overlap": 8
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
model | MODEL | required | - | - |
positive | CONDITIONING | required | - | - |
vae | VAE | required | - | - |
start_frame | IMAGE | required | - | - |
end_frame | IMAGE | required | - | - |
num_frames | INT | required | min: 2, max: 4096, step: 1 | 33 |
tile_size | INT | required | min: 64, max: 4096, step: 64 | 512 |
overlap | INT | required | min: 0, max: 4096, step: 32 | 64 |
temporal_size? | INT | required | min: 8, max: 4096, step: 4 | 64 |
temporal_overlap? | INT | required | min: 4, max: 4096, step: 4 | 8 |
negative | CONDITIONING | optional | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | model | MODEL | No | ["{node_id}", 0] |
1 | positive | CONDITIONING | No | ["{node_id}", 1] |
2 | negative | CONDITIONING | No | ["{node_id}", 2] |
3 | latent | LATENT | No | ["{node_id}", 3] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this HunyuanVideoEncodeKeyframesToCond node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
model (MODEL):["5", 0]positive (CONDITIONING):["5", 1]negative (CONDITIONING):["5", 2]
Was this page helpful?