{ "schema_version": "2", "name": "LTX-2.5 Text/Image-to-Video", "references": [ { "id": "ref_prompt", "label": "Prompt", "role": "reference", "asset_type": "text", "inputs": [ { "id": "in", "label": "Text", "type": "text" } ], "outputs": [ { "id": "out", "label": "Text", "type": "text" } ], "x": 40, "y": 40, "width": 280, "height": 180 }, { "id": "ref_image", "label": "Input Image (optional, image-to-video)", "role": "reference", "asset_type": "image", "inputs": [ { "id": "in", "label": "Image", "type": "image" } ], "outputs": [ { "id": "out", "label": "Image", "type": "image" } ], "x": 40, "y": 300, "width": 280, "height": 210 } ], "operators": [ { "id": "op_enhance", "label": "Enhance Prompt (Gemma-4)", "role": "operator", "kind": "fn", "fn": "enhance_prompt", "inputs": [ { "id": "prompt", "label": "Prompt", "type": "text", "required": true }, { "id": "image_path", "label": "Input image (optional)", "type": "image" }, { "id": "do_enhance", "label": "Enhance prompt", "type": "boolean", "default_value": true } ], "outputs": [ { "id": "enhanced", "label": "Enhanced prompt", "type": "text", "output_index": 0 } ], "x": 400, "y": 40, "width": 300, "height": 200 }, { "id": "op_ltx", "label": "LTX-2.5 Generate (ZeroGPU)", "role": "operator", "kind": "fn", "fn": "generate_video", "inputs": [ { "id": "prompt", "label": "Prompt (enhanced)", "type": "text", "required": true }, { "id": "image_path", "label": "Input image (optional)", "type": "image" }, { "id": "height", "label": "Height", "type": "number", "default_value": 1472 }, { "id": "width", "label": "Width", "type": "number", "default_value": 832 }, { "id": "duration_s", "label": "Duration (s)", "type": "number", "default_value": 2 }, { "id": "seed", "label": "Seed", "type": "number", "default_value": 42 }, { "id": "decoder", "label": "Decoder", "type": "text", "default_value": "conv", "choices": [ "conv", "diffusion" ] }, { "id": "auto_len", "label": "Auto length", "type": "boolean", "default_value": false }, { "id": "randomize_seed", "label": "Randomize seed", "type": "boolean", "default_value": true } ], "outputs": [ { "id": "video", "label": "Result (with audio)", "type": "video", "output_index": 0 }, { "id": "seed_used", "label": "Seed used", "type": "number", "output_index": 1 }, { "id": "length", "label": "Length generated", "type": "text", "output_index": 2 } ], "x": 780, "y": 40, "width": 320, "height": 460 } ], "subjects": [ { "id": "sub_video", "label": "Output Video", "role": "subject", "asset_type": "video", "inputs": [ { "id": "in", "label": "Video", "type": "video" } ], "outputs": [ { "id": "out", "label": "Video", "type": "video" } ], "x": 1180, "y": 40, "width": 340, "height": 300 }, { "id": "sub_prompt", "label": "Enhanced Prompt", "role": "subject", "asset_type": "text", "inputs": [ { "id": "in", "label": "Text", "type": "text" } ], "outputs": [ { "id": "out", "label": "Text", "type": "text" } ], "x": 400, "y": 300, "width": 300, "height": 210 }, { "id": "sub_seed", "label": "Seed Used", "role": "subject", "asset_type": "text", "inputs": [ { "id": "in", "label": "Seed", "type": "number" } ], "outputs": [ { "id": "out", "label": "Seed", "type": "number" } ], "x": 1180, "y": 400, "width": 340, "height": 150 } ], "edges": [ { "id": "e1", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_enhance", "to_port_id": "prompt", "type": "text" }, { "id": "e2", "from_node_id": "ref_image", "from_port_id": "out", "to_node_id": "op_enhance", "to_port_id": "image_path", "type": "image" }, { "id": "e3", "from_node_id": "ref_image", "from_port_id": "out", "to_node_id": "op_ltx", "to_port_id": "image_path", "type": "image" }, { "id": "e4", "from_node_id": "op_enhance", "from_port_id": "enhanced", "to_node_id": "op_ltx", "to_port_id": "prompt", "type": "text" }, { "id": "e5", "from_node_id": "op_ltx", "from_port_id": "video", "to_node_id": "sub_video", "to_port_id": "in", "type": "video" }, { "id": "e6", "from_node_id": "op_enhance", "from_port_id": "enhanced", "to_node_id": "sub_prompt", "to_port_id": "in", "type": "text" }, { "id": "e7", "from_node_id": "op_ltx", "from_port_id": "seed_used", "to_node_id": "sub_seed", "to_port_id": "in", "type": "number" } ] }