Veo 3.1 ComfyUI Nodes

June 2, 2026 · View on GitHub

ComfyUI custom nodes for generating videos with Google's Veo 3.1 model via the MuAPI platform.

  • veo4-video-generator — Ready-made Next.js SaaS for Veo — no ComfyUI needed
  • Veo-4-API — Python wrapper for Veo 4 API — use the latest Veo model in scripts
  • muapi-comfyui — ComfyUI nodes for 100+ MuAPI models including Veo

Nodes

NodeDescription
🎬 Veo 3.1 Text to VideoGenerate 8-second video from a text prompt
🎬 Veo 3.1 Image to VideoAnimate a static image; optionally anchor the last frame
🎬 Veo 3.1 Reference to VideoGenerate video guided by up to 4 reference images
🎬 Veo 3.1 Extend VideoContinue a previous generation with a new prompt
🎬 Veo 3.1 4K UpscaleUpscale any previous Veo 3.1 generation to 4K
🎬 Veo 3.1 Save VideoDownload & save generated video; returns frames tensor

All nodes live in the 🎬 Veo 3.1 category in the ComfyUI node menu.

Available Models

Text to Video

ModelSpeedQuality
veo3.1-text-to-videoStandardHighest, with audio
veo3.1-fast-text-to-videoFastGood
veo3.1-lite-text-to-videoFastLightweight

Image to Video

ModelSpeedQuality
veo3.1-image-to-videoStandardHighest, with audio
veo3.1-fast-image-to-videoFastGood
veo3.1-lite-image-to-videoFastLightweight

Other Variants

  • veo3.1-reference-to-video — multi-image reference generation
  • veo3.1-extend-video — extend a previous generation
  • veo3.1-4k-video — upscale a previous generation to 4K

All models output 8-second videos (Veo 3.1 fixed duration).

Installation

cd ComfyUI/custom_nodes
git clone https://github.com/YOUR_USERNAME/muapi-veo31-comfyui
pip install -r muapi-veo31-comfyui/requirements.txt

Restart ComfyUI.

Setup

  1. Get an API key from MuAPI
  2. Paste it into the api_key field of any Veo 3.1 node

Parameters

Common

ParameterDescription
api_keyYour MuAPI API key
promptText description of the video
aspect_ratio16:9 or 9:16
resolution720p, 1080p, or 4k
extra_params_jsonAny additional model parameters as JSON

Image to Video extras

ParameterDescription
imageStart frame (IMAGE tensor)
last_imageOptional end frame for first–last mode

Reference to Video extras

ParameterDescription
image_1image_4Reference images (up to 4)
generate_audioWhether to generate audio (default: true)

Extend / 4K Upscale

ParameterDescription
request_idrequest_id output from a previous generation node

Example Workflows

FileDescription
MuAPI_Veo31_T2V_Example.jsonText → Video → Save
MuAPI_Veo31_I2V_Example.jsonImage → Video → Save
MuAPI_Veo31_Reference_Example.json2 reference images → Video → Save

Load any workflow via ComfyUI → Load (drag & drop the JSON).

Chaining nodes

Veo31TextToVideo
  └─ video_url  ──► Veo31VideoSaver ──► frames ──► PreviewImage
  └─ first_frame──► PreviewImage
  └─ request_id ──► Veo31ExtendVideo
                       └─ request_id ──► Veo314KUpscale

Requirements

  • Python 3.8+
  • ComfyUI (any recent version)
  • requests, Pillow, numpy, torch, opencv-python

License

MIT