# Veo 3.1 - API, Playground & Pricing

> Run Veo 3.1 by Google via API, Playground, or MCP from $0.80 per run - no provider API key needed. Google's flagship Veo 3.1 for motion-critical shots, with references and audio.

Page: https://flymy.ai/models/veo31-generate/

Models / Text to video

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.

[▶ Try in Playground](https://app.flymy.ai/models/flymyai/veo31-generate) [<> Get API](https://flymy.ai/models/veo31-generate/#api)

**Provider**

[Google](https://flymy.ai/models/provider/google/)

**Category**

[Text to video](https://flymy.ai/models/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](https://flymy.ai/img/models/veo31-generate.jpg)

Veo 3.1 sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any 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.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/models/veo31-generate.md)

## 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).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/models/veo31-generate/#input-prompt) `prompt` | string required |
| [#](https://flymy.ai/models/veo31-generate/#input-negative_prompt) `negative_prompt` | string optional |
| [#](https://flymy.ai/models/veo31-generate/#input-image) `image` | file optional Allowed: image file, as a URL or upload |
| [#](https://flymy.ai/models/veo31-generate/#input-aspect_ratio) `aspect_ratio` | string optional Allowed: 16:9, 9:16 |
| [#](https://flymy.ai/models/veo31-generate/#input-person_generation) `person_generation` | string optional Allowed: allow_all, allow_adult |
| [#](https://flymy.ai/models/veo31-generate/#input-last_frame) `last_frame` | file optional Allowed: image file, as a URL or upload |
| [#](https://flymy.ai/models/veo31-generate/#input-duration_seconds) `duration_seconds` | integer optional Allowed: 4, 6, 8 Default: `8` |
| [#](https://flymy.ai/models/veo31-generate/#input-enhance_prompt) `enhance_prompt` | boolean optional |
| [#](https://flymy.ai/models/veo31-generate/#input-seed) `seed` | integer optional Allowed: -100000000000 to 100000000000 Default: `42` |
| [#](https://flymy.ai/models/veo31-generate/#input-resolution) `resolution` | string optional Allowed: 720p, 1080p, 4k |
| [#](https://flymy.ai/models/veo31-generate/#input-generate_audio) `generate_audio` | boolean optional Default: `false` |
| [#](https://flymy.ai/models/veo31-generate/#input-reference_image) `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.

[Every model's price →](https://flymy.ai/models/pricing/) [Usage pricing →](https://flymy.ai/pricing/)

## Veo 3.1 vs similar models

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

| Model | Provider | Kind | Price | Default run | Resolution | Length |
|---|---|---|---|---|---|---|
| **Veo 3.1** | Google | Text and image to video | from $0.80 / run | $3.20 | 720p, 1080p, 4k | 4, 6 or 8 seconds |
| [Grok Imagine Video 1.5](https://flymy.ai/models/grok-imagine-video-1-5/) | xAI | Text and image to video | from $0.08 / s | $0.70 | 480p, 720p, 1080p | 1 to 15 seconds |
| [Seedance 2.0 Text to Video](https://flymy.ai/models/bytedance-seedance-2-0-text-to-video/) | ByteDance | Text to video | from $0.0673 / s | about $0.605 | 480p, 720p, 1080p | 4 to 15 seconds |
| [Veo 3.1 Fast](https://flymy.ai/models/veo31-fast-generate/) | Google | Text and image to video | from $0.15 / s | $1.50 | 720p, 1080p, 4k | 4, 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](https://app.flymy.ai/developers) 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.

## More text to video models

A written scene becomes a clip, many with sound generated in the same pass.

### Veo 3.1 Fast

Veo 3.1 at draft speed: first and last frames, references and audio for less.

Text and image to video / from $0.15 / s

Link: https://flymy.ai/models/veo31-fast-generate/

### Veo 3.1 Lite Text to Video

Veo 3.1's low-cost tier: drafts, storyboards and b-roll with sound.

Text to video / from $0.12 / run

Link: https://flymy.ai/models/veo-3-1-lite-text-to-video/

### Gemini Omni 1.2 Flash Text to Video

Google's video model with native dialogue and timed directions, from 360p to 4K.

Text to video / from $0.024 / s

Link: https://flymy.ai/models/gemini-omni-1-2-flash-t2v/

### Grok Imagine Video 1.5

xAI's video model: 1 to 15 seconds with lip-synced sound from text, a first frame or up to 14 references.

Text and image to video / from $0.08 / s

Link: https://flymy.ai/models/grok-imagine-video-1-5/

### Seedance 2.0 Text to Video

Seedance 2.0 from text alone: cinematic motion and sound at up to 1080p.

Text to video / from $0.0673 / s

Link: https://flymy.ai/models/bytedance-seedance-2-0-text-to-video/

### Seedance 2.0 Fast Text to Video

The quick Seedance 2.0 for drafts: prompt-only clips at 480p or 720p with sound.

Text to video / from $0.0538 / s

Link: https://flymy.ai/models/bytedance-seedance-2-0-fast-text-to-video/

## Go to the source

[Veo 3.1 in the playground →](https://app.flymy.ai/models/flymyai/veo31-generate), [Text to video models →](https://flymy.ai/models/text-to-video/), [Google models →](https://flymy.ai/models/provider/google/), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/models/), [Model prices →](https://flymy.ai/models/pricing/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog)

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.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
