diff --git a/example_workflows/test_seedvr.json b/example_workflows/lightx2v_seedvr.json similarity index 100% rename from example_workflows/test_seedvr.json rename to example_workflows/lightx2v_seedvr.json diff --git a/example_workflows/seko-talk-2.7-20260225.json b/example_workflows/lightx2v_seko_talk.json similarity index 100% rename from example_workflows/seko-talk-2.7-20260225.json rename to example_workflows/lightx2v_seko_talk.json diff --git a/example_workflows/seko_talk_multi_talk_h.json b/example_workflows/lightx2v_seko_talk_multi_talk.json similarity index 100% rename from example_workflows/seko_talk_multi_talk_h.json rename to example_workflows/lightx2v_seko_talk_multi_talk.json diff --git a/example_workflows/lightx2v_swiftvr_image.json b/example_workflows/lightx2v_swiftvr_image.json new file mode 100644 index 0000000..b627b4d --- /dev/null +++ b/example_workflows/lightx2v_swiftvr_image.json @@ -0,0 +1,205 @@ +{ + "id": "9c99a548-579c-497a-82d0-ded65496927b", + "revision": 0, + "last_node_id": 4, + "last_link_id": 6, + "nodes": [ + { + "id": 1, + "type": "LoadImage", + "pos": [ + -168.5590531329889, + -43.34150113146973 + ], + "size": [ + 282.796875, + 364 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "sign_name.jpg", + "image" + ] + }, + { + "id": 2, + "type": "LightX2VSwiftVRLoader", + "pos": [ + -185.95492085854562, + 362 + ], + "size": [ + 560.40625, + 308.234375 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "SWIFTVR_MODEL", + "links": [ + 4 + ] + } + ], + "properties": { + "Node name for S&R": "LightX2VSwiftVRLoader" + }, + "widgets_values": [ + "SwiftVR_lightx2v", + "flash_attn3", + "flashinfer_rope", + 24, + 0, + 0, + false + ] + }, + { + "id": 3, + "type": "LightX2VSwiftVRSampler", + "pos": [ + 428.4034139883438, + 68.58151792839192 + ], + "size": [ + 399.609375, + 473.265625 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "SWIFTVR_MODEL", + "link": 4 + }, + { + "name": "images", + "type": "IMAGE", + "link": 5 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 6 + ] + }, + { + "name": "filename", + "type": "STRING", + "links": null + } + ], + "properties": { + "Node name for S&R": "LightX2VSwiftVRSampler" + }, + "widgets_values": [ + 1080, + 16, + true, + "lightx2v_swiftvr_api/SwiftVRImage", + "libx264", + 90, + "ultrafast" + ] + }, + { + "id": 4, + "type": "PreviewImage", + "pos": [ + 895.4953696545064, + 76.70654845736883 + ], + "size": [ + 354.15625, + 375.734375 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 6 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + } + ], + "links": [ + [ + 4, + 2, + 0, + 3, + 0, + "SWIFTVR_MODEL" + ], + [ + 5, + 1, + 0, + 3, + 1, + "IMAGE" + ], + [ + 6, + 3, + 0, + 4, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9307738921015128, + "offset": [ + 645.6355492983848, + 379.57724180337755 + ] + }, + "frontendVersion": "1.45.15", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/example_workflows/lightx2v_swiftvr_video.json b/example_workflows/lightx2v_swiftvr_video.json new file mode 100644 index 0000000..73ae992 --- /dev/null +++ b/example_workflows/lightx2v_swiftvr_video.json @@ -0,0 +1,380 @@ +{ + "id": "2ac26f51-8427-4fd5-a63b-8c0c35716909", + "revision": 0, + "last_node_id": 6, + "last_link_id": 10, + "nodes": [ + { + "id": 2, + "type": "LightX2VSwiftVRLoader", + "pos": [ + 57.786008992636425, + 120.61016525792084 + ], + "size": [ + 293.84375, + 292 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "SWIFTVR_MODEL", + "links": [ + 4 + ] + } + ], + "properties": { + "Node name for S&R": "LightX2VSwiftVRLoader" + }, + "widgets_values": [ + "SwiftVR_lightx2v", + "flash_attn3", + "flashinfer_rope", + 24, + 0, + 0, + false + ] + }, + { + "id": 3, + "type": "LightX2VSwiftVRSampler", + "pos": [ + 410.84880341840596, + 119.34257282956952 + ], + "size": [ + 337.3125, + 320 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "SWIFTVR_MODEL", + "link": 4 + }, + { + "name": "images", + "type": "IMAGE", + "link": 7 + }, + { + "name": "source_fps", + "type": "FLOAT", + "widget": { + "name": "source_fps" + }, + "link": 9 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": null + }, + { + "name": "filename", + "type": "STRING", + "links": [ + 6 + ] + } + ], + "properties": { + "Node name for S&R": "LightX2VSwiftVRSampler" + }, + "widgets_values": [ + 1080, + 16, + true, + "lightx2v_swiftvr_api/SwiftVR", + "libx265", + 60, + "ultrafast" + ] + }, + { + "id": 4, + "type": "LightX2VOutputVideoPreview", + "pos": [ + 803.9540069651823, + 143.39082786445536 + ], + "size": [ + 307.875, + 703.328125 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "filename", + "type": "STRING", + "link": 6 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": 10 + } + ], + "outputs": [ + { + "name": "filename", + "type": "STRING", + "links": null + } + ], + "properties": { + "Node name for S&R": "LightX2VOutputVideoPreview" + }, + "widgets_values": [ + true, + true + ] + }, + { + "id": 5, + "type": "VHS_LoadVideo", + "pos": [ + -554.2465629475984, + 172.59098534531842 + ], + "size": [ + 260.421875, + 761.6875 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 7 + ] + }, + { + "name": "frame_count", + "type": "INT", + "links": null + }, + { + "name": "audio", + "type": "AUDIO", + "links": [ + 10 + ] + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": [ + 8 + ] + } + ], + "properties": { + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "飞书20260721-124954.mp4", + "force_rate": 0, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "format": "AnimateDiff", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "飞书20260721-124954.mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 0, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + } + }, + { + "id": 6, + "type": "VHS_VideoInfo", + "pos": [ + -245.90446161258, + 309.43756146966683 + ], + "size": [ + 233.453125, + 288 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "link": 8 + } + ], + "outputs": [ + { + "name": "source_fps🟨", + "type": "FLOAT", + "links": [ + 9 + ] + }, + { + "name": "source_frame_count🟨", + "type": "INT", + "links": null + }, + { + "name": "source_duration🟨", + "type": "FLOAT", + "links": null + }, + { + "name": "source_width🟨", + "type": "INT", + "links": null + }, + { + "name": "source_height🟨", + "type": "INT", + "links": null + }, + { + "name": "loaded_fps🟦", + "type": "FLOAT", + "links": null + }, + { + "name": "loaded_frame_count🟦", + "type": "INT", + "links": null + }, + { + "name": "loaded_duration🟦", + "type": "FLOAT", + "links": null + }, + { + "name": "loaded_width🟦", + "type": "INT", + "links": null + }, + { + "name": "loaded_height🟦", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "VHS_VideoInfo" + }, + "widgets_values": {} + } + ], + "links": [ + [ + 4, + 2, + 0, + 3, + 0, + "SWIFTVR_MODEL" + ], + [ + 6, + 3, + 1, + 4, + 0, + "STRING" + ], + [ + 7, + 5, + 0, + 3, + 1, + "IMAGE" + ], + [ + 8, + 5, + 3, + 6, + 0, + "VHS_VIDEOINFO" + ], + [ + 9, + 6, + 0, + 3, + 2, + "FLOAT" + ], + [ + 10, + 5, + 2, + 4, + 1, + "AUDIO" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.8400831511043174, + "offset": [ + 766.3547310556437, + 389.36680475087843 + ] + }, + "frontendVersion": "1.45.15", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/example_workflows/wan2.2_lightx2v_h.json b/example_workflows/lighx2v_wan2.2.json similarity index 100% rename from example_workflows/wan2.2_lightx2v_h.json rename to example_workflows/lighx2v_wan2.2.json diff --git a/examples/swiftvr_api.json b/examples/swiftvr_api.json deleted file mode 100644 index 63ad6ff..0000000 --- a/examples/swiftvr_api.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "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 - } - } -} diff --git a/examples/swiftvr_image_api.json b/examples/swiftvr_image_api.json deleted file mode 100644 index 10d97c7..0000000 --- a/examples/swiftvr_image_api.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "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 - ] - } - } -}