Skip to content

Instantly share code, notes, and snippets.

@devniel
Created August 24, 2024 15:21
Show Gist options
  • Save devniel/898dfeca70e45c7fe54685a6dba81727 to your computer and use it in GitHub Desktop.
Save devniel/898dfeca70e45c7fe54685a6dba81727 to your computer and use it in GitHub Desktop.

Revisions

  1. devniel created this gist Aug 24, 2024.
    136 changes: 136 additions & 0 deletions image_to_video_svd_api_workflow.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,136 @@
    {
    "3": {
    "inputs": {
    "seed": 524650296754258,
    "steps": 20,
    "cfg": 2.5,
    "sampler_name": "euler",
    "scheduler": "karras",
    "denoise": 1,
    "model": [
    "14",
    0
    ],
    "positive": [
    "12",
    0
    ],
    "negative": [
    "12",
    1
    ],
    "latent_image": [
    "12",
    2
    ]
    },
    "class_type": "KSampler",
    "_meta": {
    "title": "KSampler"
    }
    },
    "8": {
    "inputs": {
    "samples": [
    "3",
    0
    ],
    "vae": [
    "15",
    2
    ]
    },
    "class_type": "VAEDecode",
    "_meta": {
    "title": "VAE Decode"
    }
    },
    "12": {
    "inputs": {
    "width": 1024,
    "height": 576,
    "video_frames": 14,
    "motion_bucket_id": 127,
    "fps": 6,
    "augmentation_level": 0,
    "clip_vision": [
    "15",
    1
    ],
    "init_image": [
    "24",
    0
    ],
    "vae": [
    "15",
    2
    ]
    },
    "class_type": "SVD_img2vid_Conditioning",
    "_meta": {
    "title": "SVD_img2vid_Conditioning"
    }
    },
    "14": {
    "inputs": {
    "min_cfg": 1,
    "model": [
    "15",
    0
    ]
    },
    "class_type": "VideoLinearCFGGuidance",
    "_meta": {
    "title": "VideoLinearCFGGuidance"
    }
    },
    "15": {
    "inputs": {
    "ckpt_name": "svd/svd.safetensors"
    },
    "class_type": "ImageOnlyCheckpointLoader",
    "_meta": {
    "title": "Image Only Checkpoint Loader (img2vid model)"
    }
    },
    "23": {
    "inputs": {
    "image": "download.jpeg",
    "upload": "image"
    },
    "class_type": "LoadImage",
    "_meta": {
    "title": "Load Image"
    }
    },
    "24": {
    "inputs": {
    "data": "@clapper/image"
    },
    "class_type": "LoadImageFromBase64",
    "_meta": {
    "title": "Load Image From Base64"
    }
    },
    "25": {
    "inputs": {
    "frame_rate": 8,
    "loop_count": 0,
    "filename_prefix": "AnimateDiff",
    "format": "video/h264-mp4",
    "pix_fmt": "yuv420p",
    "crf": 0,
    "save_metadata": false,
    "pingpong": false,
    "save_output": true,
    "images": [
    "8",
    0
    ]
    },
    "class_type": "VHS_VideoCombine",
    "_meta": {
    "title": "Video Combine 🎥🅥🅗🅢"
    }
    }
    }