Videos

Generate a video

Start an async video generation job that spends video credits. Poll with getVideoStatus; the finished video is saved as a draft and is not published.

post/v1/videos/generate

Request

  • Base URL: https://www.postquick.ai/api
  • URL: https://www.postquick.ai/api/v1/videos/generate
  • Auth: HTTP bearer

Request body

contentGroupIdstring required
promptstring required

Description of the video content to generate

modelstring

A model id from GET /v1/models?kind=video (cost shown there), or a built-in name: veo-3.1-fast-generate-preview (default, 1 credit), veo-3.1-generate-preview (3), sora-2 (1), sora-2-pro (3).

aspectRatio'9:16' | '16:9'

Default: 9:16

durationinteger

Seconds. Default 8. Must be a length the model supports (see durations in listModels). Built-in Veo models: 4, 6, or 8; Sora: 4, 8, or 12.

Response

Video generation started.

successtrue required

Changes

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