50 lines
955 B
JSON
50 lines
955 B
JSON
{
|
|
"1": {
|
|
"class_type": "LoadImage",
|
|
"inputs": {
|
|
"image": "swiftvr_input.png"
|
|
}
|
|
},
|
|
"2": {
|
|
"class_type": "LightX2VSwiftVRLoader",
|
|
"inputs": {
|
|
"model_name": "SwiftVR_lightx2v",
|
|
"attention_backend": "flash_attn3",
|
|
"rope_type": "flashinfer_rope",
|
|
"clip_length": 24,
|
|
"dit_overlap": 0,
|
|
"reae_frame_batch_size": 0,
|
|
"use_compile": false
|
|
}
|
|
},
|
|
"3": {
|
|
"class_type": "LightX2VSwiftVRSampler",
|
|
"inputs": {
|
|
"model": [
|
|
"2",
|
|
0
|
|
],
|
|
"images": [
|
|
"1",
|
|
0
|
|
],
|
|
"target_short_edge": 720,
|
|
"source_fps": 16.0,
|
|
"save_to_output_file": true,
|
|
"filename_prefix": "lightx2v_swiftvr_api/SwiftVRImage",
|
|
"video_codec": "libx265",
|
|
"quality": 60,
|
|
"ffmpeg_preset": "ultrafast"
|
|
}
|
|
},
|
|
"4": {
|
|
"class_type": "PreviewImage",
|
|
"inputs": {
|
|
"images": [
|
|
"3",
|
|
0
|
|
]
|
|
}
|
|
}
|
|
}
|