Veo 3.1 video API and MCP for AI agents
TollNode gives Claude, Cursor or any AI agent Veo 3.1, Google's top video model with native sound and dialogue, over API and MCP, from $2.161 per 4-second video, with no subscription.
Ask for 'A campfire crackling at night beside a perfectly calm...' and get a finished video link back.
No subscription · Sign-up optional · From $2.161 per call · Charged only when it works · No Google account needed
Make a short video: A campfire crackling at night beside a perfectly calm lake, embers rising into a...
TollNode · Google · 4$2.161 · 1 video, 4 s
| Result | Detail |
|---|---|
| File | 1 video link |
| Length | 4 seconds |
| Sound | Included |
Real result, shown below.
Veo 3.1 video examples
Made by this node in our own tests, from the request shown under each.
“A campfire crackling at night beside a perfectly calm lake, embers rising into a sky full of stars, slow push-in toward the flames, crackling wood and distant crickets”
The request that made it
Send the same body to get this kind of result. Change the prompt or the options to get your own.
{
"prompt": "A campfire crackling at night beside a perfectly calm lake, embers rising into a sky full of stars, slow push-in toward the flames, crackling wood and distant crickets",
"duration": 4
}What you control with Veo 3.1
Prompt and style
Veo 3.1 text to video
Describe the scene, the camera move and the sound.
- Prompt
- A campfire crackling at night beside a perfectly calm lake, embers...
- Duration
- 4
- Returns
- 1 video link
You get
- prompt: what to create, in plain words
- negative_prompt: what you do not want to see
- aspect_ratio: the shape of the result: 16:9, 9:16
- seed: repeat a result by reusing the number
Start image
Optional first frame for the video.
- image
- https://.../photo.jpg
- Prompt
- A campfire crackling at night beside a perfectly calm...
- Returns
- 1 video link
You get
- image: the image to use (https link)
- prompt: what to create, in plain words
- from $2.161
Length and price
Veo 3.1 length options
Pick the option; the price follows it.
- Default
- 4 seconds
- Options
- 4 seconds, 6 seconds, 8 seconds
- Charged
- only when a result comes back
You get
- duration: length in seconds; sets the price; default 4 seconds
- options: 4 seconds, 6 seconds, 8 seconds
Failed calls are never charged.
What people ask their AI to do with it
Marketers
Social video ads
“Make a short video of a coffee being poured into a glass, steam rising”
3 × 4 seconds
Cost today$6.483
Ecommerce sellers
Product teasers
“Show my sneaker rotating slowly on a concrete plinth with soft studio light”
4 seconds
Cost today$2.161
Filmmakers
Previsualize a scene
“A lighthouse beam sweeping over a stormy sea at night, slow push-in”
3 × 4 seconds
Cost today$6.483
Founders
A hero clip for the landing page
“A delivery drone landing on a suburban porch at golden hour”
4 seconds
Cost today$2.161
Educators
Explainer clips
“Time-lapse of a seed sprouting and growing into a plant, macro view”
4 seconds
Cost today$2.161
Real estate agents
Listing teasers
“Slow dolly through a bright modern living room with large windows”
4 seconds
Cost today$2.161
Use it as a Veo 3.1 MCP server in Claude, Cursor or Codex
Connect once. Then just ask.
Paste this into Claude Code, Cursor or Codex. It connects TollNode and gives your agent a small wallet. Add a few dollars of USDC and you're done.
npx agentcash add https://tollnode.comCopy for your AI agent
Paste this into your agent so it knows what this node does and how to call it.
You can use TollNode's Veo 3.1 node to make a video. Call POST https://tollnode.com/api/v1/nodes/video-veo-3-1 with image (optional), prompt (required), duration (optional), resolution (optional), aspect_ratio (optional), negative_prompt (optional). The price depends on duration (4, 6, 8; default 4) and is charged only when a result is returned. Over MCP, call the "video-veo-3-1" tool; use list_models to see prices. Give me the file link when it is done.Price
from $0.540
per second
One call: from $2.161 per 4-second video
The price depends on the duration you choose. If you don't choose, you get 4 seconds.
| 4 secondsdefault | $2.161 per 4-second video |
| 6 seconds | $3.241 per 6-second video |
| 8 seconds | $4.321 per 8-second video |
Charged only when a call returns a result. Failed or empty calls cost $0.
Veo 3.1 without a Google account
No subscription, no credit packs
Pay per video: $2.161 for 4 seconds, $3.241 for 6 seconds, $4.321 for 8 seconds.
No Google account, no quota form
Your agent calls TollNode. You never set up billing with the model's maker or request access.
Only charged when it works
If generation fails or returns nothing, the call costs nothing.
One connection, many video models
The same setup also gives your agent other models and live data tools, so it can compare results.
FAQ
- Is this the official Google API?
- No. TollNode is an independent service. It gives your agent access to Veo 3.1 through its own API and MCP server, priced per video, with no Google account needed.
- Can I use it as a Veo 3.1 MCP server in Claude?
- Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "video-veo-3-1" tool appears with its options and prices.
- What options can I choose?
- The length can be 4 seconds, 6 seconds or 8 seconds; the default is 4 seconds. The price follows the option you pick, shown in the price table above.
- Can I start from my own image?
- Yes. Send an image link in image (https) along with your prompt. The result is built from it.
- What if nothing comes back?
- You're not charged. TollNode only collects payment when a usable result is returned.
- How long are the links valid?
- Download the file when you get it. Keep the link as a backup.
- How do I pay for Veo 3.1 video?
- Your agent sends the request, gets an HTTP 402 with the exact price (from $2.161 per call), signs a USDC payment on Base and retries. Or use an account balance with an API key. Either way you are charged only when a result comes back.
- What does the Veo 3.1 video response look like?
- A JSON object with a link to the finished video file. Download it when you get it and keep the link as a backup.
Works well with
Ready in a minute
Connect your AIFor developers: endpoint, inputs and an example response
POST https://tollnode.com/api/v1/nodes/video-veo-3-1
Input
| Field | Type | Notes |
|---|---|---|
| seed | integer | |
| image | string | Optional starting image (https URL). Or send the file inline as a base64 data: URI (up to 4.5 MB) |
| prompt* | string | What to create or change |
| duration | enum | Length in seconds; sets the price. Default 4 (4, 6, 8) |
| resolution | enum | Same price. Default 1080p (720p, 1080p) |
| aspect_ratio | enum | Aspect ratio, default 16:9 (16:9, 9:16) |
| negative_prompt | string | What you do not want to see |
Example response
{
"videos": [
"https://tollnode.com/api/v1/files/00000000-0000-0000-0000-000000000000/0"
],
"aiGenerated": true
}Also described in the OpenAPI file and llms.txt. Setup for every app: Agents & MCP.