# Sora 2 MCP and API - Text and image to video by OpenAI | FlyMy.AI

> OpenAI Sora 2 makes realistic, temporally consistent clips with synced audio from a prompt or a starting image, 4, 8 or 12 seconds long.

Page: https://flymy.ai/mcp/models/sora-2/

MCP / Models / Text to video

# Sora 2 MCP: realistic video with sound, no API key

OpenAI Sora 2 makes realistic, temporally consistent clips with synced audio from a prompt or a starting image, 4, 8 or 12 seconds long. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use Sora 2](https://flymy.ai/mcp/models/sora-2/#start) [Inputs and price](https://flymy.ai/mcp/models/sora-2/#inputs)

No API key, $0.10 / run, Text and image to video, OpenAI, Commercial use

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Sora 2 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/sora-2.md. Help me connect the FlyMy.AI MCP to this assistant, then run Sora 2 (flymyai/sora-2) for this task: Make an 8-second video of a barista pouring latte art in a busy cafe with Sora 2.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/models/sora-2.md)

## What Sora 2 does

Add input_reference to start from your picture, choose seconds (4, 8 or 12) and size (720x1280, 1280x720, 1024x1792 or 1792x1024). Sora 2 keeps people and objects consistent through the shot and generates matching sound.

## Sora 2 inputs

Every input of `flymyai/sora-2` as its live schema lists them. Returns `video` (array).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/mcp/models/sora-2/#input-prompt) `prompt` | string required |
| [#](https://flymy.ai/mcp/models/sora-2/#input-input_reference) `input_reference` | file optional Allowed: image file, as a URL or upload |
| [#](https://flymy.ai/mcp/models/sora-2/#input-seconds) `seconds` | string optional Allowed: 4, 8, 12 |
| [#](https://flymy.ai/mcp/models/sora-2/#input-size) `size` | string optional Allowed: 720x1280, 1280x720, 1024x1792, 1792x1024 |

## Ask your agent

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

**“Make an 8-second video of a barista pouring latte art in a busy cafe with Sora 2.”** runs `flymyai/sora-2`

**“Write and render a short ad for an electric scooter with Sora 2: three quick shots ending on the product.”** runs `flymyai/sora-2`

**“Animate the photo I attach with Sora 2: steam rises from the cup and the light flickers.”** runs `flymyai/sora-2`

## Sora 2 price

$0.10 per run. A run at the default settings costs $0.10. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

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

## Call Sora 2 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/sora-2",
  "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/sora-2/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/sora-2/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 Sora 2

**Do I need a OpenAI API key for Sora 2?**

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

**How much does Sora 2 cost?**

$0.10 per run. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-09.

**How do I use Sora 2 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 video of a barista pouring latte art in a busy cafe with Sora 2." Your agent reads the inputs with get_model_schema and runs flymyai/sora-2 with run_model.

**What does Sora 2 need as input?**

Sora 2 requires prompt; it also takes 3 optional inputs, each listed on this page with its allowed values and default.

**Can I call Sora 2 from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/sora-2/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/

### 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/

### 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/mcp/models/bytedance-seedance-2-0-fast-text-to-video/

## Go to the source

[Sora 2 in the playground →](https://app.flymy.ai/models/flymyai/sora-2), [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.
