Skip to content

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

ParameterTypeRequiredDescription
modelstringYesvidu2.0 / vidu1.5
imagesarray[string]Yes2 images (start/end), URL or Base64, aspect ratio 1:1 or 4:1, resolution ratio within 0.8~1.25
promptstringNoText description, recommended up to 1500 characters
durationintegerYes4 or 8
seedintegerNoRandom seed
resolutionstringYes360p / 720p / 1080p (vidu2.0 4s only supports 720p)
movement_amplitudestringNoauto / small / medium / large
callback_urlstringNoCallback 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-..."
}