View as Markdown
Google Vertex AI icon

Google Vertex AI ACTION

Generate Video from Text

Generate a video from a text prompt using Google Vertex AI Veo models. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Google Vertex AI account once, then configure and run Generate Video from Text from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "google_vertex_ai-generate-video-from-text",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_vertex_ai: { authProvisionId: "apn_xxxxxxx" },
    projectId: "Project ID",
    model: "Model",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Generate Video from Text inputs
Property Type Description
projectId Project ID string
Identifier of a project
Required Dynamic
model Model string
The model to use for video generation
Required
prompt Prompt string
The text prompt to guide video generation. For Veo 3, you can include audio cues like dialogue in quotes, sound effects, and ambient noise descriptions.
Required
aspectRatio Aspect Ratio string
The aspect ratio of the generated video
Required
durationSeconds Duration (seconds) integer
The length of the video in seconds. Veo 2: 5-8 seconds, Veo 3: 8 seconds
Required
enhancePrompt Enhance Prompt boolean
Use Gemini to enhance your prompts
Required
generateAudio Generate Audio boolean
Generate audio for the video (Veo 3 only)
Required
negativePrompt Negative Prompt string
A text string that describes anything you want to discourage the model from generating
Optional
personGeneration Person Generation string
The safety setting that controls whether people or face generation is allowed
Optional
resolution Resolution string
The resolution of the generated video (Veo 3 models only)
Optional
sampleCount Sample Count integer
The number of output videos requested
Required
storageUri Storage URI string
A Cloud Storage bucket URI to store the output video, in the format gs://BUCKET_NAME/SUBDIRECTORY. If a Cloud Storage bucket isn't provided, base64-encoded video bytes are returned in the response.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
google_vertex_ai-generate-video-from-text
Version
0.0.2
App
Google Vertex AI
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes