Skip to main content
POST
/
generation
/
kling-ai
/
o1
/
video
Kling O1 Video
curl --request POST \
  --url https://open.skills.video/api/v1/generation/kling-ai/o1/video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "first_frame_url": "<string>"
}
'
{
  "id": "gen_123",
  "status": "IN_QUEUE",
  "input": {
    "prompt": "a cat walking through neon rain",
    "duration": 5,
    "aspect_ratio": "16:9",
    "n": 1
  },
  "usage": {
    "total": 20,
    "subscription": 20,
    "permanent": 0
  }
}
Unified Kling O1 workflow for frame-to-video, image reference generation, video editing, and reference-video continuation.

Authorizations

Authorization
string
header
required

API Key for API endpoints

Body

prompt
string
required

Text prompt for video generation.

first_frame_url
string<uri>
required

Image to use as the first frame of the video.

feature
string

Workflow type: first/last-frame animation, image reference generation, video edit, or reference-video continuation.

Allowed value: "frame-to-video"
quality
enum<string>
default:pro

Generation quality tier.

Available options:
standard,
pro
last_frame_url
string<uri>

Optional image to use as the last frame of the video.

duration
integer
default:5

Video duration in seconds.

Required range: 3 <= x <= 10
{key}
any

Response

Generation submission accepted

id
string
required

Generation id.

status
enum<string>
required

Queue status

Available options:
IN_QUEUE,
IN_PROGRESS,
COMPLETED,
FAILED,
CANCELED
input
Frame To Video · object
required

Normalized input payload for the generation task.

usage
object
required

Credit usage breakdown for the request

code
string

Machine-readable generation error code. Present when status is FAILED.

message
string

Sanitized human-readable failure message. Present when status is FAILED.