ComfyUI Node

Veo 3.1 Video

A ComfyUI node in 3DELAB with 17 inputs and 2 outputs.

By PATAGONIABIM·Created 6 months ago·Updated 6 months ago· 1
Veo 3.1 Video
  • image
  • last_frame
  • mask
  • video
  • output_video
  • video_extend
promptA cinematic shot of...
modelveo-3.1-generate-preview
modetext_to_video
negative_prompt
api_key
service_account_json
gcs_bucket
video_extend_in
aspect_ratio16:9
resolution720p
duration4
person_generationallow_all
seed42
Category3DELAB

Inputs (17)

NameTypeDefaultDescription
promptSTRINGA cinematic shot of...The text description of the video you want to generate.
modelCOMBOveo-3.1-generate-previewSelect the Veo model. (Note: veo-2.0 is required for inpainting/mask operations in some API versions).
modeCOMBOtext_to_videoSelect the generation mode.
negative_promptoptSTRINGText describing what not to include.
api_keyoptSTRINGYour Google AI Studio API Key. Required.
service_account_jsonoptSTRINGAbsolute path to your Vertex AI Service Account JSON key file. Required for Veo 2.0 Inpainting.
gcs_bucketoptSTRINGName of your Cloud Storage bucket (e.g. 'my-veo-bucket'). Required for Veo 2.0 Inpainting.
imageoptIMAGEInput image (for image_to_video, first frame of FF2LF, or reference images for txt2v).
last_frameoptIMAGEEnding frame. Used only in first_last_frame mode.
maskoptMASKMask image for inpaint_insertion and inpaint_removal modes (white=edit, black=keep).
videooptVIDEOConnect a Load Video output for inpainting or extending.
video_extend_inoptSTRINGConnect the video_extend (URI string) from a previous Veo node to extend it.
aspect_ratiooptCOMBO16:9The aspect ratio of the generated video.
resolutionoptCOMBO720pResolution. Note: 1080p and 4k forced to 8s duration. Extension is 720p only.
durationoptCOMBO4Duration in seconds. Forced to 8s if 1080p/4k, or if using reference images.
person_generationoptCOMBOallow_allControl person generation.
seedoptINT420–18446744073709550000Seed (improves determinism but not guaranteed).

Outputs (2)

NameTypeDescription
output_videoSTRING
video_extendSTRING