Alibaba logoAlibabaVideo2 routes

Wan 2.7 Edit API

Wan 2.7 Edit API costs $0.0896 / sec on MartLLM (as of November 30, 2026). Make videos with Wan 2.7 Edit through MartLLM.

wan/wan-2-7-video-to-videoConnect to ClaudeGet an API key
Show more

Made by Alibaba. MartLLM does not run this model. Here, sellers serve it through their own provider accounts.

Wan 2.7 Edit pricing

Request

curl https://api.martllm.com/v1/video/generations \
  -H "Authorization: Bearer $MARTLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan/wan-2-7-video-to-video",
  "prompt": "The camera keeps moving forward and the scene carries on: same people, same light, same style.",
  "video_url": "https://example.com/clip.mp4"
}'

# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}

Set MARTLLM_API_KEY to your key. Ask /v1/video/generations/<job id> every 5 seconds until status is "succeeded", then download the file with your key. A job that fails says why and costs nothing. Full API guide

Options

Tasks
Makes your video longer
Billing unit
per second added to your video
Model id
wan/wan-2-7-video-to-video

Try Wan 2.7 Edit

Settings

Your video

MP4 or MOV. From your computer up to 10 MB; for a bigger video (up to 50 MB), paste a link.

The same request as the settings on the left, ready to copy.

curl https://api.martllm.com/v1/video/generations \
  -H "Authorization: Bearer $MARTLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan/wan-2-7-video-to-video",
  "prompt": ""
}'

# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}

Wan 2.7 Edit API parameters

ParameterTypeWhat it does
modelwan/wan-2-7-video-to-videoRequired
promptstringRequired. What to change in the video, e.g. "make it snow".
video_urlstringRequired. The video to change: an https:// link, a data: URI or a file id from POST /v1/files. MP4 or MOV, up to 50 MB. Billed per second of this video.

Read from GET https://api.martllm.com/v1/models/wan/wan-2-7-video-to-video: the same rules the API checks every request against.

Wan models compared

ModelModel idFrom, a secondUp toLongest
Wan 2.7 Editwan/wan-2-7-video-to-video$0.0896
Wan 2.7 Text-to-Videowan/wan-2-7-text-to-video$0.08961080p15 s
Wan 2.5 Preview Text-to-Videowan/wan-2-5-preview-text-to-video$0.06711080p10 s
Wan 2.6 Text-to-Videowan/wan-2-6-text-to-video$0.06711080p15 s
Wan 2.6 Flash Image-to-Videowan/wan-2-6-flash-image-to-video$0.0341080p15 s
Wan 2.7 (image-to-video)wan/wan-2-7-image-to-video$0.08961080p15 s
Wan 2.5 Preview (image-to-video)wan/wan-2-5-preview-image-to-video$0.0471080p10 s
Wan 2.6 (image-to-video)wan/wan-2-6-image-to-video$0.06711080p15 s
Wan 3.0 Reference-to-Videowan/wan-3-0-reference-to-video$0.03321080p30 s
Wan 3.0wan/wan-3-0$0.03321080p30 s

Wan 2.7 Edit API FAQ

How much does Wan 2.7 Edit cost per second?

On November 30, 2026, Wan 2.7 Edit costs from $0.0896 per second of video through MartLLM. The rate rises with resolution and with sound, and the reply to a request states the most it can cost. A video that fails costs nothing, and MartLLM adds no fee.

How do I make a video with Wan 2.7 Edit?

Send a POST to https://api.martllm.com/v1/video/generations with your MartLLM key, model "wan/wan-2-7-video-to-video", your video as "video_url" (an https:// link, a data: URI or a file id from /v1/files; MP4 or MOV, up to 50 MB), a prompt saying what happens next and "duration_seconds", the seconds to add. It is billed per second added, not by the length of your video. You get a job id back; ask https://api.martllm.com/v1/video/generations/<job id> until it says "succeeded", then download it from https://api.martllm.com/v1/media/artifacts/<job id>/0.

Are there other fees?

MartLLM adds no fee to model prices. A card fee of 5.5% + $0.50 is added when you buy credit, and a request that fails is not billed.

Guides

Compare with similar models

Embed this price

Show these prices on your own site. The table reads the current prices from MartLLM, so it stays up to date.

Script: the table sets its own height

<script async src="https://martllm.com/embed.js" data-models="wan/wan-2-7-video-to-video"></script>

Plain iframe, for sites that allow no scripts

<iframe src="https://martllm.com/embed/prices?models=wan/wan-2-7-video-to-video" title="AI model API prices" width="100%" height="127" loading="lazy" style="border:0;max-width:720px"></iframe>

Price badge for a README (Markdown)

[![Wan 2.7 Edit API price on MartLLM](https://api.martllm.com/api/v1/public/badge/wan/wan-2-7-video-to-video.svg)](https://martllm.com/models/wan/wan-2-7-video-to-video?utm_source=embed&utm_medium=referral&utm_campaign=price-badge)

Every option is in the embed docs.