Google Veo 3

Veo 3 revolutionizes video creation with advanced text-to-video generation and realistic audio synthesis for cinematic content.


API

If you're looking for an API, you can choose from your desired programming language.

POST
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 import requests import base64 # Use this function to convert an image file from the filesystem to base64 def image_file_to_base64(image_path): with open(image_path, 'rb') as f: image_data = f.read() return base64.b64encode(image_data).decode('utf-8') # Use this function to fetch an image from a URL and convert it to base64 def image_url_to_base64(image_url): response = requests.get(image_url) image_data = response.content return base64.b64encode(image_data).decode('utf-8') # Use this function to convert a list of image URLs to base64 def image_urls_to_base64(image_urls): return [image_url_to_base64(url) for url in image_urls] api_key = "YOUR_API_KEY" url = "https://api.segmind.com/v1/veo-3" # Request payload data = { "seed": 0, "prompt": " A medium shot frames an old sailor, his knitted blue sailor hat casting a shadow over his eyes, a thick grey beard obscuring his chin. He holds his pipe in one hand, gesturing with it towards the churning, grey sea beyond the ship's railing. \"This ocean, it's a force, a wild, untamed might. And she commands your awe, with every breaking light\"", "generate_audio": True, "aspect_ratio": "16:9" } headers = {'x-api-key': api_key} response = requests.post(url, json=data, headers=headers) print(response.content) # The response is the generated image
RESPONSE
video/mp4
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


seedint ( default: 1 )

A random seed ensures consistent outputs. Use 0 for random or a specific number for fixed results.


promptstr *

The prompt defines the video content. Use detailed descriptions for specific scenes or brief prompts for abstract ideas.


image_urlstr ( default: 1 )

Provide the URL of the image to be relit. Use a URL from cloud storage like S3.


generate_audioboolean ( default: true )

Generate Audio.


aspect_ratioenum:str ( default: 16:9 )

Aspect ratio (16:9, 4:3, 1:1, 3:4, 9:16)

Allowed values:

To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.

Resources to get you started

Everything you need to know to get the most out of Google Veo 3

Veo 3 by Google DeepMind is a powerful text-to-video and audio synthesis model. This guide outlines strategies and parameter settings for a range of use cases—cinematic storytelling, rapid prototyping, abstract art and corporate presentations.

1. Crafting High-Impact Prompts

  • Be Specific: Outline scene elements (characters, environment, motion) in 2–3 sentences.
  • Visual Style Tags: Add descriptors such as “4K cinematic,” “noir lighting,” “hand-drawn animation” to control aesthetics.
  • Action & Emotion: Include verbs and adjectives (“racing,” “swaying,” “mysterious aura”) to influence pacing and mood.

Example Prompt
> “An old steam train barrels through a misty forest at dawn, glowing embers drifting skyward as an orchestral score swells in the background.”

2. Seed Control for Consistency

  • Random Exploration (seed = 0)
    – Use the default seed of 0 to generate varied outputs. Ideal for brainstorming multiple visual concepts quickly.
  • Fixed Reproducibility (seed = 42 or any constant)
    – Lock in a seed value to recreate or iterate on a favorite output. Crucial for collaborative storyboards and version control.

3. Use Case Parameter Recommendations

Use CasePrompt Detail LevelSeed ValueNotes
Cinematic StorytellingHigh (150+ words)42Fine-tune lighting/angles; combine multiple shots.
Rapid PrototypingMedium (80–120 w)0Quick idea generation; low latency iterations.
Abstract / ExperimentalLow (30–60 words)0–100Play with surreal styles; random seeds for novelty.
Corporate PresentationsMedium–High100Consistent branding; smooth transitions; concise text.

4. Iterative Refinement

  1. Initial Pass: Generate a first draft using a descriptive prompt.
  2. Review: Note areas where composition, color or pacing fall short.
  3. Prompt Tuning: Adjust adjectives, add references (“inspired by Studio Ghibli”) or tighten scene focus.
  4. Resample: Keep the same seed for consistency or change it for fresh variations.

5. Post-Production Synergy

  • Export generated clips and integrate in editing suites (Premiere Pro, DaVinci Resolve).
  • Layer additional audio effects, color-grade and refine timing.
  • Use keying and masking to composite Veo 3 footage with live-action plates.

With precise prompt engineering, seed management and an iterative workflow, Veo 3 can elevate everything from art experiments to polished commercial videos. Happy creating!

Other Popular Models

Discover other models you might be interested in.

Cookie settings

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept all", you consent to our use of cookies.