Wan 2.7 Video API
Generate, edit, reference, or continue video through one flexible model.
- Text to video
- Image to video
Wan 2.7 Video playground
Input
Text prompt. Required for text-to-video, reference-to-video and edit-video; optional for image-to-video.
Image-to-video frames. First URL is the starting frame, an optional second URL is the ending frame. Providing this selects the image-to-video workflow.
Reference images for the reference-to-video workflow. Requires a prompt.
Reference videos for the reference-to-video workflow. Requires a prompt.
Source video to edit. Providing this selects the edit-video workflow (requires a prompt).
Optional reference image guiding the edit-video workflow.
Source video to continue or extend. Selects the video-continuation workflow. Cannot be combined with imageUrls or audioUrl. Supported duration is 2-10 seconds.
Optional audio URL (text-to-video and image-to-video workflows).
Runs are charged to your balance.
Output

Output will appear here.
Check the price and run the model. Your result will appear here; browser use does not need an API key.
Wan 2.7 Video API pricing
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "wan2.7-video",6 "input": {7 "size": "16:9",8 "resolution": "720p"9 }10 }'
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | No | — | Text prompt. Required for text-to-video, reference-to-video and edit-video; optional for image-to-video. |
imageUrls | string[] | No | — | Image-to-video frames. First URL is the starting frame, an optional second URL is the ending frame. Providing this selects the image-to-video workflow. |
referenceImageUrls | string[] | No | — | Reference images for the reference-to-video workflow. Requires a prompt. |
referenceVideoUrls | string[] | No | — | Reference videos for the reference-to-video workflow. Requires a prompt. |
editVideoUrl | string | No | — | Source video to edit. Providing this selects the edit-video workflow (requires a prompt). |
referenceImageUrl | string | No | — | Optional reference image guiding the edit-video workflow. |
continueVideoUrl | string | No | — | Source video to continue or extend. Selects the video-continuation workflow. Cannot be combined with imageUrls or audioUrl. Supported duration is 2-10 seconds. |
audioUrl | string | No | — | Optional audio URL (text-to-video and image-to-video workflows). |
size | string | No | 16:9 | Aspect ratio (text-to-video, reference-to-video and edit-video). Ignored for image-to-video, where it is derived from the input frames.One of: 16:9, 9:16, 1:1, 4:3, 3:4 |
resolution | string | No | 720p | Output resolutionOne of: 720p, 1080p |
duration | number | No | — | Video duration in seconds (2-15). Allowed values depend on the resolved workflow: text-to-video accepts 5/10/15, image-to-video 2-15, reference-to-video 2-10, edit-video 0 or 2-10 (0 lets PoYo detect the source video duration). |
multiShots | boolean | No | — | Enable multi-shot generation (image, reference and edit workflows). |
audioSetting | string | No | — | Audio setting for the edit-video workflow. |
seed | number | No | — | Random seed for controlling randomness |
enableSafetyChecker | boolean | No | — | Enable the model's safety checker |
Frequently asked questions
How much does Wan 2.7 Video cost?
Wan 2.7 Video starts at $0.086 per second of output on API Stock. The final charge depends on the selected settings.
When was Wan 2.7 Video released?
Wan 2.7 Video was released on April 7, 2026 and is available through API Stock.
How do I get an API key for Wan 2.7 Video?
Create an account and API key on API Stock, then fund your balance. The same key works with Wan 2.7 Video and other catalog models.
How do I call the Wan 2.7 Video API?
POST to https://api.api-stock.com/api/v1/generation/create with your API key and model "wan2.7-video". Use the returned task id for polling or receive a webhook.
What input parameters does Wan 2.7 Video accept?
Wan 2.7 Video accepts 15 input parameters. See their types, defaults and allowed values above.
What happens if a Wan 2.7 Video request fails?
API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use Wan 2.7 Video with the same API key as other models?
Yes. Use your API Stock API key and balance for Wan 2.7 Video and other catalog models.
Other Video models
- Wan 3.0 VideoAlibaba$0.045/ second
- FLUX 3 VideoBlack Forest Labs$0.06/ second
- Kling 3.0 Motion ControlKling$0.065/ second
- Seedance 1.5 ProByteDance$0.065/ generation
- Wan 3.0 Video PrimeAlibaba$0.074/ second
- Wan 3.0 ProAlibaba$0.086/ second
- Kling 3.0Kling$0.091/ second
- Seedance 2.0ByteDance$0.091/ second
- Veo 3.1 LiteGoogle$0.1/ generation
Guides
- Text to videoWhich text-to-video model fits the shot you have in mind, prompts that actually work, and the full API run from create to finished file.8 min read
- Image to videoTurning a still into a shot — which model to animate it with, first and last frame control, motion transfer, and the prompts that keep the subject intact.7 min read
- Give your coding agent image, video and music toolsConnect Claude Code, Codex, OpenCode or OpenClaw to API Stock and use generated media in a page, app or content draft.3 min read
