image-to-video
kling-o1-std
background_tasks

Kling O1 Standard - Create video from image

post/v1/ai/image-to-video/kling-o1-std

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/ai/image-to-video/kling-o1-std
  • Auth: API key in header x-magnific-api-key

Request body

webhook_urlstring uri

Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.

promptstring

Text prompt describing the desired motion in the video.

Examples:

  • "Camera slowly pans across the landscape"
  • "Person walks toward the camera with soft wind blowing"
  • "Gentle zoom into the subject with bokeh effect"
first_framestring

First frame image (starting point of the video).

Supported formats:

  • URL (must be publicly accessible)
  • Base64 encoded image

Requirements:

  • Minimum resolution: 300x300px
  • Maximum file size: 10MB
last_framestring

Last frame image (ending point of the video).

Supported formats:

  • URL (must be publicly accessible)
  • Base64 encoded image
aspect_ratio'16:9' | '9:16' | '1:1'

Video aspect ratio:

  • 16:9: Widescreen
  • 9:16: Vertical
  • 1:1: Square
duration'5' | '10'

Video duration in seconds.

  • 5: 5-second video
  • 10: 10-second video

Example request

{
  "webhook_url": "https://www.example.com/webhook",
  "first_frame": "https://example.com/start-image.jpg",
  "last_frame": "https://example.com/end-image.jpg"
}

Response

OK

unknown required

Changes

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