58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"1": {
|
|
"class_type": "VHS_LoadVideoPath",
|
|
"inputs": {
|
|
"video": "/mnt/aigc/users/gaopeng1/lightx2v_run_scripts/swiftvr_test/inputs/swiftvr_24f_360x640.mp4",
|
|
"force_rate": 0,
|
|
"custom_width": 0,
|
|
"custom_height": 0,
|
|
"frame_load_cap": 24,
|
|
"skip_first_frames": 0,
|
|
"select_every_nth": 1
|
|
}
|
|
},
|
|
"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/SwiftVR",
|
|
"video_codec": "libx265",
|
|
"quality": 60,
|
|
"ffmpeg_preset": "ultrafast"
|
|
}
|
|
},
|
|
"4": {
|
|
"class_type": "LightX2VOutputVideoPreview",
|
|
"inputs": {
|
|
"filename": [
|
|
"3",
|
|
1
|
|
],
|
|
"validate_exists": true,
|
|
"mux_audio": false
|
|
}
|
|
}
|
|
}
|