Veo 3.1 veo-3.1 API
Same API, same SDK — switch variants by changing one parameter.
# Works with Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents
npx skills add runapi-ai/veo-3.1 -g
Install the Veo 3.1 skill for me: 1. Clone https://github.com/runapi-ai/veo-3.1 2. Copy the skills/veo-3.1/ directory into your user-level skills directory (e.g. ~/.claude/skills/ for Claude Code, ~/.codex/skills/ for Codex). 3. Verify that SKILL.md is present. 4. Confirm the install path when done.
veo-3.1 targets the sweet spot of quality and cost within the Veo 3.1 family.
- Pay-per-call pricing in USD
- Failed generations not charged
- Streaming when supported by the model
- Schema-validated tool calls
Pricing
Technical details
| Model ID | veo-3.1 |
| Provider | |
| Modality | video |
| Task type | asynchronous |
| Billing unit | call |
| API endpoint | /api/v1/veo_3_1/text_to_video |
| Commercial license | Yes — included via API |
| Status | Operational |
Quickstart — veo-3.1
curl -X POST https://runapi.ai/api/v1/veo_3_1/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "veo-3.1",
"prompt": "Generate a 10-second cinematic drone shot of a coastal highway at golden hour, with waves crashing below and ambient wind audio."
}'
import { Veo31Client } from "@runapi.ai/veo-3-1";
const client = new Veo31Client();
const result = await client.textToVideo.run({
model: "veo-3.1",
prompt: "Generate a 10-second cinematic drone shot of a coastal highway at golden hour, with waves crashing below and ambient wind audio.",
});
require "runapi/veo_3_1"
client = RunApi::Veo31::Client.new
result = client.text_to_video.run(
model: "veo-3.1",
prompt: "Generate a 10-second cinematic drone shot of a coastal highway at golden hour, with waves crashing below and ambient wind audio."
)
Use veo-3.1 in four steps
Install
Install the model SDK or agent skill for this model line.
Configure
Set the model field to the full model ID shown on this page.
Call
Send a typed request with your prompt, inputs, and callback settings.
Receive
Read the task response, webhook callback, or cached output URL from RunAPI.
What's different about veo-3.1
Highest quality; sharpest motion, superior texture and lighting
5× cheaper, ~2× faster; near-indistinguishable quality for most use
Best for
Ad & social content
Generate product launch clips and short-form ads from a text brief, cutting production from weeks to hours.
E-learning
Convert lesson scripts into animated explainer videos at scale without a camera or crew.
Creator workflows
Produce viral short-form content for social platforms directly from a prompt.
Frequently asked questions about veo-3.1
Is the model ID stable across versions?
RunAPI keeps the model ID stable and handles compatible version refreshes without changing your request shape.
What's the rate limit on this variant?
Per-key rate limits scale with usage tier. See pricing page for current limits.
Can I switch variants later?
Yes — variant is a flag. Switch by changing the model parameter.
Does it stream?
Where streaming is available, RunAPI streams end-to-end.
Where do I report quality issues?
Open an issue on the public GitHub repo or email support.