Models / Image to video

Wan 2.7 Reference to Video - API, Playground & Pricing

Alibaba Wan 2.7 Reference to Video keeps a subject and style from one or more reference images consistent through a 2 to 10 second clip. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Alibaba API key: runs are billed to your FlyMy.AI balance.

Provider
Alibaba
Category
Image to video / Reference to video
Price
from $0.10 / s ($0.50 at the defaults)
Resolution
720P, 1080P
Length
2 to 10 seconds
Returns
video_url
Commercial use
Allowed
Model ID
flymyai/wan-2_7-ref2v
Wan 2.7 Reference to Video by Alibaba: reference to video sample, consistent subjects
Wan 2.7 Reference to Video sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Wan 2.7 Reference 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/models/wan-2-7-ref2v.md. Help me connect the FlyMy.AI MCP to this assistant, then run Wan 2.7 Reference to Video (flymyai/wan-2_7-ref2v) for this task: Use Wan 2.7 Reference to Video to make a clip of the character in my reference images walking along a beach at golden hour.
Open FlyMy.AIDownload brief

What Wan 2.7 Reference to Video does

Pass references as a JSON array of reference-image objects and describe the scene. Choose resolution (720P or 1080P), duration (2 to 10 seconds), shot_type (single or multi), negative_prompt and seed. It does not animate one fixed frame; Wan 2.7 Image to Video does.

Wan 2.7 Reference to Video inputs

Every input of flymyai/wan-2_7-ref2v as its live schema lists them. Returns video_url (array).

InputType, values and default
# prompt
string required
# negative_prompt
string optional
# duration
integer optional Allowed: 2 to 10 Default: 5
# shot_type
string optional Allowed: single, multi
# watermark
boolean optional Default: false
# seed
integer optional Allowed: 0 to 2147483647 Default: 42
# resolution
string optional Allowed: 720P, 1080P Default: 720P
# references
string required
# enable_safety_checks
boolean optional Default: true

Ask your agent

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

“Use Wan 2.7 Reference to Video to make a clip of the character in my reference images walking along a beach at golden hour.”runs flymyai/wan-2_7-ref2v
“Keep my product from these three photos and show it on a busy cafe table by the window with Wan 2.7 Reference to Video.”runs flymyai/wan-2_7-ref2v
“Make a short ad with Wan 2.7 Reference to Video where the person from my references unboxes a skincare serum.”runs flymyai/wan-2_7-ref2v

Wan 2.7 Reference to Video price

From $0.10 per second of duration, depending on resolution. A run at the default settings costs $0.50. A run costs $0.20 to $1.50, depending on resolution and duration. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

SettingPrice
resolution 720P$0.10 per second
resolution 1080P$0.15 per second

Wan 2.7 Reference to Video vs similar models

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

ModelProviderKindPriceDefault runResolutionLength
Wan 2.7 Reference to VideoAlibabaReference to videofrom $0.10 / s$0.50720P, 1080P2 to 10 seconds
Seedance 2.5 Reference to VideoByteDanceReference to videofrom $0.10794 / sabout $1.22480p, 720p, 1080p4 to 30 seconds
Seedance 2.5 Image to VideoByteDanceImage to videofrom $0.10794 / sabout $1.22480p, 720p, 1080p4 to 30 seconds
Wan 3.0 Reference to VideoAlibabaReference to videofrom $0.05 / s$0.50480P, 720P, 1080P1 to 30 seconds

Wan 2.7 Reference to Video 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/wan-2_7-ref2v/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/wan-2_7-ref2v/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Keep the subject and its motion, set the scene on a beach at golden hour' \
  -F 'references=...'

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/wan-2_7-ref2v",
    payload={
        "prompt": "Keep the subject and its motion, set the scene on a beach at golden hour",
        "references": "..."
    },
)
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": "Keep the subject and its motion, set the scene on a beach at golden hour",
    "references": "..."
  },
  "flymyai/wan-2_7-ref2v",
);
console.log(response.output_data);

MCP

Your agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/wan-2_7-ref2v",
  "input": {
    "prompt": "Keep the subject and its motion, set the scene on a beach at golden hour",
    "references": "..."
  }
}

Questions about Wan 2.7 Reference to Video

Do I need an Alibaba API key for Wan 2.7 Reference to Video?

No. Wan 2.7 Reference to Video runs on FlyMy.AI's account, 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.7 Reference to Video cost?

From $0.10 per second of duration, depending on resolution. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

Can I try Wan 2.7 Reference to Video before I write code?

Yes. Open Wan 2.7 Reference to Video in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/wan-2_7-ref2v, fill in its inputs and run it; the same run is one API call later, billed the same way.

How do I use Wan 2.7 Reference 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: "Use Wan 2.7 Reference to Video to make a clip of the character in my reference images walking along a beach at golden hour." Your agent reads the inputs with get_model_schema and runs flymyai/wan-2_7-ref2v with run_model.

What does Wan 2.7 Reference to Video need as input?

Wan 2.7 Reference to Video requires prompt and references; it also takes 7 optional inputs, each listed on this page with its allowed values and default.

Can I call Wan 2.7 Reference to Video from my own code?

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