Videos

Generate a video using text, optional image input, optional audio input, or uploaded files.

post/videos/generations

Request

Request body

modelstring required

The video generation model to use.

promptstring

Optional text prompt describing the video to generate.

durationinteger

Duration of the generated video in seconds.

resolutionstring

Output video resolution.

fpsinteger

Frames per second for the generated video.

aspect_ratiostring

Aspect ratio of the output video.

imagestring nullable

Optional input image URL to guide or initialize video generation.

audiostring nullable

Optional input audio URL to include in the generated video.

draftboolean

Whether to generate a draft/preview version of the video.

save_audioboolean

Whether to retain the provided audio in the final generated video.

prompt_upsamplingboolean

Whether to automatically enhance or expand the prompt before generation.

Example request

{
  "model": "p-video",
  "prompt": "A butterfly flying through a flower garden",
  "duration": 5,
  "resolution": "720p",
  "fps": 24,
  "aspect_ratio": "16:9",
  "image": "https://example.com/input-image.jpg",
  "audio": "https://example.com/audio.mp3"
}

Response

Video generated successfully

createdinteger

Unix timestamp when the video generation request was created.

Example response

{
  "created": 1710000000,
  "data": [
    {
      "url": "https://cdn.qubrid.com/generated/video.mp4"
    }
  ]
}

Changes

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status