Task: Start/End Frame Video
Overview
- Method:
POST - Path:
/task/vidu/start-end2video - Content-Type:
application/json - Tags: Video Models (Video) / Vidu Video
Authentication
- Header:
Authorization: Bearer <token>
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | vidu2.0 / vidu1.5 |
| images | array[string] | Yes | 2 images (start/end), URL or Base64, aspect ratio 1:1 or 4:1, resolution ratio within 0.8~1.25 |
| prompt | string | No | Text description, recommended up to 1500 characters |
| duration | integer | Yes | 4 or 8 |
| seed | integer | No | Random seed |
| resolution | string | Yes | 360p / 720p / 1080p (vidu2.0 4s only supports 720p) |
| movement_amplitude | string | No | auto / small / medium / large |
| callback_url | string | No | Callback URL (POST, status: processing/success/failed) |
Example Request
bash
curl -X POST "https://api.gpt.ge/task/vidu/start-end2video" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-xxxx" \
-d '{
"model":"vidu2.0",
"images":["https://p1...start.png","https://p1...end.png"],
"prompt":"A girl walks gracefully toward the camera...",
"duration":4,
"resolution":"720p"
}'Success Response Example
json
{
"task_id":"809xxx",
"type":"startend2video",
"state":"created",
"model":"vidu2.0",
"prompt":"A girl walks gracefully...",
"images":["...","..."],
"duration":4,
"seed":0,
"aspect_ratio":"16:9",
"resolution":"720p",
"movement_amplitude":"auto",
"created_at":"2025-..."
}