| { |
| "last_node_id": 45, |
| "last_link_id": 67, |
| "nodes": [ |
| { |
| "id": 1, |
| "type": "LoadImage", |
| "pos": [50, 150], |
| "size": [320, 310], |
| "flags": {}, |
| "order": 0, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [ |
| {"name": "IMAGE", "type": "IMAGE", "links": [1]}, |
| {"name": "MASK", "type": "MASK", "links": []} |
| ], |
| "properties": {}, |
| "widgets_values": ["face_reference.png"], |
| "color": "#7B8C4B", |
| "bgcolor": "#3A3E2C" |
| }, |
| { |
| "id": 2, |
| "type": "VHS_LoadVideo", |
| "pos": [50, 550], |
| "size": [320, 310], |
| "flags": {}, |
| "order": 1, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [ |
| {"name": "VIDEO", "type": "VIDEO", "links": [2]}, |
| {"name": "FRAME_COUNT", "type": "INT", "links": []} |
| ], |
| "properties": {}, |
| "widgets_values": ["target_video.mp4", "30", "512", "512", "1", "0", "0"], |
| "color": "#4C7C8C", |
| "bgcolor": "#23353A" |
| }, |
| { |
| "id": 3, |
| "type": "ReActorFaceSwap", |
| "pos": [450, 200], |
| "size": [380, 380], |
| "flags": {}, |
| "order": 2, |
| "mode": 0, |
| "inputs": [ |
| {"name": "source_image", "type": "IMAGE", "link": 1}, |
| {"name": "target_video", "type": "VIDEO", "link": 2}, |
| {"name": "face_mask", "type": "MASK", "link": null} |
| ], |
| "outputs": [ |
| {"name": "swapped_video", "type": "VIDEO", "links": [3]}, |
| {"name": "face_data", "type": "REACTOR_FACE", "links": []} |
| ], |
| "properties": {}, |
| "widgets_values": [ |
| "insightface", |
| "buffalo_l", |
| 0, |
| 0, |
| 1.0, |
| 0.65, |
| true, |
| true, |
| false, |
| false, |
| 512, |
| 0.5, |
| "bidirectional", |
| 0.8, |
| 1, |
| false, |
| "original" |
| ], |
| "color": "#8B6C5C", |
| "bgcolor": "#3E3028" |
| }, |
| { |
| "id": 4, |
| "type": "FaceRestoreCFWithModel", |
| "pos": [900, 200], |
| "size": [320, 150], |
| "flags": {}, |
| "order": 3, |
| "mode": 0, |
| "inputs": [ |
| {"name": "video", "type": "VIDEO", "link": 3} |
| ], |
| "outputs": [ |
| {"name": "restored_video", "type": "VIDEO", "links": [4]} |
| ], |
| "properties": {}, |
| "widgets_values": ["GFPGANv1.4.pth", 0.5, true], |
| "color": "#6C7B4C", |
| "bgcolor": "#2E3520" |
| }, |
| { |
| "id": 5, |
| "type": "VHS_LoadAudio", |
| "pos": [900, 450], |
| "size": [320, 120], |
| "flags": {}, |
| "order": 4, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [ |
| {"name": "AUDIO", "type": "AUDIO", "links": [5]} |
| ], |
| "properties": {}, |
| "widgets_values": ["audio_track.mp3", "44100"], |
| "color": "#5C4C8C", |
| "bgcolor": "#281E3E" |
| }, |
| { |
| "id": 6, |
| "type": "DeepFuze_LipSync", |
| "pos": [1300, 250], |
| "size": [420, 280], |
| "flags": {}, |
| "order": 5, |
| "mode": 0, |
| "inputs": [ |
| {"name": "video", "type": "VIDEO", "link": 4}, |
| {"name": "audio", "type": "AUDIO", "link": 5} |
| ], |
| "outputs": [ |
| {"name": "lip_sync_video", "type": "VIDEO", "links": [6]} |
| ], |
| "properties": {}, |
| "widgets_values": [ |
| "wav2lip", |
| 720, |
| true, |
| true, |
| 0.6, |
| true, |
| 0.4, |
| true |
| ], |
| "color": "#8B6C5C", |
| "bgcolor": "#3E3028" |
| }, |
| { |
| "id": 7, |
| "type": "VHS_VideoCombine", |
| "pos": [1800, 250], |
| "size": [320, 200], |
| "flags": {}, |
| "order": 6, |
| "mode": 0, |
| "inputs": [ |
| {"name": "video", "type": "VIDEO", "link": 6}, |
| {"name": "audio", "type": "AUDIO", "link": null} |
| ], |
| "outputs": [ |
| {"name": "output_video", "type": "VIDEO", "links": [7]} |
| ], |
| "properties": {}, |
| "widgets_values": [ |
| "mp4", |
| "h264", |
| "yuv420p", |
| 24, |
| 0, |
| "crf=17|preset=slow|pix_fmt=yuv420p", |
| "output_final.mp4", |
| false |
| ], |
| "color": "#4C7C8C", |
| "bgcolor": "#23353A" |
| }, |
| { |
| "id": 8, |
| "type": "PreviewVideo", |
| "pos": [2200, 250], |
| "size": [400, 300], |
| "flags": {}, |
| "order": 7, |
| "mode": 0, |
| "inputs": [ |
| {"name": "video", "type": "VIDEO", "link": 7} |
| ], |
| "outputs": [], |
| "properties": {}, |
| "widgets_values": [], |
| "color": "#5C6C4C", |
| "bgcolor": "#283020" |
| }, |
| { |
| "id": 9, |
| "type": "Note", |
| "pos": [50, 50], |
| "size": [800, 80], |
| "flags": {}, |
| "order": 0, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [], |
| "properties": {}, |
| "widgets_values": ["π ULTRA-REALISTIC FACE SWAP WORKFLOW\nπΈ Load reference face photo β π¬ Load target video β π Face Swap β β¨ Face Restore β ποΈ Lip Sync β πΎ Export"], |
| "color": "#333333", |
| "bgcolor": "#1A1A1A" |
| }, |
| { |
| "id": 10, |
| "type": "Note", |
| "pos": [450, 50], |
| "size": [380, 80], |
| "flags": {}, |
| "order": 0, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [], |
| "properties": {}, |
| "widgets_values": ["βοΈ REACTOR SETTINGS:\nModel: buffalo_l | Detection: bidirectional\nStrength: 1.0 | Face restore: enabled\n512px face crop | 0.8 confidence threshold"], |
| "color": "#4A3E30", |
| "bgcolor": "#2A2018" |
| }, |
| { |
| "id": 11, |
| "type": "Note", |
| "pos": [1300, 50], |
| "size": [420, 80], |
| "flags": {}, |
| "order": 0, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [], |
| "properties": {}, |
| "widgets_values": ["ποΈ LIP SYNC (DEEPFUZE):\nEngine: wav2lip | Resolution: 720p\nBatch mode: ON | Face enhancer: ON\nMouth mask: 0.6 | Audio smoothing: ON"], |
| "color": "#4A3028", |
| "bgcolor": "#2A1810" |
| }, |
| { |
| "id": 12, |
| "type": "Note", |
| "pos": [1800, 50], |
| "size": [320, 80], |
| "flags": {}, |
| "order": 0, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [], |
| "properties": {}, |
| "widgets_values": ["πΎ EXPORT SETTINGS:\nFormat: MP4 (H.264)\nCRF: 17 (high quality)\nPreset: slow (best compression)\nPix fmt: yuv420p (compatibility)"], |
| "color": "#2A3A4A", |
| "bgcolor": "#182028" |
| }, |
| { |
| "id": 13, |
| "type": "Note", |
| "pos": [2200, 50], |
| "size": [400, 80], |
| "flags": {}, |
| "order": 0, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [], |
| "properties": {}, |
| "widgets_values": ["π― PREVIEW & RESULT\nDrag this workflow into ComfyUI\nAll nodes auto-install via ComfyUI-Manager\nFor NSFW: use uncensored source videos/models"], |
| "color": "#3A2A4A", |
| "bgcolor": "#1A1028" |
| } |
| ], |
| "links": [ |
| [1, 1, 0, 3, 0, "IMAGE"], |
| [2, 2, 0, 3, 1, "VIDEO"], |
| [3, 3, 0, 4, 0, "VIDEO"], |
| [4, 4, 0, 6, 0, "VIDEO"], |
| [5, 5, 0, 6, 1, "AUDIO"], |
| [6, 6, 0, 7, 0, "VIDEO"], |
| [7, 7, 0, 8, 0, "VIDEO"] |
| ], |
| "groups": [ |
| { |
| "title": "π ULTRA REALISTIC FACE SWAP PIPELINE", |
| "bounding": [30, 30, 2600, 600], |
| "color": "#3F7891", |
| "font_size": 24 |
| } |
| ], |
| "version": 0.4, |
| "extra": { |
| "ds": { |
| "scale": 0.8, |
| "offset": [0, 0] |
| } |
| } |
| } |
|
|