Prerequisites
- A Kling AI account
- Access to Kling AI API
Getting Your API Key
- Visit the Kling AI website
- Sign in to your account or create a new one
- Navigate to your account settings or API section
- Click “Generate API Key” or “Create new API key”
- Give your API key a descriptive name
- Copy the generated API key (you’ll only see it once)
API Features
Jinba Flow uses Kling AI for video generation through theKLING_TEXT_TO_VIDEO tool, which turns a text prompt into a video. Its inputs are prompt, duration, aspect_ratio, negative_prompt, cfg_scale and model.
Setting Up in Jinba Flow
- Go to your workspace settings in Jinba Flow
- Navigate to the “Secret” section
- Find “Kling” in the list of available credentials
- Click “Configure” or “Add New”
- Enter your Kling AI API key in the designated field
- Click “Save” to store your credentials
Usage
Select the saved secret (typeKLING_API_KEY) in the Kling AI API Key field (api_key config) of KLING_TEXT_TO_VIDEO. See the video generation tools page for the tool inputs and output.