MCP / Models / Image to video

Wan 2.1 First and Last Frame MCP: bridge two images

Wan 2.1 First and Last Frame makes a video that moves smoothly from your start image to your end image, on FlyMy.AI GPUs, billed by run time. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

No API key$3.00 / hrFirst and last frame to videoAlibabaCommercial use
Wan 2.1 First and Last Frame sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Wan 2.1 First and Last Frame 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/wan21-flf2v-fast.md. Help me connect the FlyMy.AI MCP to this assistant, then run Wan 2.1 First and Last Frame (flymyai/wan21-flf2v-fast) for this task: Animate the photo I attach with Wan 2.1 First and Last Frame: city lights come on as dusk falls.
Open FlyMy.AIDownload brief

What Wan 2.1 First and Last Frame does

Send start_image and last_image with a prompt for the motion between them. Set num_frames and frames_per_second, resolution, aspect_ratio, steps, guide_scale and shift; enable_prompt_expansion expands a short prompt and negative_prompt lists what to avoid.

Wan 2.1 First and Last Frame inputs

Every input of flymyai/wan21-flf2v-fast as its live schema lists them. Returns output (array).

InputType, values and default
# prompt
string required Default: Cars racing in slow motion
# start_image
file required Allowed: image file, as a URL or upload
# last_image
file required Allowed: image file, as a URL or upload
# negative_prompt
string optional
# num_frames
integer optional Default: 81
# frames_per_second
integer optional Default: 16
# seed
integer optional Default: 42
# resolution
string optional Default: 720p
# num_inference_steps
integer optional Default: 30
# guide_scale
number optional Default: 5.0
# shift
number optional Default: 5.0
# enable_safety_checker
boolean optional Default: true
# enable_prompt_expansion
boolean optional
# aspect_ratio
string optional Default: auto

Ask your agent

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

“Animate the photo I attach with Wan 2.1 First and Last Frame: city lights come on as dusk falls.”runs flymyai/wan21-flf2v-fast
“Turn my product shot into a clip with Wan 2.1 First and Last Frame, the camera slowly circling it.”runs flymyai/wan21-flf2v-fast
“Make a video with Wan 2.1 First and Last Frame that moves from my first picture to my second one with a smooth camera move.”runs flymyai/wan21-flf2v-fast

Wan 2.1 First and Last Frame price

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

Call Wan 2.1 First and Last Frame 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/wan21-flf2v-fast",
  "input": {
    "prompt": "Slow camera push-in with gentle, natural motion in the scene",
    "start_image": "https://example.com/photo.jpg",
    "last_image": "https://example.com/photo.jpg"
  }
}

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/wan21-flf2v-fast/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/wan21-flf2v-fast/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Slow camera push-in with gentle, natural motion in the scene' \
  -F "start_image=@photo.jpg" \
  -F "last_image=@photo.jpg"

Questions about Wan 2.1 First and Last Frame

Do I need a Alibaba API key for Wan 2.1 First and Last Frame?

No. Wan 2.1 First and Last Frame 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.1 First and Last Frame cost?

$3.00 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.1 First and Last Frame in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Animate the photo I attach with Wan 2.1 First and Last Frame: city lights come on as dusk falls." Your agent reads the inputs with get_model_schema and runs flymyai/wan21-flf2v-fast with run_model.

What does Wan 2.1 First and Last Frame need as input?

Wan 2.1 First and Last Frame requires prompt, start_image and last_image; it also takes 11 optional inputs, each listed on this page with its allowed values and default.

Can I call Wan 2.1 First and Last Frame from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/wan21-flf2v-fast/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-09: inputs from the model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.