{
  "id": "a1c4f0e2-5b7d-4a63-9f18-2d6c8b0e71aa",
  "revision": 0,
  "last_node_id": 4,
  "last_link_id": 2,
  "nodes": [
    {
      "id": 4,
      "type": "MarkdownNote",
      "pos": [
        -1560,
        120
      ],
      "size": [
        520,
        620
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "## Pika Soundtrack: Video to Soundtrack\n\n## Input Asset\n\n- [pika_soundtrack_rainy_window.mp4](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/pika_soundtrack_rainy_window.mp4)\n\nPika Soundtrack through the partner API writes a new audio track for your clip. The picture and the exact length are kept, so you get the same cut with sound.\n\n### What this graph does\n\n1. **Load Video**: the silent clip, up to 10 minutes.\n2. **Pika Soundtrack**: `instruction` says what the audio should be; empty lets the picture decide.\n3. **Save Video with Soundtrack**: writes `api_pika_soundtrack.mp4` with the generated audio muxed in.\n\n### Writing the instruction\n\nName the space, the sources and the timing, then say what must not appear: `rain on glass, one car passing at 0:02, low city hum; no music, no voices`.\n\n### Notes\n\n- The output is a video, not a standalone audio file, so it replaces the silent cut straight on a timeline.\n- The same seed and instruction give a fresh performance, not a bit-identical one."
      ],
      "widgets_values_named": {
        "text": "## Pika Soundtrack: Video to Soundtrack\n\n## Input Asset\n\n- [pika_soundtrack_rainy_window.mp4](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/pika_soundtrack_rainy_window.mp4)\n\nPika Soundtrack through the partner API writes a new audio track for your clip. The picture and the exact length are kept, so you get the same cut with sound.\n\n### What this graph does\n\n1. **Load Video**: the silent clip, up to 10 minutes.\n2. **Pika Soundtrack**: `instruction` says what the audio should be; empty lets the picture decide.\n3. **Save Video with Soundtrack**: writes `api_pika_soundtrack.mp4` with the generated audio muxed in.\n\n### Writing the instruction\n\nName the space, the sources and the timing, then say what must not appear: `rain on glass, one car passing at 0:02, low city hum; no music, no voices`.\n\n### Notes\n\n- The output is a video, not a standalone audio file, so it replaces the silent cut straight on a timeline.\n- The same seed and instruction give a fresh performance, not a bit-identical one."
      },
      "title": "Note: Pika Soundtrack",
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 1,
      "type": "LoadVideo",
      "pos": [
        -1000,
        120
      ],
      "size": [
        450,
        580
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            1
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoadVideo",
        "cnr_id": "comfy-core",
        "ver": "0.44.1"
      },
      "widgets_values": [
        "pika_soundtrack_rainy_window.mp4",
        "image"
      ],
      "widgets_values_named": {
        "file": "pika_soundtrack_rainy_window.mp4",
        "upload": "image"
      }
    },
    {
      "id": 2,
      "type": "PikaSoundtrackNode",
      "pos": [
        -480,
        160
      ],
      "size": [
        460,
        320
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PikaSoundtrackNode",
        "cnr_id": "comfy-core",
        "ver": "0.44.1"
      },
      "widgets_values": [
        "Diegetic sound design locked to picture: rain drumming on glass with individual drops tapping close to the mic, a low city hum underneath, one car swishing past on wet asphalt around the second mark and a distant tram bell near the end. No music, no narration, no added voices.",
        42,
        "fixed"
      ],
      "widgets_values_named": {
        "instruction": "Diegetic sound design locked to picture: rain drumming on glass with individual drops tapping close to the mic, a low city hum underneath, one car swishing past on wet asphalt around the second mark and a distant tram bell near the end. No music, no narration, no added voices.",
        "seed": 42,
        "control_after_generate": "fixed"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 3,
      "type": "SaveVideo",
      "pos": [
        80,
        120
      ],
      "size": [
        500,
        480
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 2
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "cnr_id": "comfy-core",
        "ver": "0.44.1"
      },
      "widgets_values": [
        "video/Pika_Soundtrack",
        "mp4",
        "h264",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "video/Pika_Soundtrack",
        "format": "mp4",
        "format.codec": "h264",
        "format.codec.encoding": "auto",
        "codec": "auto"
      },
      "title": "Save Video with Soundtrack"
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      2,
      0,
      "VIDEO"
    ],
    [
      2,
      2,
      0,
      3,
      0,
      "VIDEO"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.85,
      "offset": [
        1500,
        200
      ]
    },
    "frontendVersion": "1.58.5"
  },
  "version": 0.4
}