メインコンテンツへスキップ
POST
/
kling
/
v1
/
videos
/
image2video
curl --request POST \
  --url 'https://api.elkapi.com/kling/v1/videos/image2video' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "kling-v3",
  "prompt": "日差しのある庭を走る小さな子猫、映画的、高精細",
  "image": "https://example.com/image.png",
  "duration": 5,
  "response_format": "json",
  "metadata": {}
}'
{
  "task_id": "task_1234567890",
  "status": "queued"
}

Documentation Index

Fetch the complete documentation index at: https://docs.elkapi.com/llms.txt

Use this file to discover all available pages before exploring further.

curl --request POST \
  --url 'https://api.elkapi.com/kling/v1/videos/image2video' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "kling-v3",
  "prompt": "日差しのある庭を走る小さな子猫、映画的、高精細",
  "image": "https://example.com/image.png",
  "duration": 5,
  "response_format": "json",
  "metadata": {}
}'
{
  "task_id": "task_1234567890",
  "status": "queued"
}

Authorizations

Authorization
string
必須
すべてのエンドポイントで Bearer Token 認証が必要です。リクエストヘッダーに追加します:
Authorization: Bearer YOUR_API_KEY

Body

model
string
デフォルト:"kling-v3"
モデル/スタイルID例:kling-v3
prompt
string
テキストプロンプト例:宇宙飛行士が立ち上がって歩き去った
image
string
画像入力(URLまたはBase64)例:https://example.com/image.jpg
duration
number
動画の長さ(秒)例:5
width
integer
動画の幅例:1280
height
integer
動画の高さ例:720
fps
integer
動画フレームレート例:30
seed
integer
ランダムシード例:20231234
n
integer
生成する動画数例:1
response_format
string
レスポンス形式例:url
user
string
ユーザー識別子例:user-1234
metadata
object
拡張パラメーター(negative_prompt、style、quality_level など)

Response

task_id
string
タスクID例:abcd1234efgh
status
string
タスク状態例:queued