Skip to main content
POST
/
v1beta
/
models
/
{model}
:predictLongRunning
Create video (Omni and Veo formats)
curl --request POST \
  --url https://api.aiid.edu.kg/v1beta/models/{model}:predictLongRunning \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instances": [
    {
      "prompt": "A cinematic aerial shot of a modern city at sunrise",
      "referenceImages": [
        {
          "image": {
            "inlineData": {
              "mimeType": "image/png",
              "data": "BASE64_IMAGE_DATA"
            }
          },
          "referenceType": "asset"
        }
      ]
    }
  ],
  "parameters": {
    "aspectRatio": "16:9",
    "durationSeconds": 5,
    "resolution": "720p"
  }
}
'
{
  "name": "models/veo3.1-fast/operations/abc123"
}

Authorizations

Authorization
string
header
required

Use Bearer Token authentication. Format: Authorization: Bearer sk-xxxxxx

Path Parameters

model
enum<string>
required

Veo Model name.

Available options:
veo3,
veo3-fast,
veo3-fast-frames,
veo3-frames,
veo3-pro,
veo3-pro-frames,
veo3.1,
veo3.1-4k,
veo3.1-components,
veo3.1-fast,
veo3.1-pro,
veo3.1-pro-4k
Example:

"veo3.1-fast"

Body

application/json
instances
object[]
required
Minimum array length: 1
parameters
object

Response

200 - application/json

Reserved success response structure. Currently provided for protocol documentation only; actual calls are not supported.

name
string
required

The operation name, used for subsequent status queries.

Example:

"models/veo3.1-fast/operations/abc123"