Skip to main content
Server path: /video-processing | Type: Embedded | PCID required: No Generate AI videos from text prompts using Google VEO models and extract audio from video files.

Tools

ToolDescription
video-processing_veo_generateGenerate AI video from text
video-processing_veo_pollPoll video generation status
video-processing_audio_extractExtract audio from video files

video-processing_veo_generate

Generate an AI video from a text prompt using Google VEO models. Returns a prediction ID that can be polled for completion. Parameters:
ParameterTypeRequiredDefaultDescription
promptstringYesText description of the video to generate
modelenumNo"veo-3.1-fast"VEO model to use: "veo-3.1", "veo-3.1-fast"
durationnumberNo8Video duration in seconds (1–16)
aspect_ratioenumNo"16:9"Video aspect ratio: "16:9", "9:16"
resolutionenumNo"1080p"Video resolution: "1080p", "720p"
imagestringNoURL of an image to use as the starting frame
last_framestringNoURL of an image to use as the ending frame
reference_imagesstring[]NoURLs of reference images (max 3, veo-3.1 only)
generate_audiobooleanNotrueWhether to generate audio for the video
negative_promptstringNoText describing what to avoid in the generated video
seednumberNoRandom seed for reproducible generation
Response fields:
FieldTypeDescription
statusstringCurrent status of the generation request
predictionIdstringPrediction ID used to poll for completion
modelstringThe model used for generation
promptstringThe prompt used for generation
messagestringStatus message

video-processing_veo_poll

Poll the status of a VEO video generation request. Use this to check whether a video has finished generating. Parameters:
ParameterTypeRequiredDescription
predictionIdstringYesPrediction ID returned by veo_generate
Response fields:
FieldTypeDescription
statusstringGeneration status: "succeeded", "failed", "canceled", "starting", "processing"
predictionIdstringThe prediction ID that was polled
videoUrlstringURL of the generated video (when status is "succeeded")
errorstringError message (when status is "failed")
messagestringStatus message

video-processing_audio_extract

Extract the audio track from a video file. Parameters:
ParameterTypeRequiredDefaultDescription
fileUrlstringYesURL of the video file to extract audio from
collectionIdstringNoCollection ID to store the extracted audio file
outputFileNamestringNoCustom filename for the extracted audio
asyncbooleanNofalseWhether to process asynchronously
file_links_expire_in_daysnumberNo7Number of days until file links expire
Response fields:
FieldTypeDescription
file_urlstringURL of the extracted audio file
filenamestringName of the extracted audio file
sizenumberFile size in bytes
statusstringProcessing status
jobIdstringJob ID (when processing asynchronously)
messagestringStatus message