Models / Text to video

Veo 3.1 - API, Playground & Pricing

Google Veo 3.1 makes cinematic 4 to 8 second clips with the best realism and motion of the Veo line, from a prompt or images, up to 4K with audio. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Google API key: runs are billed to your FlyMy.AI balance.

Provider
Google
Category
Text to video / Text and image to video
Price
from $0.80 / run ($3.20 at the defaults)
Resolution
720p, 1080p, 4k
Aspect ratio
16:9, 9:16
Length
4, 6 or 8 seconds
Returns
video
Commercial use
Allowed
Model ID
flymyai/veo31-generate
Veo 3.1 by Google: text and image to video sample, cinematic video with audio
Veo 3.1 sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Veo 3.1 in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/models/veo31-generate.md. Help me connect the FlyMy.AI MCP to this assistant, then run Veo 3.1 (flymyai/veo31-generate) for this task: Make an 8-second 9:16 video of a chef plating a dessert in slow motion with Veo 3.1 at 4k.
Open FlyMy.AIDownload brief

What Veo 3.1 does

Give it a prompt, or a first frame (image), a last_frame and up to three reference images to keep a subject. Choose duration_seconds (4, 6 or 8), resolution (720p, 1080p or 4k), aspect_ratio, generate_audio, enhance_prompt, negative_prompt and seed. It is the slowest and most expensive Veo option; Veo 3.1 Fast is the draft tier.

Veo 3.1 inputs

Every input of flymyai/veo31-generate as its live schema lists them. Returns video (array).

InputType, values and default
# prompt
string required
# negative_prompt
string optional
# image
file optional Allowed: image file, as a URL or upload
# aspect_ratio
string optional Allowed: 16:9, 9:16
# person_generation
string optional Allowed: allow_all, allow_adult
# last_frame
file optional Allowed: image file, as a URL or upload
# duration_seconds
integer optional Allowed: 4, 6, 8 Default: 8
# enhance_prompt
boolean optional
# seed
integer optional Allowed: -100000000000 to 100000000000 Default: 42
# resolution
string optional Allowed: 720p, 1080p, 4k
# generate_audio
boolean optional Default: false
# reference_image, reference_image1 to reference_image2
file optional Allowed: image file, as a URL or upload

Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

“Make an 8-second 9:16 video of a chef plating a dessert in slow motion with Veo 3.1 at 4k.”runs flymyai/veo31-generate
“Write and render a short ad for a skincare serum with Veo 3.1: three quick shots ending on the product.”runs flymyai/veo31-generate
“Animate the photo I attach with Veo 3.1: the person turns and smiles at the camera.”runs flymyai/veo31-generate

Veo 3.1 price

From $0.80 per run, depending on generate_audio, duration_seconds and resolution. A run at the default settings costs $3.20. A run costs $0.80 to $4.80, depending on generate_audio and duration_seconds and resolution. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

Veo 3.1 vs similar models

Popular text to video models beside it, with prices from billing and settings from each live schema.

ModelProviderKindPriceDefault runResolutionLength
Veo 3.1GoogleText and image to videofrom $0.80 / run$3.20720p, 1080p, 4k4, 6 or 8 seconds
Grok Imagine Video 1.5xAIText and image to videofrom $0.08 / s$0.70480p, 720p, 1080p1 to 15 seconds
Seedance 2.0 Text to VideoByteDanceText to videofrom $0.0673 / sabout $0.605480p, 720p, 1080p4 to 15 seconds
Veo 3.1 FastGoogleText and image to videofrom $0.15 / s$1.50720p, 1080p, 4k4, 6 or 8 seconds

Veo 3.1 API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the X-API-KEY header; get a key in your account.

cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a prediction_id; read the result at https://api.flymy.ai/api/v1/flymyai/veo31-generate/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/veo31-generate/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in'

Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
response = fma.predict(
    model="flymyai/veo31-generate",
    payload={
        "prompt": "Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in"
    },
)
print(response.output_data)

JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "prompt": "Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in"
  },
  "flymyai/veo31-generate",
);
console.log(response.output_data);

MCP

Your agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/veo31-generate",
  "input": {
    "prompt": "Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in"
  }
}

Questions about Veo 3.1

Do I need a Google API key for Veo 3.1?

No. Veo 3.1 runs on FlyMy.AI's account, so you need no Google key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

How much does Veo 3.1 cost?

From $0.80 per run, depending on generate_audio, duration_seconds and resolution. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

Can I try Veo 3.1 before I write code?

Yes. Open Veo 3.1 in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/veo31-generate, fill in its inputs and run it; the same run is one API call later, billed the same way.

How do I use Veo 3.1 in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Make an 8-second 9:16 video of a chef plating a dessert in slow motion with Veo 3.1 at 4k." Your agent reads the inputs with get_model_schema and runs flymyai/veo31-generate with run_model.

What does Veo 3.1 need as input?

Veo 3.1 requires prompt; it also takes 13 optional inputs, each listed on this page with its allowed values and default.

Can I call Veo 3.1 from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/veo31-generate/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

Go to the source

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.