Veo 3.1 Video Generation
Generate cinematic text- or image-guided video with synchronized audio through the PixMind API.
Cinematic text- or image-guided video generation with synchronized audio and endpoint-frame control.
Provider
GoogleModel ID
veo-3.1Endpoint
POST /api-platform/v1/generationsModel notes
- The current quality route supports clips up to 8 seconds.
- 4K uses a higher per-second pricing tier.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Stable PixMind model ID. Use `veo-3.1`. 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: |
aspectRatio | string | No | Requested output aspect ratio. Allowed values: Default: |
imageUrl | string (URI) | No | Starting image for image-to-video generation. |
last_frame_url | string (URI) | No | Optional ending-frame image used with imageUrl. |
generateAudio | boolean | No | Generate synchronized audio when supported by the selected mode. Allowed values: Default: |
Request example
curl https://aihub-admin.aimix.pro/api-platform/v1/generations \
-H "Authorization: Bearer $PIXMIND_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "veo-3.1",
"prompt": "A cinematic product reveal with a slow camera push and synchronized studio ambience",
"duration": 8,
"resolution": "1080p",
"aspectRatio": "16:9",
"generateAudio": true
}'const response = await fetch("https://aihub-admin.aimix.pro/api-platform/v1/generations", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.PIXMIND_API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "veo-3.1",
"prompt": "A cinematic product reveal with a slow camera push and synchronized studio ambience",
"duration": 8,
"resolution": "1080p",
"aspectRatio": "16:9",
"generateAudio": true
})
});
const task = await response.json();Accepted task response
Generation is asynchronous. Save taskId and poll GET /api-platform/v1/tasks/{taskId} until status is ready or failed.
{
"code": 1000,
"data": {
"id": "img_44160",
"taskId": 44160,
"type": "video",
"model": "veo-3.1",
"status": "processing"
}
}API pricing
| Configuration | Price |
|---|---|
| 720p or 1080p | $0.360 / second |
| 4K | $0.520 / second |
API pricing uses the apiPlatform role and is separate from PixMind Studio credits. The accepted task response is the final pricing snapshot.