Nodes/ComfyUI-SwissArmyKnife/Media Describe - Overrides
ComfyUI Node

Media Describe - Overrides

Fix one paragraph of your generated prompt without regenerating the rest

By sammykumar·Created 12 months ago·Updated 8 months ago· 6
Media Describe - Overrides
    • overrides
    prompt_prefix
    override_subject
    override_visual_style
    override_clothing
    override_scene
    override_movement

    The whole reason Media Describe splits its output into five paragraphs - subject, clothing, movement, scene, visual style - is so you can change one of them without throwing the rest away. Media Describe - Overrides is the node that makes that concrete: it collects your edits into a single overrides object that MediaDescribe applies before assembling the final prompt.

    Every input is optional, and each one maps to a paragraph in the generated description. override_subject replaces the SUBJECT paragraph. override_visual_style replaces the visual-style paragraph (the tooltip notes it combines cinematic/aesthetic and stylization/tone). override_clothing swaps the clothing paragraph. override_scene and override_movement do the same for the scene and movement paragraphs - the tooltips flag that those two are video-only fields, so on a pure image description they have nothing to bite on. On top of the paragraph swaps, prompt_prefix prepends arbitrary text before the whole generated description - handy for injecting a fixed style tag or a character name you always want leading the prompt.

    The mechanism is as simple as it looks: the node packages your text into an OVERRIDES object (one output) that you wire into MediaDescribe's overrides input. MediaDescribe checks each field: if you provided text, that paragraph comes from you instead of the model; if you left it empty, the model's output stands. Empty fields are silent pass-throughs, which is what makes the node comfortable to leave in the graph permanently - a template you fill in only when you want to intervene.

    That's the workflow this pack is really selling: run the caption, read the breakdown in Control Panel Prompt Breakdown, spot that the "clothing" paragraph hallucinated a color, type the correction into this node, re-run. You get the same subject, scene, and style as before with a fix applied to exactly the one thing that was wrong. No full regeneration, no prompt re-engineering of the whole description.

    Installing

    Part of Swiss Army Knife:

    • ComfyUI Manager: search "Swiss Army Knife", install, restart.
    • Manual:
    cd ComfyUI/custom_nodes
    git clone https://github.com/sammykumar/ComfyUI-SwissArmyKnife.git
    cd ComfyUI-SwissArmyKnife
    pip install -e .
    

    Gotchas

    • It's a packaging node. It does nothing on its own - no outputs that show anything, no validation of your text. The payoff is entirely in how MediaDescribe consumes the object.
    • Scene and movement are video-only. On an image describe they're ignored, so don't be confused when your scene override doesn't change an image result.
    • Overrides replace wholesale. There's no merge logic - whatever you type is the whole paragraph. Keep your replacement self-contained or you'll lose surrounding detail the model got right.
    • Since all fields are optional, it's safe to wire in permanently and fill in as needed.

    If you're iterating on captioned media, this is the difference between nudging a result and rebuilding it. It's the pack's answer to "the model got it 90% right."

    CategorySwiss Army Knife 🔪/Media Caption

    Inputs (6)

    NameTypeDefaultDescription
    prompt_prefixoptSTRINGText to prepend before the generated description (optional)
    override_subjectoptSTRINGOverride text for SUBJECT paragraph (if provided, uses this instead of Gemini's output for subject)
    override_visual_styleoptSTRINGOverride text for VISUAL STYLE paragraph (combines cinematic/aesthetic and stylization/tone - if provided, uses this instead of Gemini's output)
    override_clothingoptSTRINGOverride text for CLOTHING paragraph (if provided, uses this instead of Gemini's output for clothing)
    override_sceneoptSTRINGOverride text for SCENE paragraph (video only - if provided, uses this instead of Gemini's output)
    override_movementoptSTRINGOverride text for MOVEMENT paragraph (video only - if provided, uses this instead of Gemini's output)

    Outputs (1)

    NameTypeDescription
    overridesOVERRIDES