Wan 2.7 Video Generation
Unified text, image, and reference-led video generation through the PixMind API.
Unified text, image, first/last-frame, and reference-led video generation.
Provider
AlibabaModel ID
wan2.7-videoEndpoint
POST /v1/generationsModel notes
- Use only the input fields required by the selected workflow.
- Reference video input is limited to 15 seconds.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Stable PixMind model ID. Use `wan2.7-video`. Allowed values: |
prompt | string | Yes | Natural-language generation or editing instructions. |
resolution | string | No | Output video resolution. This field affects per-second pricing. Allowed values: Default: |
duration | integer | No | Requested clip duration in seconds. Allowed values: Default: |
aspect_ratio | string | No | Requested output aspect ratio. Allowed values: Default: |
image_url | string (URI) | No | Starting image for image-to-video generation. |
callback_url | string (URI) | No | HTTPS endpoint that receives the terminal task event. Polling remains available when omitted. |
last_frame_url | string (URI) | No | Optional ending frame paired with image_url. |
reference_video_url | string (URI) | No | Reference clip for motion or scene guidance. |
reference_audio_url | string (URI) | No | Optional audio reference for supported multimodal modes. |
generate_audio | boolean | No | Generate synchronized audio when supported by the selected mode. Allowed values: Default: |
Request example
curl https://aihub-admin.aimix.pro/v1/generations \
-H "Authorization: Bearer $PIXMIND_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.7-video",
"prompt": "Move naturally from the first composition to the final product lockup",
"duration": 10,
"resolution": "1080p",
"image_url": "https://example.com/first-frame.jpg",
"last_frame_url": "https://example.com/last-frame.jpg",
"generate_audio": true
}'const response = await fetch("https://aihub-admin.aimix.pro/v1/generations", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.PIXMIND_API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "wan2.7-video",
"prompt": "Move naturally from the first composition to the final product lockup",
"duration": 10,
"resolution": "1080p",
"image_url": "https://example.com/first-frame.jpg",
"last_frame_url": "https://example.com/last-frame.jpg",
"generate_audio": true
})
});
const task = await response.json();Accepted task response
Generation is asynchronous. Save the id from the response and poll GET /v1/generations/{id} until it reaches a terminal status.
{
"id": "img_01JXYZ...",
"model": "wan2.7-video",
"status": "processing"
}API pricing
| Configuration | Price |
|---|---|
| 720p | $0.120 / second |
| 1080p | $0.240 / second |
API pricing uses the apiPlatform role and is separate from PixMind Studio credits. The accepted task response is the final pricing snapshot.