CivArchive
    Minimax Reference-To-Video Workflow - Reference Manager Node - Auto Prompting - R2V - Reference Manager
    NSFW

    For more Workflows and updates, Join my Discord:
    https://discord.gg/ZVWVhT43GW

    You can deploy MiniMax on RunPod with my template: https://get.runpod.io/minimax-template


    Workflow:

    Minimax supports up to 18 inputs at once, wiring and bypassing nodes is a pain.

    So I created this custom node that allows you to add/remove references for Minimax ReferenceToVideo, you only have to wire it once.

    Some more neat features:
    - Automatic prompt writing via OpenRouter/Local LLMs, returns structured Minimax prompts based on your description (opt in)
    - Save prompt/reference packs and reuse them.

    Custom node:

    Nodes:
    https://github.com/Hearmeman24/ComfyUI-MiniMaxRefPack

    This workflow also come preinstalled on my Runpod template.

    Description

    FAQ

    Comments (34)

    jm112368767Aug 15, 2026
    CivitAI

    Awesome will give it a shot...I was just about to vibecode a similar node today.... glad you beat me to it!!

    HearmemanAI
    Author
    Aug 15, 2026· 1 reaction

    I beat you to it, so you can beat your meat to it!
    Cheers!

    Apprehensive6311Aug 15, 2026· 3 reactions
    CivitAI

    Hi just got the wf. How can I resolve

    Unknown pack: MinimaxH3referencepack and
    and taeh3.safetensors shows that it needs to be put in tinyvae folder but there no such folder.

    HearmemanAI
    Author
    Aug 15, 2026· 1 reaction

    You need custom nodes, linked in this post.

    Apprehensive6311Aug 15, 2026· 1 reaction

    @HearmemanAI hey thanks, got it working but it asks openrouter key. how can i avoid that?

    HearmemanAI
    Author
    Aug 15, 2026· 1 reaction

    @Apprehensive6311 set openrouter to false

    Apprehensive6311Aug 15, 2026

    @HearmemanAI thank you so much. got it working but somewhow it still retains the face in video and just brings the dress from image. Any strength to be tweaked?

    makiaeveliAug 15, 2026

    @Apprehensive6311 it looks like theres a bug in the prompt. But honestly after trying of like 30 mins it's not so simple lol. The OPs solution of specifying subject 2 as the clothing and movement itself seems like a decent solution, and maybe if I incorporated it mine would work. But I still tried; I can get the face to swap pretty easily, but'll often either forget the clothing or the body. I can't quite get it. This is my attempt:

    "Use the first 00:05 seconds of <Video 1> as the source video for the target video edit. Replace the character <Subject 1> from the video <Video 1> with the character <Subject 2> from the photo <Photo 1>. Make sure the resulting character in the video is <Subject 2> but dressed in the same clothes and moving exactly as <Subject 1> moved in the original <Video 1>. Adjust the <Subject 1> clothing accordingly to fit on the character <Subject 2>. Use <Audio 1> as the original video reference sample, and use <Audio 2> is a reference sample for the voice of the newly dressed <Subject 2> in the edited video"


    The easiest way would be to use F2K to take the first frame of the video and the picture and then make clothing swap there. Cause then you could cleanly add the person to the video.

    PerfectLoopAug 15, 2026· 12 reactions
    CivitAI

    Nice, but can openrouter models be replaced to other API, or local ollama models?

    HearmemanAI
    Author
    Aug 17, 2026· 1 reaction

    Added support for local LLMs in V2.

    CyberAImaniaAug 15, 2026· 20 reactions
    CivitAI

    Why niot local LLM ?, not everyone want use paid services

    HearmemanAI
    Author
    Aug 15, 2026· 5 reactions

    Instead of complaining,
    feel free to open a PR and I'll merge it.

    HearmemanAI
    Author
    Aug 17, 2026

    Added support for local LLMs in V2.

    bionovafood863Aug 15, 2026· 2 reactions
    CivitAI

    OpenRouter is the worst node you could ever install.

    SantaonholidaysAug 15, 2026· 2 reactions
    CivitAI

    I want to add my own prompts,Gemini sucks

    HearmemanAI
    Author
    Aug 16, 2026

    Set openrouter to false and add them in the prompt box

    SantaonholidaysAug 16, 2026

    @HearmemanAI but there is no prompt input only a generated prompt output

    HearmemanAI
    Author
    Aug 17, 2026

    Added support for local LLMs in V2.

    keraloAug 18, 2026

    whats a better model for this WF?

    tomookazaki87856Aug 16, 2026· 1 reaction
    CivitAI
    Brilliant work! Is it possible to create an offline version? One with LLM and one completely without, so that users have a choice?

    HearmemanAI
    Author
    Aug 17, 2026· 1 reaction

    Added support for local LLMs in V2.

    ThisAIThingAug 16, 2026· 2 reactions
    CivitAI

    Can you add openrouter/free?

    HearmemanAI
    Author
    Aug 17, 2026

    Added support for local LLMs in V2.

    flavioetancredo459Aug 16, 2026
    CivitAI

    pra mim aqui funcionou perfeitamente, selecionei o OpenRouter BETA fui no site deles e gerei uma Key, e pronto, rodou normal e gera muito rapido, so precisa de uns ajustes ali mesmo mas é normal, meu parabens!

    drfaker911219Aug 16, 2026
    CivitAI

    The value for MiniMax References Manager's max_reference_edge couldn't be converted to INT.

    HearmemanAI
    Author
    Aug 16, 2026

    set it to 2048

    drfaker911219Aug 16, 2026

    @HearmemanAI 
    did not work, same error.

    I'm using the pruned ref2va int8 convrot model

    civitai_daneAug 16, 2026

    @drfaker911219  I get the same error. I cant find any fix.

    HearmemanAI
    Author
    Aug 16, 2026

    @drfaker911219 where did you set it?

    drfaker911219Aug 16, 2026

    @HearmemanAI ok corrected it. set 2048 at max reference edge.
    Shitty openrouter needs money even though I'm using free model, nemotron

    # ComfyUI Error Report ## Error Details - Node ID: 185 - Node Type: MiniMaxH3ReferencePack - Exception Type: ValueError - Exception Message: ValueError: prompt generation failed: OpenRouter returned 402: This request requires at least $1.00 in balance for video

    rem154Aug 16, 2026
    CivitAI

    Did anyone already mention something with local models? 😏

    rem154Aug 16, 2026

    good stuff HearmemanAI 😉

    UliterAug 16, 2026· 12 reactions
    CivitAI

    Proprietary workflow. I advise you find another one that doesnt corral you into authors ecosystem.

    HearmemanAI
    Author
    Aug 17, 2026· 2 reactions

    Added support for local LLMs in V2.

    Workflows
    MiniMax H3

    Details

    Downloads
    1,103
    Platform
    CivitAI
    Platform Status
    Available
    Created
    8/15/2026
    Updated
    8/21/2026
    Deleted
    -

    Files

    minimaxReferenceToVideo_r2vReferenceManager.json