Overview

Generate 5s and 10s videos in 720p and 1080p resolution from a starting image using Kling v2.1
  • Output Type: video
  • Base Model: kling
  • Estimated Cost: mode == “pro” ? 9 * duration : 5 * duration credits
  • Handler: replicate

Parameters

Required Parameters

prompt
string
required
Text description for video generation
Describe the video you want to generate in detail. Be specific about actions, movements, and visual elements.
  • Label: Prompt
start_image
image
required
First frame of the video (required)
This image will be used as the first frame of the video. The model will animate from this starting point based on your prompt.
  • Label: Starting image
mode
string
default:"pro"
required
Video quality mode
Standard: 720p resolution, faster and cheaper. Pro: 1080p resolution, higher quality but more expensive.
  • Label: Mode
  • Options: standard, pro
duration
integer
default:5
required
Duration of the video in seconds
  • Label: Duration
  • Options: 5, 10

Optional Parameters

end_image
image
Last frame of the video (optional)
This image will be used as the last frame of the video. The model will animate to this ending point based on your prompt.
  • Label: Ending image
negative_prompt
string
Optional negative text prompt
Describe anything you do NOT want to appear in the video or any behaviors to avoid.
  • Label: Negative prompt