# Wan 2.2 Text to Video MCP and API by Alibaba | FlyMy.AI

> Wan 2.2 Text to Video runs Alibaba's open Wan 2.2 model on FlyMy.AI GPUs: cinematic clips with fluid, realistic motion, billed by run time.

Page: https://flymy.ai/mcp/models/wan2-2-text-to-video/

MCP / Models / Text to video

# Wan 2.2 Text to Video MCP: open-weights video

Wan 2.2 Text to Video runs Alibaba's open Wan 2.2 model on FlyMy.AI GPUs: cinematic clips with fluid, realistic motion, billed by run time. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use Wan 2.2 Text to Video](https://flymy.ai/mcp/models/wan2-2-text-to-video/#start) [Inputs and price](https://flymy.ai/mcp/models/wan2-2-text-to-video/#inputs)

No API key, $5.97 / hr, Text to video, Alibaba, Commercial use

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Wan 2.2 Text to Video 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/wan2-2-text-to-video.md. Help me connect the FlyMy.AI MCP to this assistant, then run Wan 2.2 Text to Video (flymyai/wan2-2-text-to-video) for this task: Make a video of a fox running through fresh snow at sunrise with Wan 2.2 Text to Video.
```

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

## What Wan 2.2 Text to Video does

Control the clip with num_frames, fps, width and height (832x480 by default), num_inference_steps and the two guidance scales of Wan 2.2's mixture-of-experts design; negative_prompt lists what to avoid.

## Wan 2.2 Text to Video inputs

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

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/mcp/models/wan2-2-text-to-video/#input-prompt) `prompt` | string required |
| [#](https://flymy.ai/mcp/models/wan2-2-text-to-video/#input-negative_prompt) `negative_prompt` | string optional |
| [#](https://flymy.ai/mcp/models/wan2-2-text-to-video/#input-num_frames) `num_frames` | integer required Default: `81` |
| [#](https://flymy.ai/mcp/models/wan2-2-text-to-video/#input-num_inference_steps) `num_inference_steps` | integer required Default: `40` |
| [#](https://flymy.ai/mcp/models/wan2-2-text-to-video/#input-guidance_scale) `guidance_scale` | number optional Default: `4.0` |
| [#](https://flymy.ai/mcp/models/wan2-2-text-to-video/#input-fps) `fps` | integer optional Default: `16` |
| [#](https://flymy.ai/mcp/models/wan2-2-text-to-video/#input-guidance_scale_2) `guidance_scale_2` | number optional Default: `3.0` |
| [#](https://flymy.ai/mcp/models/wan2-2-text-to-video/#input-width) `width` | integer optional Default: `832` |
| [#](https://flymy.ai/mcp/models/wan2-2-text-to-video/#input-height) `height` | integer optional Default: `480` |

## Ask your agent

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

**“Make a video of a fox running through fresh snow at sunrise with Wan 2.2 Text to Video.”** runs `flymyai/wan2-2-text-to-video`

**“Write and render a short ad for a reusable water bottle with Wan 2.2 Text to Video: three quick shots ending on the product.”** runs `flymyai/wan2-2-text-to-video`

**“Generate a calm, slow-camera clip of a chef plating a dessert in slow motion with Wan 2.2 Text to Video.”** runs `flymyai/wan2-2-text-to-video`

## Wan 2.2 Text to Video price

$5.97 per hour of run time, billed per second. Billed per second of run time, $5.97 an hour. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

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

## Call Wan 2.2 Text to Video 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/wan2-2-text-to-video",
  "input": {
    "prompt": "Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in",
    "num_frames": "81",
    "num_inference_steps": "40"
  }
}
```

### 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/wan2-2-text-to-video/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/wan2-2-text-to-video/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' \
  -F 'num_frames=81' \
  -F 'num_inference_steps=40'
```

## Questions about Wan 2.2 Text to Video

**Do I need a Alibaba API key for Wan 2.2 Text to Video?**

No. Wan 2.2 Text to Video runs on FlyMy.AI GPUs, so you need no Alibaba key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does Wan 2.2 Text to Video cost?**

$5.97 per hour of run time, billed per second. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-09.

**How do I use Wan 2.2 Text to Video 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 a video of a fox running through fresh snow at sunrise with Wan 2.2 Text to Video." Your agent reads the inputs with get_model_schema and runs flymyai/wan2-2-text-to-video with run_model.

**What does Wan 2.2 Text to Video need as input?**

Wan 2.2 Text to Video requires prompt, num_frames and num_inference_steps; it also takes 6 optional inputs, each listed on this page with its allowed values and default.

**Can I call Wan 2.2 Text to Video from my own code?**

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

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

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

### Wan 2.2 Fast Text to Video

Wan 2.2 A14B with LoRA slots: your trained style in text-to-video clips.

Text to video / from $0.135 / run

Link: https://flymy.ai/mcp/models/wan22-t2v-fast/

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

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

## Go to the source

[Wan 2.2 Text to Video in the playground →](https://app.flymy.ai/models/flymyai/wan2-2-text-to-video), [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.
