Generate a video

Generates a video from a text prompt, optionally guided by reference images.

post/v1/videos

Request

  • Base URL: https://api.octen.ai
  • URL: https://api.octen.ai/v1/videos
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

model'minimax/minimax-h3' | 'bytedance/seedance-2.5' | 'google/veo-3.1' | 'google/veo-3.1-fast' | 'google/veo-3.1-lite' required

The model to use.

promptstring required

The text description of the video.

durationinteger

Video length in seconds. When omitted, the model default applies.

resolution'480p' | '720p' | '768p' | '1080p' | '2K'

Output resolution. When omitted, the model default applies.

aspect_ratio'16:9' | '4:3' | '1:1' | '3:4' | '9:16' | '21:9' | 'adaptive'

Aspect ratio. adaptive lets the model follow the input. When omitted, the model default applies.

generate_audioboolean

Whether to generate audio along with the video.

seedinteger

Random seed, for more reproducible results.

extra_paramsobject

Vendor-specific parameters, passed through to the upstream model without validation. Keys that duplicate a unified parameter, or that control upstream storage, notification, sample count, or platform behavior, are rejected.

Response

Successful video generation response. The task starts in queued.

idstring required

Unique task id, used to download the video.

modelstring required

The model used for this task.

status'queued' required

Task state.

createdinteger required

Unix timestamp in seconds when the task was created.

Changes

No recorded changes to this operation across all 1 revision of this API.