동영상Kuaishou신규

Kling 4.0

샷별 프롬프트를 지원하는 멀티모달 비디오, 최대 30초

model: "kling-4"

API 문서에이전트 문서

모드

하나의 모델 ID, 아래의 모든 모드. 전송하는 필드가 모드를 선택하고, 가격은 모드에 따릅니다.

모드선택 기준일반 가격
텍스트를 비디오로prompt
요청 예시
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.785
이미지를 비디오로image_url
요청 예시
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.785
첫 번째 및 마지막 프레임image_urlend_image_url
요청 예시
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "end_image_url": "https://example.com/image-2.jpg"
  }
}
$0.785
참조를 비디오로reference_imagesvideo_urls
요청 예시
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk",
    "reference_images": [
      "https://example.com/image.jpg",
      "https://example.com/image-2.jpg"
    ]
  }
}
$0.785

입력

필수

Prompt

선택사항

First frame to animate (image-to-video). Leave it out for text-to-video.

선택사항

Reference images (https URLs). Two or more images in total (with image_url) make a reference video: the subjects and style are carried into a new scene rather than animated from the first frame.

선택사항

Last frame (https URL). Sent with image_url, the video moves from the first frame to this one.

선택사항

Reference videos (https URLs) for motion or style. Selects reference video.

선택사항
5

Duration (seconds)

선택사항

Aspect Ratio

결과

예시 결과물

이 모델의 실제 결과입니다. 실행하여 여기서 당신의 결과를 확인하세요.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-4",
  "input": {
    "prompt": "One continuous shot tracking sideways along the lip of a stone weir in heavy flow, the sheet of water folding over the edge in a smooth glassy curve before breaking into white turbulence below, spray hanging in cold morning light, wet dark granite and moss at the margins, the camera gliding at a steady pace the whole way, every strand of the falling water resolved and stable"
  }
}'