界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

kling-o1-reference-image-to-video

kling-o1-reference-image-to-video

【效率与协作】Kling O1 | Reference Image to Video. Generate videos using reference images and elements. Triggers: reference to video, kling, o1, video generation, character consistency

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: kling-o1-reference-image-to-video description: "Kling O1 | Reference Image to Video. Generate videos using reference images and elements. Triggers: reference to video, kling, o1, video generation, character consistency" allowed-tools: Bash(curl *), WebFetch

Kling O1 | Reference Image to Video

Generate videos using reference images and elements for consistent character/object appearance. Reference elements with @Element1 and images with @Image1 in prompts.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "kling-o1-reference-image-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "@Element1 walks through a busy marketplace, cinematic",
      "elements": [{"image_url": "https://example.com/character.jpg"}],
      "aspect_ratio": "16:9",
      "duration": 5
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9The aspect ratio of the generated video frame. enum: 16:9, 9:16, 1:1
durationinteger5Duration of the video in seconds.
elementsarrayElements (characters/objects) to include in the video.
image_urlsarrayReference images for style/appearance.
promptstringTake @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images.

Examples

Character animation with reference:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "kling-o1-reference-image-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "@Element1 dances gracefully on stage under spotlight",
      "elements": [{"image_url": "https://example.com/dancer.jpg"}],
      "aspect_ratio": "9:16",
      "duration": 10
    }
  }'

Multi-element scene:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "kling-o1-reference-image-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "@Element1 and @Element2 meeting at a park, friendly conversation",
      "elements": [{"image_url": "https://example.com/person1.jpg"}, {"image_url": "https://example.com/person2.jpg"}],
      "image_urls": ["https://example.com/park-style.jpg"],
      "aspect_ratio": "16:9",
      "duration": 5
    }
  }'

Related Models

Documentation

我的收藏