Wan 2.7 Video
Generate, edit, reference, or continue video through one flexible model.
- Text to video
- Image to 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.
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.09 per generation through the API Stock API. You pay per use from a single prepaid balance — there is no subscription — and the final price scales with parameters such as resolution or duration.
How do I call the Wan 2.7 Video API?
Send a POST request to https://api.api-stock.com/api/v1/generation/create with your API key and the model id "wan2.7-video". The call returns a task id you poll, or a webhook callback when the result is ready. A ready-to-run example is in the quick start above.
What input parameters does Wan 2.7 Video accept?
Wan 2.7 Video accepts 15 input parameters. Their types, defaults and allowed values are listed in the parameters table 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. Every model on API Stock — video, image, music and chat — shares one API key and one prepaid balance, so you can switch to Wan 2.7 Video without new credentials.