Wan · Edit Video
fal-ai/wan/v2.7/edit-videoEdit and transform video with Wan · Edit Video from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
Up to $11.70 per run at the default inputs for 60 seconds of input. resolution: 720p $7.80, 1080p (default) $11.70. Per unit of duration: 720p $0.13, 1080p (default) $0.195.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 930 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Editing instruction or style transfer description. |
video_url required | URL or file | — | URL of the input video to edit. Format: MP4, MOV. Duration: 2-10s. Max 100 MB. Max file size: 100.0MB, Min duration: 2s, Max duration: 10s, Timeout: 30.0s |
reference_image_url | text | — | Reference image URL for reference-based editing. |
resolution | one of 720p, 1080p | 1080p | Output video resolution tier. |
aspect_ratio | one of 16:9, 9:16, 1:1, 4:3, 3:4 | — | Aspect ratio of the generated video. If not provided, uses the aspect ratio of the input video. |
duration | one of 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 | 0 | Output video duration in seconds. Default 0 means match input video duration. When set (2-10), truncates from the start. |
audio_setting | one of auto, origin | auto | Audio handling. 'auto': model decides whether to regenerate audio. 'origin': preserve original audio from input video. |
seed | number (whole) | — | Random seed for reproducibility (0-2147483647). |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "fal-ai/wan/v2.7/edit-video",
"input": {
"prompt": "Transform the entire scene into a beautiful watercolor painting style. Soft brushstrokes, flowing paint washes, visible paper texture. Colors should bleed and…",
"video_url": "https://v3b.fal.media/files/b/0a940a70/s4jC3lmmbU8Q6xM-SFtWB_m5JJudvy.mp4"
}
}'Frequently asked questions
How much does Wan · Edit Video cost?
Up to $11.70 per run at the default inputs for 60 seconds of input. `resolution`: 720p $7.80, 1080p (default) $11.70. Per unit of `duration`: 720p $0.13, 1080p (default) $0.195. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Wan · Edit Video through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/wan/v2.7/edit-video"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Wan · Edit Video?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Wan · Edit Video?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.