Skip to content

Shenrui-Ma/video-regen-recipes / templates/character-short/bit-by-bit-heartache

bit-by-bit-heartache

Verified

用角色参考图在本机制作 Heartache 连续动作配乐短片.

FileKindSize
.gitignoreother430 B
LICENSEother1.1 KB
LICENSES.mdmarkdown1.4 KB
README.mdmarkdown9.3 KB
SKILL.mdskill md7.3 KB
assets/README.mdmarkdown4.9 KB
assets/default/manifest.jsonconfig3.8 KB
assets/runtime-assets.jsonconfig5.5 KB
profile.jsonconfig3.8 KB
prompts/ref2va.template.txtmarkdown1.6 KB
prompts/yaoguang.historical.txtmarkdown5.0 KB
references/background-removal.mdmarkdown5.5 KB
references/changelog.mdmarkdown916 B
references/character-input.mdmarkdown4.7 KB
references/deployment.mdmarkdown4.9 KB
references/editing.mdmarkdown3.7 KB
references/environment.lock.jsonconfig1.5 KB
references/first-segment-validation.jsonconfig1.8 KB
references/generation.mdmarkdown3.8 KB
references/media-preflight.mdmarkdown4.2 KB
references/native-continuation.mdmarkdown17.8 KB
references/node-sources.jsonconfig6.7 KB
references/node-sources.mdmarkdown3.8 KB
references/package-verification.jsonconfig1.7 KB
references/reference-check.jsonconfig968 B
references/reproduction.mdmarkdown10.1 KB
references/validation.mdmarkdown2.6 KB
references/workflow-recovery.mdmarkdown2.2 KB
references/workflow.lock.jsonconfig1.2 KB
references/yaoguang-run.jsonconfig7.4 KB
scripts/character/prepare_character.pyscript6.5 KB
scripts/distribution/fetch_assets.pyscript5.8 KB
scripts/distribution/package_skill.pyscript5.6 KB
scripts/plan_segments.pyscript3.4 KB
scripts/prepare_driver.pyscript5.2 KB
scripts/render_default.pyscript5.5 KB
scripts/runtime/graphs.pyscript11.3 KB
scripts/runtime/heartache.pyscript14.6 KB
scripts/runtime/local_io.pyscript3.3 KB
scripts/runtime/media.pyscript13.2 KB
scripts/runtime/run_segment.pyscript13.3 KB
sources.mdmarkdown2.4 KB
tests/test_background_removal.pyscript2.6 KB
tests/test_character_input.pyscript12.2 KB
tests/test_default.pyscript879 B
tests/test_distribution.pyscript12.3 KB
tests/test_media_preflight.pyscript2.1 KB
tests/test_prepare_driver.pyscript1.9 KB
tests/test_release_review.pyscript1.7 KB
tests/test_reproduction.pyscript1.9 KB
tests/test_runtime_cli.pyscript11.3 KB
tests/test_runtime_graph.pyscript4.8 KB
tests/test_runtime_io.pyscript2.1 KB
tests/test_runtime_media.pyscript10.2 KB
tests/test_runtime_runner.pyscript1.6 KB
tests/test_segment_plan.pyscript3.4 KB
tests/test_skill_contract.pyscript1.6 KB
workflows/continue.editor.jsonconfig23.8 KB
workflows/first.editor.jsonconfig19.8 KB
workflows/node-schema.jsonconfig22.2 KB
workflows/provenance.jsonconfig911 B

workflows/first.editor.json

