메인 콘텐츠로 건너뛰기
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