Skip to main content
Configure your Kling AI API credentials to use Kling’s AI services and models from your Jinba Flow workflows.

Prerequisites

  • A Kling AI account
  • Access to Kling AI API

Getting Your API Key

  1. Visit the Kling AI website
  2. Sign in to your account or create a new one
  3. Navigate to your account settings or API section
  4. Click “Generate API Key” or “Create new API key”
  5. Give your API key a descriptive name
  6. Copy the generated API key (you’ll only see it once)

API Features

Jinba Flow uses Kling AI for video generation through the KLING_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

  1. Go to your workspace settings in Jinba Flow
  2. Navigate to the “Secret” section
  3. Find “Kling” in the list of available credentials
  4. Click “Configure” or “Add New”
  5. Enter your Kling AI API key in the designated field
  6. Click “Save” to store your credentials

Usage

Select the saved secret (type KLING_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.