# Veo 3.1 MCP and API - Text and image to video by Google | FlyMy.AI

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

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

MCP / Models / Text to video

# Veo 3.1 MCP: cinematic video with audio, no API key

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 from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use Veo 3.1](https://flymy.ai/mcp/models/veo31-generate/#start) [Inputs and price](https://flymy.ai/mcp/models/veo31-generate/#inputs)

No API key, from $0.80 / run, Text and image to video, Google, Commercial use

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

[See usage pricing →](https://flymy.ai/pricing/)

## Call Veo 3.1 from code

The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.

### From an agent, through the MCP

The 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"
  }
}
```

### From your code, over HTTP

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'
```

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

**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.

### 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/mcp/models/gemini-omni-1-2-flash-t2v/

### 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.40 / run

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

### Wan 3.0 Text to Video

Alibaba's Wan 3.0: text to video up to 30 seconds, with its own soundtrack.

Text to video / from $0.05 / s

Link: https://flymy.ai/mcp/models/wan-3-0-t2v/

### Seedance 2.5 Text to Video

ByteDance's newest text-to-video: multi-beat scenes up to 30 seconds with sound.

Text to video / from $0.10794 / s

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

### Wan 2.7 Text to Video

Wan 2.7 from text: coherent scenes and natural motion in up to 10 seconds.

Text to video / from $0.10 / s

Link: https://flymy.ai/mcp/models/wan-2-7-t2v/

### Wan 2.6 Text to Video

The previous Wan generation: 2 to 10 second clips with single or multi-shot cuts.

Text to video / from $0.10 / s

Link: https://flymy.ai/mcp/models/wan-2-6-t2v/

## Go to the source

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

From the FlyMy.AI model catalog of 2026-11-09: inputs from the 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.
