Table of contents

  1. Avatars 2.0 with Lip-Sync
  2. Video O1 with Images and Elements
  3. Video O1 Element Transitions
  4. Video O1 Start/End Frames
  5. Video O1 with Video Reference
  6. Image O1 with Elements

Kling API v1 now supports Elements and Avatars 2.0 for creating reusable character/object references and AI-powered lip-sync video generation.

Elements are saved character/object references that can be reused across multiple O1 generations using the @element_N syntax. Create elements with POST /elements, then reference them in POST /images/omni and POST /videos/omni.

Avatars 2.0 are digital characters that can be animated with AI-powered lip-sync using POST /avatars/video. Create avatars from any image with POST /avatars.

Avatars 2.0 with Lip-Sync

Create talking avatars from any image with AI-powered lip-sync and TTS.

Avatar Image: Vlogger

curl -X POST "https://api.useapi.net/v1/kling/avatars/video" \
  -H "Authorization: Bearer user:12345-..." \
  -H "Content-Type: application/json" \
  -d '{
    "avatarId": "your_avatar_id",
    "prompt": "She is holding hot coffee cup in her hands and smiling.",
    "text": "Hello there! What is your name?",
    "ttsSpeed": 1.2,
    "ttsSpeaker": "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8"
  }'

Result:

Video O1 with Images and Elements

Mix reference images with saved elements for video generation.

Reference Images: @image_1@image_2

Element: @element_1

curl -X POST "https://api.useapi.net/v1/kling/videos/omni" \
  -H "Authorization: Bearer user:12345-..." \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "@image_1 and @element_1 practicing hand-to-hand combat training at @image_2",
    "duration": "3",
    "aspect_ratio": "16:9",
    "image_1": "https://s21-kling.klingai.com/.../actor.jpg",
    "image_2": "https://s21-kling.klingai.com/.../scene.jpg",
    "element_1": "u_lady_element_id"
  }'

Result:

Video O1 Element Transitions

Create magical transitions between elements.

Elements: @element_1@element_2

curl -X POST "https://api.useapi.net/v1/kling/videos/omni" \
  -H "Authorization: Bearer user:12345-..." \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "@element_1 magically transition to @element_2",
    "duration": "5",
    "aspect_ratio": "9:16",
    "element_1": "u_lady_element_id",
    "element_2": "u_costume_element_id"
  }'

Result:

Video O1 Start/End Frames

Generate video transitions between start and end frame images.

Frame Images: frame_startframe_end

curl -X POST "https://api.useapi.net/v1/kling/videos/omni" \
  -H "Authorization: Bearer user:12345-..." \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "@image_1 magically transition to @image_2",
    "duration": "4",
    "aspect_ratio": "9:16",
    "frame_start": "https://s21-kling.klingai.com/.../lady.jpg",
    "frame_end": "https://s21-kling.klingai.com/.../super_woman.jpg"
  }'

Result:

Video O1 with Video Reference

Combine elements with video references to transfer motion.

Element: @element_1

Video: [@video_1]
curl -X POST "https://api.useapi.net/v1/kling/videos/omni" \
  -H "Authorization: Bearer user:12345-..." \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "@element_1 dancing like @video_1",
    "element_1": "u_lady_element_id",
    "video_1": "https://s21-kling.klingai.com/.../cool_dance_moves.mp4"
  }'

Result:

Image O1 with Elements

Combine reference images and saved elements in a single prompt for complex compositions.

Reference Images: @image_1@image_2

Elements: @element_1@element_2@element_3

curl -X POST "https://api.useapi.net/v1/kling/images/omni" \
  -H "Authorization: Bearer user:12345-..." \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Lady warrior @image_1 and her friend @element_1 who is wearing dress @element_2 fight against the alien @element_3 at the factory @image_2, epic poster",
    "aspect_ratio": "16:9",
    "unlimited": true,
    "image_1": "https://s21-kling.klingai.com/.../actor.jpg",
    "image_2": "https://s21-kling.klingai.com/.../scene.jpg",
    "element_1": "u_lady_element_id",
    "element_2": "u_costume_element_id",
    "element_3": "u_warrior_element_id"
  }'

Result: Image O1 Result

Key endpoints: