{
 "id": "9c1f6b1e-2a1d-4b7c-8e55-0a7f0c0d0001",
 "revision": 0,
 "last_node_id": 6,
 "last_link_id": 4,
 "nodes": [
  {
   "id": 1,
   "type": "LoadImage",
   "pos": [
    -3720,
    5080
   ],
   "size": [
    315,
    314
   ],
   "flags": {},
   "order": 0,
   "mode": 0,
   "showAdvanced": null,
   "inputs": [],
   "outputs": [
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "IMAGE",
     "nameLocked": null,
     "removable": null,
     "shape": null,
     "type": "IMAGE",
     "pos": null,
     "links": [
      1
     ]
    },
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "MASK",
     "nameLocked": null,
     "removable": null,
     "shape": null,
     "type": "MASK",
     "pos": null,
     "links": null
    }
   ],
   "properties": {
    "Node name for S&R": "LoadImage"
   },
   "widgets_values": [
    "api_pruna_p_video_2_pro_reference_input_1_giant_robot.png",
    "image"
   ],
   "widgets_values_named": {
    "image": "api_pruna_p_video_2_pro_reference_input_1_giant_robot.png",
    "upload": "image"
   }
  },
  {
   "id": 2,
   "type": "LoadImage",
   "pos": [
    -3720,
    5460
   ],
   "size": [
    315,
    314
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "showAdvanced": null,
   "inputs": [],
   "outputs": [
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "IMAGE",
     "nameLocked": null,
     "removable": null,
     "shape": null,
     "type": "IMAGE",
     "pos": null,
     "links": [
      2
     ]
    },
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "MASK",
     "nameLocked": null,
     "removable": null,
     "shape": null,
     "type": "MASK",
     "pos": null,
     "links": null
    }
   ],
   "properties": {
    "Node name for S&R": "LoadImage"
   },
   "widgets_values": [
    "api_pruna_p_video_2_pro_reference_input_2_porter_boy.png",
    "image"
   ],
   "widgets_values_named": {
    "image": "api_pruna_p_video_2_pro_reference_input_2_porter_boy.png",
    "upload": "image"
   }
  },
  {
   "id": 3,
   "type": "PrunaReferenceToVideoNode",
   "pos": [
    -3260,
    5080
   ],
   "size": [
    460,
    600
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "showAdvanced": null,
   "inputs": [
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "model.images.image_0",
     "nameLocked": null,
     "removable": null,
     "shape": 7,
     "type": "IMAGE",
     "pos": null,
     "link": 1
    },
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "model.images.image_1",
     "nameLocked": null,
     "removable": null,
     "shape": 7,
     "type": "IMAGE",
     "pos": null,
     "link": 2
    },
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "model.images.image_2",
     "nameLocked": null,
     "removable": null,
     "shape": 7,
     "type": "IMAGE",
     "pos": null,
     "link": 4
    },
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "model.videos.video_0",
     "nameLocked": null,
     "removable": null,
     "shape": 7,
     "type": "VIDEO",
     "pos": null,
     "link": null
    },
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "model.videos.video_1",
     "nameLocked": null,
     "removable": null,
     "shape": 7,
     "type": "VIDEO",
     "pos": null,
     "link": null
    },
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "model.audios.audio_0",
     "nameLocked": null,
     "removable": null,
     "shape": 7,
     "type": "AUDIO",
     "pos": null,
     "link": null
    },
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "model.first_frame",
     "nameLocked": null,
     "removable": null,
     "shape": 7,
     "type": "IMAGE",
     "pos": null,
     "link": null
    },
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "model.last_frame",
     "nameLocked": null,
     "removable": null,
     "shape": 7,
     "type": "IMAGE",
     "pos": null,
     "link": null
    }
   ],
   "outputs": [
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "VIDEO",
     "nameLocked": null,
     "removable": null,
     "shape": null,
     "type": "VIDEO",
     "pos": null,
     "links": [
      3
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "PrunaReferenceToVideoNode"
   },
   "widgets_values": [
    "p-video-2-pro-reference",
    "A live-action vintage 1970s climbing sequence on the forested rock face of @Image3. The porter boy from @Image2 sits on the shoulder of the giant automaton from @Image1, one small hand gripping the mint shoulder plate, his pillbox hat pulled down against the wind. Shot 1: medium close shot from the side, the boy perched on the robot's shoulder, the two of them against the cliff, the gorge falling away just behind, mist drifting between the pines. Shot 2: the robot heaves itself upward hand over hand, its brass fingers biting into a rock ledge, the other arm braced against the stone, grit and loose scree falling away below; the camera shakes hard and tilts up as the robot climbs, the treetops and the gorge sliding down out of frame to sell the height, dust puffing from the cracks. Shot 3: low wide shot from far below, the robot cresting a buttress with the boy still on its shoulder, both silhouetted against the pale sky at the ridge, mist swirling around the metal. The boy must stay tiny: his whole body smaller than one of the robot's fingers. Keep the robot exactly as in @Image1: mint-green enamel panels with chipped paint and scratches, brass ribs and joints, amber chest porthole, two amber eye lights, pink pinstripe on the domed crown. Keep the boy exactly as in @Image2: mustard bellhop jacket with pink piping, mint waistcoat and trousers, mustard pillbox hat, dark bowl cut. Vintage grade: cold green-teal shadows, warm ochre highlights, heavy 35mm grain, soft halation, vignette. Handheld camera with real shake, rising tension, wind, falling stones and a deep mechanical hum, no dialogue.",
    false,
    "10",
    "768p",
    "speed",
    "16:9",
    "turbo",
    42,
    "fixed",
    "randomize"
   ],
   "widgets_values_named": {
    "model": "p-video-2-pro-reference",
    "model.prompt": "A live-action vintage 1970s climbing sequence on the forested rock face of @Image3. The porter boy from @Image2 sits on the shoulder of the giant automaton from @Image1, one small hand gripping the mint shoulder plate, his pillbox hat pulled down against the wind. Shot 1: medium close shot from the side, the boy perched on the robot's shoulder, the two of them against the cliff, the gorge falling away just behind, mist drifting between the pines. Shot 2: the robot heaves itself upward hand over hand, its brass fingers biting into a rock ledge, the other arm braced against the stone, grit and loose scree falling away below; the camera shakes hard and tilts up as the robot climbs, the treetops and the gorge sliding down out of frame to sell the height, dust puffing from the cracks. Shot 3: low wide shot from far below, the robot cresting a buttress with the boy still on its shoulder, both silhouetted against the pale sky at the ridge, mist swirling around the metal. The boy must stay tiny: his whole body smaller than one of the robot's fingers. Keep the robot exactly as in @Image1: mint-green enamel panels with chipped paint and scratches, brass ribs and joints, amber chest porthole, two amber eye lights, pink pinstripe on the domed crown. Keep the boy exactly as in @Image2: mustard bellhop jacket with pink piping, mint waistcoat and trousers, mustard pillbox hat, dark bowl cut. Vintage grade: cold green-teal shadows, warm ochre highlights, heavy 35mm grain, soft halation, vignette. Handheld camera with real shake, rising tension, wind, falling stones and a deep mechanical hum, no dialogue.",
    "model.keep_audio": false,
    "model.duration": "10",
    "model.resolution": "768p",
    "model.mode": "speed",
    "model.aspect_ratio": "16:9",
    "model.enhance_prompt": "turbo",
    "model.seed": 42,
    "control_after_generate#1": "fixed",
    "control_after_generate": "randomize"
   },
   "color": "#432",
   "bgcolor": "#653"
  },
  {
   "id": 4,
   "type": "SaveVideo",
   "pos": [
    -2780,
    5080
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "showAdvanced": null,
   "inputs": [
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "video",
     "nameLocked": null,
     "removable": null,
     "shape": null,
     "type": "VIDEO",
     "pos": null,
     "link": 3
    }
   ],
   "outputs": [
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "video",
     "nameLocked": null,
     "removable": null,
     "shape": null,
     "type": "VIDEO",
     "pos": null,
     "links": null
    }
   ],
   "properties": {},
   "widgets_values": [
    "api_pruna_p_video_2_pro_reference",
    "auto",
    "auto",
    "auto"
   ],
   "widgets_values_named": {
    "filename_prefix": "api_pruna_p_video_2_pro_reference",
    "format": "auto",
    "format.codec": "auto",
    "codec": "auto"
   }
  },
  {
   "id": 5,
   "type": "MarkdownNote",
   "pos": [
    -4200,
    5080
   ],
   "size": [
    420,
    620
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "showAdvanced": null,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "## Pruna P-Video-2 Pro Reference to Video\n\n## Input Assets\n- [api_pruna_p_video_2_pro_reference_input_1_giant_robot.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_pruna_p_video_2_pro_reference_input_1_giant_robot.png)\n- [api_pruna_p_video_2_pro_reference_input_2_porter_boy.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_pruna_p_video_2_pro_reference_input_2_porter_boy.png)\n- [api_pruna_p_video_2_pro_reference_input_3_forest_climb_face.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_pruna_p_video_2_pro_reference_input_3_forest_climb_face.png)\n\nA prompt plus references becomes a new clip that keeps the identity, wardrobe, style or soundtrack\nof what you feed it.\n\n### How to use\n\n1. Sign in with your ComfyUI account. This is an API node, it bills per second of rendered video.\n2. Connect one to nine reference images, up to three reference videos and up to three audio clips\n   (12 references in total). References are addressed in the prompt by connection order:\n   `@Image1`…`@Image9`, `@Video1`…`@Video3`, `@Audio1`…`@Audio3`.\n3. Write the prompt with those tags, e.g. \"the character from @Image1 walks through the place from\n   @Image2\". Keep `enhance_prompt` on `turbo` when the prompt refers to numbered references.\n4. `first_frame` / `last_frame` pin the opening or closing image instead of only referencing it.\n   `keep_audio` needs exactly one connected audio clip and uses it as the soundtrack.\n5. `duration` is 5–14 seconds. `resolution` at 1080p, 2k or 4k upscales the 768p render, and `mode`\n   trades speed for cost.\n\n## Report Issue\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n"
   ],
   "widgets_values_named": {
    "text": "## Pruna P-Video-2 Pro Reference to Video\n\nA prompt plus references becomes a new clip that keeps the identity, wardrobe, style or soundtrack\nof what you feed it.\n\n### How to use\n\n1. Sign in with your ComfyUI account. This is an API node, it bills per second of rendered video.\n2. Connect one to nine reference images, up to three reference videos and up to three audio clips\n   (12 references in total). References are addressed in the prompt by connection order:\n   `@Image1`…`@Image9`, `@Video1`…`@Video3`, `@Audio1`…`@Audio3`.\n3. Write the prompt with those tags, e.g. \"the character from @Image1 walks through the place from\n   @Image2\". Keep `enhance_prompt` on `turbo` when the prompt refers to numbered references.\n4. `first_frame` / `last_frame` pin the opening or closing image instead of only referencing it.\n   `keep_audio` needs exactly one connected audio clip and uses it as the soundtrack.\n5. `duration` is 5–14 seconds. `resolution` at 1080p, 2k or 4k upscales the 768p render, and `mode`\n   trades speed for cost.\n\n## Report Issue\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n"
   },
   "color": "#222",
   "bgcolor": "#000"
  },
  {
   "id": 6,
   "type": "LoadImage",
   "pos": [
    -3720,
    5840
   ],
   "size": [
    315,
    314
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "showAdvanced": null,
   "inputs": [],
   "outputs": [
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "IMAGE",
     "nameLocked": null,
     "removable": null,
     "shape": null,
     "type": "IMAGE",
     "pos": null,
     "links": [
      4
     ]
    },
    {
     "color_off": null,
     "color_on": null,
     "dir": null,
     "label": null,
     "locked": null,
     "name": "MASK",
     "nameLocked": null,
     "removable": null,
     "shape": null,
     "type": "MASK",
     "pos": null,
     "links": null
    }
   ],
   "properties": {
    "Node name for S&R": "LoadImage"
   },
   "widgets_values": [
    "api_pruna_p_video_2_pro_reference_input_3_forest_climb_face.png",
    "image"
   ],
   "widgets_values_named": {
    "image": "api_pruna_p_video_2_pro_reference_input_3_forest_climb_face.png",
    "upload": "image"
   }
  }
 ],
 "links": [
  [
   3,
   3,
   0,
   4,
   0,
   "VIDEO"
  ],
  [
   1,
   1,
   0,
   3,
   0,
   "IMAGE"
  ],
  [
   2,
   2,
   0,
   3,
   1,
   "IMAGE"
  ],
  [
   4,
   6,
   0,
   3,
   2,
   "IMAGE"
  ]
 ],
 "groups": [],
 "config": {},
 "extra": {
  "ds": {
   "scale": 0.9,
   "offset": [
    416,
    110
   ]
  },
  "frontendVersion": "1.59.10"
 },
 "version": 0.4
}