Overview
Generate a video from text and an optional input image with Kling- Output Type: video
- Base Model: kling
- Estimated Cost: quality == “high” ? 25 * duration : 10 * duration credits
- Handler: replicate
Parameters
Required Parameters
Text prompt
- Label: Prompt
Width/height (ignored when using a starting image)
- Label: Aspect ratio
- Options:
16:9,1:1,9:16
The quality of the Kling video model.
- Label: Quality
- Options:
high,medium,low
Duration of the video in seconds
- Label: Duration
- Options:
5,10
Optional Parameters
Negative text prompt
- Label: Negative prompt
First frame of the video to use as a keyframe
- Label: Starting image
Last frame of the video to use as a keyframe (quality=medium only, not supported for high or low)
- Label: Ending image
Flexibility in video generation; The higher the value, the lower the model’s degree of flexibility, and the stronger the relevance to the user’s prompt.
- Label: Guidance scale
- Minimum: 0
- Maximum: 1