View on GitHub
{
  "last_node_id": 63,
  "last_link_id": 24,
  "nodes": [
    {
      "id": 1,
      "type": "UNETLoader",
      "pos": [
        0,
        0
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            6,
            8
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "runtime_widget_names": [
          "unet_name",
          "weight_dtype"
        ]
      },
      "widgets_values": [
        "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "default"
      ]
    },
    {
      "id": 2,
      "type": "CLIPLoader",
      "pos": [
        370,
        0
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            1
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "runtime_widget_names": [
          "clip_name",
          "type",
          "device"
        ]
      },
      "widgets_values": [
        "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "minimax",
        "default"
      ]
    },
    {
      "id": 3,
      "type": "VAELoader",
      "pos": [
        740,
        0
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            2,
            15
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "runtime_widget_names": [
          "vae_name"
        ]
      },
      "widgets_values": [
        "minimax_h3_video_vae_fp16.safetensors"
      ]
    },
    {
      "id": 4,
      "type": "VAELoader",
      "pos": [
        1110,
        0
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            3
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "runtime_widget_names": [
          "vae_name"
        ]
      },
      "widgets_values": [
        "minimax_h3_audio_vae_fp32.safetensors"
      ]
    },
    {
      "id": 5,
      "type": "MiniMaxH3ReferenceToVideo",
      "pos": [
        1480,
        0
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 1
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 2
        },
        {
          "name": "audio_vae",
          "type": "VAE",
          "link": 3
        },
        {
          "name": "ref_images.ref_image_0",
          "type": "IMAGE",
          "link": 4
        },
        {
          "name": "ref_videos.ref_video_0",
          "type": "IMAGE",
          "link": 5
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            7
          ],
          "slot_index": 0
        },
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            13
          ],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3ReferenceToVideo",
        "runtime_widget_names": [
          "prompt",
          "width",
          "height",
          "length",
          "ref_image_size"
        ]
      },
      "widgets_values": [
        "subject_definitions:\n<Subject 1> is the character in the supplied identity image. the person shown in the supplied character reference image. Keep the referenced outfit and accessories consistent throughout this clip.\n<Video 1> provides the current segment's motion, framing, background layout and cut timing. Replace its main performer with <Subject 1>.\n\nsummary:\n[reference generation + video editing] Generate the current character-replacement segment with 107 published frames at 24 fps. The supplied video guides the action and setting; continuation context is connected separately by the workflow when this is not the first segment.\n\nretention_analysis:\n<Subject 1>: fully_preserved - retain the referenced face, hair, outfit and accessories while adapting pose and expression.\n<Video 1>: partially_preserved - replace the performer while following the motion and scene timing. Preserve background anchors: the reference background structures, floor, lighting and stationary objects.\n\ndetailed_description:\nThe target is a coherent anime character performance in the reference setting. [Shot 1] Follow the supplied current reference clip in chronological order, replacing only the main performer. Use <Subject 1> as the single main performer. Keep her identity and costume stable through the referenced movement. Maintain the reference's camera orientation, lighting, background geometry and existing cuts. Keep hands and body proportions coherent, avoid duplicate performers, and carry the action naturally into the end of this segment. The desired published duration excludes the workflow's protected context frames.\n\noverall_soundscape:\nNo new dialogue or singing is requested. The final soundtrack is supplied during editing; no reference audio is connected in this baseline.\n\nnon_diegetic_music:\nN/A\n",
        1344,
        768,
        107,
        "match"
      ]
    },
    {
      "id": 6,
      "type": "RandomNoise",
      "pos": [
        0,
        370
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            9
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "RandomNoise",
        "runtime_widget_names": [
          "noise_seed",
          null
        ]
      },
      "widgets_values": [
        42,
        "fixed"
      ]
    },
    {
      "id": 7,
      "type": "BasicGuider",
      "pos": [
        370,
        370
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 6
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 7
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            10
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "BasicGuider",
        "runtime_widget_names": []
      },
      "widgets_values": []
    },
    {
      "id": 8,
      "type": "KSamplerSelect",
      "pos": [
        740,
        370
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            11
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSamplerSelect",
        "runtime_widget_names": [
          "sampler_name"
        ]
      },
      "widgets_values": [
        "res_multistep"
      ]
    },
    {
      "id": 9,
      "type": "BasicScheduler",
      "pos": [
        1110,
        370
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            12
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "BasicScheduler",
        "runtime_widget_names": [
          "scheduler",
          "steps",
          "denoise"
        ]
      },
      "widgets_values": [
        "simple",
        20,
        1.0
      ]
    },
    {
      "id": 10,
      "type": "SamplerCustomAdvanced",
      "pos": [
        1480,
        370
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 9
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 10
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 11
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 12
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 13
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            20
          ],
          "slot_index": 0
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": [],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "SamplerCustomAdvanced",
        "runtime_widget_names": []
      },
      "widgets_values": []
    },
    {
      "id": 11,
      "type": "VAEDecode",
      "pos": [
        0,
        740
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 14
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 15
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            19
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "runtime_widget_names": []
      },
      "widgets_values": []
    },
    {
      "id": 13,
      "type": "CreateVideo",
      "pos": [
        370,
        740
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 16
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            17
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CreateVideo",
        "runtime_widget_names": [
          "fps",
          "bit_depth"
        ]
      },
      "widgets_values": [
        24.0,
        8
      ]
    },
    {
      "id": 14,
      "type": "SaveVideo",
      "pos": [
        740,
        740
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 17
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": [],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "runtime_widget_names": [
          "filename_prefix",
          "format",
          "codec"
        ]
      },
      "widgets_values": [
        "heartache/seg01-silent",
        "mp4",
        "h264"
      ]
    },
    {
      "id": 21,
      "type": "LoadImage",
      "pos": [
        1110,
        740
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            4
          ],
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "runtime_widget_names": [
          "image"
        ]
      },
      "widgets_values": [
        "character.png"
      ]
    },
    {
      "id": 22,
      "type": "LoadVideo",
      "pos": [
        1480,
        740
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            18
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "LoadVideo",
        "runtime_widget_names": [
          "file"
        ]
      },
      "widgets_values": [
        "heartache/reference/seg01.mp4"
      ]
    },
    {
      "id": 23,
      "type": "GetVideoComponents",
      "pos": [
        0,
        1110
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 18
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            5
          ],
          "slot_index": 0
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": [],
          "slot_index": 1
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "links": [],
          "slot_index": 2
        },
        {
          "name": "bit_depth",
          "type": "INT",
          "links": [],
          "slot_index": 3
        }
      ],
      "properties": {
        "Node name for S&R": "GetVideoComponents",
        "runtime_widget_names": []
      },
      "widgets_values": []
    },
    {
      "id": 54,
      "type": "ImageFromBatch",
      "pos": [
        370,
        1110
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 19
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            16
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageFromBatch",
        "runtime_widget_names": [
          "batch_index",
          "length"
        ]
      },
      "widgets_values": [
        0,
        107
      ]
    },
    {
      "id": 60,
      "type": "LTXVSeparateAVLatent",
      "pos": [
        740,
        1110
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "av_latent",
          "type": "LATENT",
          "link": 20
        }
      ],
      "outputs": [
        {
          "name": "video_latent",
          "type": "LATENT",
          "links": [
            21
          ],
          "slot_index": 0
        },
        {
          "name": "audio_latent",
          "type": "LATENT",
          "links": [
            22
          ],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LTXVSeparateAVLatent",
        "runtime_widget_names": []
      },
      "widgets_values": []
    },
    {
      "id": 61,
      "type": "SaveLatent",
      "pos": [
        1110,
        1110
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 21
        }
      ],
      "outputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "links": [
            23
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaveLatent",
        "runtime_widget_names": [
          "filename_prefix"
        ]
      },
      "widgets_values": [
        "heartache/seg01-video"
      ]
    },
    {
      "id": 62,
      "type": "SaveLatent",
      "pos": [
        1480,
        1110
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 22
        }
      ],
      "outputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "links": [
            24
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaveLatent",
        "runtime_widget_names": [
          "filename_prefix"
        ]
      },
      "widgets_values": [
        "heartache/seg01-audio"
      ]
    },
    {
      "id": 63,
      "type": "LTXVConcatAVLatent",
      "pos": [
        0,
        1480
      ],
      "size": [
        340,
        290
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "video_latent",
          "type": "LATENT",
          "link": 23
        },
        {
          "name": "audio_latent",
          "type": "LATENT",
          "link": 24
        }
      ],
      "outputs": [
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            14
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "LTXVConcatAVLatent",
        "runtime_widget_names": []
      },
      "widgets_values": []
    }
  ],
  "links": [
    [
      1,
      2,
      0,
      5,
      0,
      "CLIP"
    ],
    [
      2,
      3,
      0,
      5,
      1,
      "VAE"
    ],
    [
      3,
      4,
      0,
      5,
      2,
      "VAE"
    ],
    [
      4,
      21,
      0,
      5,
      3,
      "IMAGE"
    ],
    [
      5,
      23,
      0,
      5,
      4,
      "IMAGE"
    ],
    [
      6,
      1,
      0,
      7,
      0,
      "MODEL"
    ],
    [
      7,
      5,
      0,
      7,
      1,
      "CONDITIONING"
    ],
    [
      8,
      1,
      0,
      9,
      0,
      "MODEL"
    ],
    [
      9,
      6,
      0,
      10,
      0,
      "NOISE"
    ],
    [
      10,
      7,
      0,
      10,
      1,
      "GUIDER"
    ],
    [
      11,
      8,
      0,
      10,
      2,
      "SAMPLER"
    ],
    [
      12,
      9,
      0,
      10,
      3,
      "SIGMAS"
    ],
    [
      13,
      5,
      1,
      10,
      4,
      "LATENT"
    ],
    [
      14,
      63,
      0,
      11,
      0,
      "LATENT"
    ],
    [
      15,
      3,
      0,
      11,
      1,
      "VAE"
    ],
    [
      16,
      54,
      0,
      13,
      0,
      "IMAGE"
    ],
    [
      17,
      13,
      0,
      14,
      0,
      "VIDEO"
    ],
    [
      18,
      22,
      0,
      23,
      0,
      "VIDEO"
    ],
    [
      19,
      11,
      0,
      54,
      0,
      "IMAGE"
    ],
    [
      20,
      10,
      0,
      60,
      0,
      "LATENT"
    ],
    [
      21,
      60,
      0,
      61,
      0,
      "LATENT"
    ],
    [
      22,
      60,
      1,
      62,
      0,
      "LATENT"
    ],
    [
      23,
      61,
      0,
      63,
      0,
      "LATENT"
    ],
    [
      24,
      62,
      0,
      63,
      1,
      "LATENT"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.55,
      "offset": [
        50,
        50
      ]
    }
  },
  "version": 0.4
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall