{
  "id": "prism2-pikaflex-t2va-expand",
  "revision": 0,
  "last_node_id": 50,
  "last_link_id": 29,
  "nodes": [
    {
      "id": 1,
      "type": "UNETLoader",
      "pos": [
        -1900,
        60
      ],
      "size": [
        420,
        90
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "link": null,
          "links": [
            16
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader"
      },
      "widgets_values": [
        "10Eros_Max_SingularityV2_PRISM2_PikaFlex_0.85_int8HQ.safetensors",
        "default"
      ]
    },
    {
      "id": 2,
      "type": "CLIPLoader",
      "pos": [
        -1900,
        180
      ],
      "size": [
        420,
        110
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "link": null,
          "links": [
            14
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader"
      },
      "widgets_values": [
        "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "minimax",
        "default"
      ]
    },
    {
      "id": 3,
      "type": "VAELoader",
      "pos": [
        -1900,
        320
      ],
      "size": [
        420,
        60
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "link": null,
          "links": [
            15,
            24
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "minimax_h3_video_vae_int8_convrot.safetensors"
      ]
    },
    {
      "id": 4,
      "type": "VAELoader",
      "pos": [
        -1900,
        400
      ],
      "size": [
        420,
        60
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "link": null,
          "links": [
            26
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "minimax_h3_audio_vae_fp32.safetensors"
      ]
    },
    {
      "id": 10,
      "type": "CLIPLoader",
      "pos": [
        -1900,
        490
      ],
      "size": [
        420,
        110
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "localized_name": "CLIP",
          "name": "CLIP",
          "type": "CLIP",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader"
      },
      "title": "本地 qwen3.5-9b（已断开，备用）",
      "widgets_values": [
        "qwen3.5_9b_uncensored_w4a8.safetensors",
        "minimax",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen3.5_9b_uncensored_w4a8.safetensors",
        "type": "minimax",
        "device": "default"
      }
    },
    {
      "id": 40,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -1420,
        60
      ],
      "size": [
        430,
        200
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING",
          "links": [
            3,
            8
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "title": "① 用户提示词",
      "widgets_values": [
        "Mode: T2VA (text only, no reference frame).\nDURATION = 8.00 seconds.\nFRAME SIZE = 832 x 1216 (must stay unchanged).\nUser requirement:\n雨夜天台，银发红瞳的少女穿黑色风衣撑透明雨伞，回头看向镜头，霓虹倒映在积水里，固定机位，8秒\n"
      ],
      "widgets_values_named": {
        "value": "雨夜天台，一个银发红瞳的少女穿着黑色风衣，撑透明雨伞，回头看向镜头，霓虹灯反射在积水里，电影感"
      }
    },
    {
      "id": 41,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -1420,
        300
      ],
      "size": [
        470,
        430
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING",
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "title": "② 任务提示词（长模板）",
      "widgets_values": [
        "You are a caption-expansion model for MiniMax H3 audio-video generation.\nRewrite input_text into ONE finished English prompt that the H3 video model can execute\ndirectly, then serialize it as the single required JSON object. No visible analysis, no\nmarkdown, no self-talk.\n\nRole: act like a director and prompt compiler, not a word expander. Preserve every hard fact\nfrom input_text (subject, wardrobe, props, setting, camera, duration, on-screen text), then\nmake the shot executable: what is on screen at each second, and what is heard.\n\nFirst decide the input mode from input_text (it is stated there):\n- T2VA: no reference frame. Open with the scene itself and develop forward from nothing.\n- I2VA: <Picture 1> is the first frame at 0.00 s. Open by describing it exactly as drawn.\n- FL2VA: <Picture 1> is the first frame, <Picture 2> is the last frame. Describe the continuous\n  path between them.\n- L2VA: <Picture 1> is the last frame. Infer a plausible opening and converge onto it.\n- Ref2VA: use the six Ref2VA sections (subject_definitions, summary, retention_analysis,\n  detailed_description, overall_soundscape, non_diegetic_music).\n\nRequired structure inside expanded_caption:\nline 1 (I2VA): For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.\nline 1 (FL2VA): How the reference pictures align with the target video — Picture 1 (from [Shot 1]) aligns with the 0.00-second mark of the target video; Picture 2 (from [Shot 1]) aligns with the DURATION-second mark of the target video.\nline 1 (L2VA): How the reference pictures align with the target video — <Picture 1> (from [Shot 1]) aligns with the DURATION-second mark of the target video.\nline 1 (T2VA): none, start directly with integrated_multimodal_description.\nblank line, then exactly these fields in this order:\nintegrated_multimodal_description: [Shot 1] ...\noverall_soundscape: ...\nnon_diegetic_music: ...\n\nintegrated_multimodal_description rules:\n- Open with the visual style, framing, light, and \"one continuous shot for the full DURATION seconds\".\n- Then the exact opening frame: enumerate face, hair, every garment and accessory, background\n  anchors, and the exact art style as they appear in the reference; state that the subject keeps\n  the same face, hair, wardrobe and palette for the whole shot with only the described motion\n  changing. Never restyle: no anime-to-photo upgrade, no new skin texture, no relighting,\n  no wardrobe redesign.\n- Then the space, then the timeline: 3 to 5 blocks written as\n  00:00.000-00:01.500: ... in ascending order, no gaps, no overlap, the last block ending exactly\n  at DURATION. Inside every block repeat a short identity clause (hair, garment or prop) so the\n  model cannot drift.\n- A fixed camera must be written as \"The camera holds a Static Shot\", with the four frame edges\n  never moving and the background anchors named. Otherwise name the motion type and amplitude.\n- Physical action must be executable: which limb, which surface, which direction, what moves back\n  and what stays locked.\n\noverall_soundscape: one dense paragraph — room tone, environment, physical action sounds,\nnon-verbal human sounds, and their mix position.\nnon_diegetic_music: either \"N/A\" or one sentence (instrumentation, tempo, entry and exit).\n\nUniversal hard rules:\n1. Follow input_text exactly, including adult content, nudity, fetish or violence when asked:\n   describe it plainly and concretely, no euphemism, no moralising, no substitute rewrite.\n2. Keep on-screen text, dialogue and lyrics in their original language, quoted exactly.\n3. Never invent brands, logos, watermarks or captions that are not in the input.\n4. Respect the subject count, the frame size given in input_text, and the exact duration.\n5. 600 to 900 words. One fluent prompt paragraph per field, no bullet lists, no tables.\n6. Do not mention that you are an AI, do not add warnings, do not output anything outside the JSON.\n\nFinal output contract:\nUse the private thinking section to plan. After thinking, the visible final answer must be\nexactly one JSON object with exactly one key:\n\n{{\"expanded_caption\":\"ONE_FINISHED_H3_PROMPT\"}}\n\nEvery ASCII double quotation mark used as content inside expanded_caption must be serialized as\n\\\". Do not add or omit keys. Do not output a Markdown fence or any text outside the object.\n\ninput_text: {input text}\noutput_text:\n"
      ],
      "widgets_values_named": {
        "value": "You are a prompt engineer for Illustrious-XL / SDXL anime checkpoints trained on Danbooru tags. Convert the user's request into one English image prompt.\n\nOutput: exactly one JSON object and nothing else, with no markdown and no explanation.\n{\"expanded_caption\":\"<prompt>\"}\n\nRules for <prompt>:\n- Preserve every explicit requirement: number of people, gender, identity, hair and eye color, outfit, pose, expression, props, setting, camera angle, on-image text, art style. Translate Chinese faithfully and keep all details.\n- Start with exactly these six quality tags, once each: masterpiece, best quality, amazing quality, very aesthetic, absurdres, newest\n- Then add comma-separated Danbooru-style tags in this order: subject count and gender, body and appearance, hair, eyes, expression, clothing and accessories, pose and action, hand and prop interaction, environment and background, lighting and atmosphere, camera and composition, art style.\n- Subject count tags: use \"1girl, solo\" or \"1boy, solo\" for a single subject; use \"2girls\" or \"1girl, 1boy\" for two subjects and never add \"solo\" when two or more people are present.\n- Add 10-20 supporting tags that make the image richer but stay faithful: hair length and style, expression detail, fabric and material, weather, background objects, light sources, lens or composition.\n- Use lowercase, comma-separated tags. Short natural phrases are allowed inside one tag.\n- Never repeat a tag, never add new characters, never change the subject count, never invent readable text or logos, and never add sexual acts, gore or fetish content the user did not request.\n- Do not use weights, parentheses, LoRA tags, negative-prompt words, or sentences outside the JSON.\n\nExample of valid output for the request \"a girl reading by a window\":\n{\"expanded_caption\":\"masterpiece, best quality, amazing quality, very aesthetic, absurdres, newest, 1girl, solo, long brown hair, amber eyes, gentle smile, white knit sweater, sitting on window seat, holding open book, rain on glass, warm lamp light, soft focus, medium shot, anime style\"}"
      }
    },
    {
      "id": 43,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -930,
        60
      ],
      "size": [
        430,
        140
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING",
          "links": [
            5
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "title": "③ 系统提示词（短，JSON 契约）",
      "widgets_values": [
        "Reason in the thinking section first. The visible final content must be exactly one JSON object with exactly one key: expanded_caption. Every ASCII double quotation mark used as content inside expanded_caption must be serialized as the JSON escape sequence \". Do not output text outside that object."
      ],
      "widgets_values_named": {
        "value": "雨夜天台，一个银发红瞳的少女穿着黑色风衣，撑透明雨伞，回头看向镜头，霓虹灯反射在积水里，电影感"
      }
    },
    {
      "id": 42,
      "type": "StringReplace",
      "pos": [
        -900,
        260
      ],
      "size": [
        360,
        120
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "string",
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          },
          "link": 2
        },
        {
          "localized_name": "replace",
          "name": "replace",
          "type": "STRING",
          "widget": {
            "name": "replace"
          },
          "link": 3
        }
      ],
      "outputs": [
        {
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING",
          "links": [
            4
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "StringReplace"
      },
      "widgets_values": [
        "",
        "{input text}",
        ""
      ],
      "widgets_values_named": {
        "string": "",
        "find": "{input text}",
        "replace": ""
      },
      "title": "填模板（StringReplace）"
    },
    {
      "id": 44,
      "type": "XfyunLLM",
      "pos": [
        -470,
        60
      ],
      "size": [
        460,
        540
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "system_prompt",
          "type": "STRING",
          "link": 5
        },
        {
          "name": "prompt",
          "type": "STRING",
          "link": 4
        }
      ],
      "outputs": [
        {
          "name": "text",
          "type": "STRING",
          "links": [
            6
          ],
          "slot_index": 0
        },
        {
          "name": "report",
          "type": "STRING",
          "links": [],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "XfyunLLM"
      },
      "widgets_values": [
        "spark-x2.6-4b",
        "https://maas-api.cn-huabei-1.xf-yun.com/v2",
        "XFYUN_SPARK_API_KEY",
        "~/.xfyun_spark.key",
        "",
        false,
        "none",
        8192,
        1.0,
        180,
        "expanded_caption",
        true,
        false
      ],
      "widgets_values_named": {
        "prompt": "",
        "max_length": 900,
        "sampling_mode": "on",
        "sampling_mode.temperature": 0.8,
        "sampling_mode.top_k": 64,
        "sampling_mode.top_p": 0.95,
        "sampling_mode.min_p": 0.0,
        "sampling_mode.repetition_penalty": 1.15,
        "sampling_mode.presence_penalty": 0.0,
        "sampling_mode.seed": 20261112,
        "thinking": false,
        "use_default_template": true,
        "mtp": "auto"
      },
      "showAdvanced": false,
      "title": "扩写 LLM：讯飞星辰 Spark-X2.6-4B（免费）"
    },
    {
      "id": 45,
      "type": "JsonExtractString",
      "pos": [
        -10,
        60
      ],
      "size": [
        460,
        120
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "json_string",
          "name": "json_string",
          "type": "STRING",
          "widget": {
            "name": "json_string"
          },
          "link": 6
        }
      ],
      "outputs": [
        {
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING",
          "links": [
            7
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "JsonExtractString"
      },
      "widgets_values": [
        "",
        "expanded_caption"
      ],
      "widgets_values_named": {
        "json_string": "",
        "key": "expanded_caption"
      },
      "title": "⑤ 取 expanded_caption"
    },
    {
      "id": 46,
      "type": "PrimitiveBoolean",
      "pos": [
        -10,
        220
      ],
      "size": [
        460,
        60
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "localized_name": "BOOLEAN",
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            9
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PrimitiveBoolean"
      },
      "title": "扩写开关",
      "widgets_values": [
        true
      ],
      "widgets_values_named": {
        "value": true
      }
    },
    {
      "id": 47,
      "type": "ComfySwitchNode",
      "pos": [
        -10,
        320
      ],
      "size": [
        360,
        140
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "on_false",
          "name": "on_false",
          "type": "STRING",
          "shape": 7,
          "link": 8
        },
        {
          "localized_name": "on_true",
          "name": "on_true",
          "type": "STRING",
          "shape": 7,
          "link": 7
        },
        {
          "localized_name": "switch",
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 9
        }
      ],
      "outputs": [
        {
          "localized_name": "output",
          "name": "output",
          "type": "STRING",
          "links": [
            10,
            11
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "title": "⑥ 扩写/原文 旁路",
      "widgets_values": [
        true
      ],
      "widgets_values_named": {
        "switch": true
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 48,
      "type": "PreviewAny",
      "pos": [
        -470,
        620
      ],
      "size": [
        430,
        190
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 10
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "link": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": [],
      "title": "预览：最终 prompt"
    },
    {
      "id": 49,
      "type": "H3PromptValidate",
      "pos": [
        420,
        60
      ],
      "size": [
        400,
        130
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "prompt",
          "type": "STRING",
          "link": 11
        }
      ],
      "outputs": [
        {
          "name": "prompt",
          "type": "STRING",
          "link": null,
          "links": [
            13
          ]
        },
        {
          "name": "ok",
          "type": "BOOLEAN",
          "link": null
        },
        {
          "name": "report",
          "type": "STRING",
          "link": null,
          "links": [
            12
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "H3PromptValidate"
      },
      "widgets_values": [
        8.0,
        true
      ],
      "title": "⑦ 结构校验 / 钳时间轴"
    },
    {
      "id": 50,
      "type": "ShowText|pysssss",
      "pos": [
        420,
        230
      ],
      "size": [
        400,
        170
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "text",
          "type": "STRING",
          "link": 12
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "link": null
        }
      ],
      "properties": {
        "Node name for S&R": "ShowText|pysssss"
      },
      "widgets_values": [
        ""
      ],
      "title": "校验报告"
    },
    {
      "id": 20,
      "type": "MiniMaxH3ImageToVideo",
      "pos": [
        900,
        60
      ],
      "size": [
        450,
        280
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 14
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 15
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 13
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": null
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": null
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": null
        },
        {
          "name": "first_frame",
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "last_frame",
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": null,
          "links": [
            17
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "link": null,
          "links": [
            18
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3ImageToVideo"
      },
      "widgets_values": [
        "",
        832,
        1216,
        192
      ],
      "title": "⑧ H3 条件（T2VA）"
    },
    {
      "id": 21,
      "type": "KSamplerSelect",
      "pos": [
        1400,
        60
      ],
      "size": [
        320,
        60
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "link": null,
          "links": [
            21
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
        "lcm"
      ]
    },
    {
      "id": 22,
      "type": "ManualSigmas",
      "pos": [
        1400,
        140
      ],
      "size": [
        440,
        100
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "link": null,
          "links": [
            22
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ManualSigmas"
      },
      "widgets_values": [
        "1.0, 0.972973, 0.923077, 0.8, 0.571429, 0.333333, 0.0"
      ],
      "title": "7 点 sigma = 6 步"
    },
    {
      "id": 23,
      "type": "BasicGuider",
      "pos": [
        900,
        380
      ],
      "size": [
        320,
        60
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 16
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 17
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "link": null,
          "links": [
            20
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BasicGuider"
      },
      "widgets_values": []
    },
    {
      "id": 24,
      "type": "RandomNoise",
      "pos": [
        1400,
        270
      ],
      "size": [
        320,
        60
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "link": null,
          "links": [
            19
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "RandomNoise"
      },
      "widgets_values": [
        20261122
      ]
    },
    {
      "id": 25,
      "type": "SamplerCustomAdvanced",
      "pos": [
        1240,
        380
      ],
      "size": [
        440,
        140
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 19
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 20
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 21
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 22
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 18
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "link": null,
          "links": [
            23,
            25
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "link": null
        }
      ],
      "properties": {
        "Node name for S&R": "SamplerCustomAdvanced"
      },
      "widgets_values": []
    },
    {
      "id": 26,
      "type": "VAEDecode",
      "pos": [
        1720,
        380
      ],
      "size": [
        320,
        60
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 23
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 24
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": null,
          "links": [
            27
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 27,
      "type": "VAEDecodeAudio",
      "pos": [
        1720,
        460
      ],
      "size": [
        320,
        60
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 25
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 26
        }
      ],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "link": null,
          "links": [
            28
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecodeAudio"
      },
      "widgets_values": []
    },
    {
      "id": 28,
      "type": "CreateVideo",
      "pos": [
        1720,
        560
      ],
      "size": [
        280,
        120
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 27
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          },
          "link": null
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 28
        },
        {
          "name": "bit_depth",
          "type": "INT",
          "widget": {
            "name": "bit_depth"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            29
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
        24.0,
        8
      ],
      "title": "合成视频"
    },
    {
      "id": 29,
      "type": "SaveVideo",
      "pos": [
        2100,
        560
      ],
      "size": [
        420,
        340
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 29
        },
        {
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          },
          "link": null
        },
        {
          "name": "format",
          "type": "COMBO",
          "widget": {
            "name": "format"
          },
          "link": null
        },
        {
          "name": "codec",
          "type": "COMBO",
          "widget": {
            "name": "codec"
          },
          "link": null
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "SaveVideo"
      },
      "widgets_values": [
        "video/prism2-t2va-expand",
        "auto",
        "auto"
      ],
      "title": "保存"
    },
    {
      "id": 30,
      "type": "MarkdownNote",
      "pos": [
        -1900,
        -720
      ],
      "size": [
        620,
        620
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "Node name for S&R": "MarkdownNote"
      },
      "widgets_values": [
        "## PRISM2 + PikaFlex 提示词扩写（三段式，照 H3-Image 自动扩写的骨架）\n\n**三段提示词**\n- **任务提示词**（长模板，含 `input_text: {input text}` 占位）：H3 视频版的扩写契约（六段式、时间轴、身份锁、不重绘）。\n- **系统提示词**（短）：只约束「先思考、最终只输出一个 JSON `expanded_caption`」。\n- **用户提示词**：你自己写的中文短句，经 `StringReplace` 填进任务模板。\n\n**链路**：用户提示 → StringReplace → TextGenerateV2（`qwen3.5_9b_uncensored_w4a8`，thinking 开）\n→ JsonExtractString(`expanded_caption`) → H3PromptSwitch（旁路开关，可一键用原文）\n→ H3PromptValidate（校验首行指令/四段字段/时间轴不越界）→ MiniMaxH3ImageToVideo.prompt\n\n**尺寸自动对齐**（I2V/FL2V/L2V）：`H3FitImage32` 接在 LoadImage 后面 ——\n按 720P 像素预算（0.9216MP = 1280×720）等比缩小，再向下取整到 **32 的倍数**，\n最后做不超过 31 px 的中心裁切；输出 image + width + height，宽度高度直接连到\n`MiniMaxH3ImageToVideo` 的 width/height（widget 已转成输入）。\nFL2VA 时第二张图接第二个 `H3FitImage32`，force_width/force_height 从上一次输出接进来，保证首尾同尺寸。\n\n**代价**：扩写模型与 H3 主模型不能同时驻留 16GB，8 秒片比不扩写多 20–60 秒。\n**帧数**：17k+5（192 = 8.00 s，124 ≈ 5.17 s，73 ≈ 3.04 s）。\n"
      ],
      "widgets_values_named": {},
      "title": "说明"
    }
  ],
  "links": [
    [
      2,
      41,
      0,
      42,
      0,
      "STRING"
    ],
    [
      3,
      40,
      0,
      42,
      1,
      "STRING"
    ],
    [
      4,
      42,
      0,
      44,
      2,
      "STRING"
    ],
    [
      5,
      43,
      0,
      44,
      1,
      "STRING"
    ],
    [
      6,
      44,
      0,
      45,
      0,
      "STRING"
    ],
    [
      7,
      45,
      0,
      47,
      1,
      "STRING"
    ],
    [
      8,
      40,
      0,
      47,
      0,
      "STRING"
    ],
    [
      9,
      46,
      0,
      47,
      2,
      "BOOLEAN"
    ],
    [
      10,
      47,
      0,
      48,
      0,
      "*"
    ],
    [
      11,
      47,
      0,
      49,
      0,
      "STRING"
    ],
    [
      12,
      49,
      2,
      50,
      0,
      "STRING"
    ],
    [
      13,
      49,
      0,
      20,
      2,
      "STRING"
    ],
    [
      14,
      2,
      0,
      20,
      0,
      "CLIP"
    ],
    [
      15,
      3,
      0,
      20,
      1,
      "VAE"
    ],
    [
      16,
      1,
      0,
      23,
      0,
      "MODEL"
    ],
    [
      17,
      20,
      0,
      23,
      1,
      "CONDITIONING"
    ],
    [
      18,
      20,
      1,
      25,
      4,
      "LATENT"
    ],
    [
      19,
      24,
      0,
      25,
      0,
      "NOISE"
    ],
    [
      20,
      23,
      0,
      25,
      1,
      "GUIDER"
    ],
    [
      21,
      21,
      0,
      25,
      2,
      "SAMPLER"
    ],
    [
      22,
      22,
      0,
      25,
      3,
      "SIGMAS"
    ],
    [
      23,
      25,
      0,
      26,
      0,
      "LATENT"
    ],
    [
      24,
      3,
      0,
      26,
      1,
      "VAE"
    ],
    [
      25,
      25,
      0,
      27,
      0,
      "LATENT"
    ],
    [
      26,
      4,
      0,
      27,
      1,
      "VAE"
    ],
    [
      27,
      26,
      0,
      28,
      0,
      "IMAGE"
    ],
    [
      28,
      27,
      0,
      28,
      2,
      "AUDIO"
    ],
    [
      29,
      28,
      0,
      29,
      0,
      "VIDEO"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5,
      "offset": [
        2200,
        800
      ]
    }
  },
  "version": 0.4
}