﻿> ## Documentation Index
>
> Fetch the complete documentation index at: https://kling.ai/document-api/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick Start

> Source: https://kling.ai/document-api/guides/get-started/quick-start
> Locale: en
> Current Tab: Quick Start
> This content is optimized for LLMs. In-page tabs are expanded and UI-only controls are omitted.

---

Below is a detailed guide for using the new system’s API services. We recommend following the steps for a smooth and efficient integration. If you have any questions, please feel free to contact our technical support team at any time.

## Step 1: Access the KlingAI API Platform

- Visit https://kling.ai/dev

|                                    KlingAI API Platform                                    |
| :----------------------------------------------------------------------------------------: |
| ![](https://p4-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/home-en.0af773f661d78b7c.png) |

## Step 2: Purchase Resource Packages

Video and Image Generation API Resource Packages are now available for purchase. Choose a plan based on your actual usage needs. We also offer a Trial Resource Package for integration testing and quick onboarding. For details, visit the pricing page.

- Video Generation API Purchase Portal：https://kling.ai/dev/pricing?scrollTo=video
- Image Generation API Purchase Portal：https://kling.ai/dev/pricing?scrollTo=image

|                              Video Generation API Resource Package                               |                              Image Generation API Resource Package                               |
| :----------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------: |
| ![](https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/home-video-en.575ea72f522de4a1.png) | ![](https://p4-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/home-image-en.8fc3d3f59c6f5c43.png) |

## Step 3: Log into the Developer Console

1. Visit https://kling.ai/dev/api-key

|                                   the Developer Console                                    |
| :----------------------------------------------------------------------------------------: |
| ![](https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/list-en.de4d87f56beb37a2.png) |

2. Log in using your email. Your console account is the same as your Kling AI web account.

## Step 4: Set up API Authentication

Obtain API Key

Create and name your API key for easy management. You can copy the API Key with one click.

| Create API Key                                                                               | Copy API Key                                                                               | Manage API Key                                                                             |
| :------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------- |
| ![](https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/rename-en.82846ac0c782e506.png) | ![](https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/copy-en.98d0b705a1694442.png) | ![](https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/list-en.de4d87f56beb37a2.png) |

1. Open the Kling AI console and log in.

2. Click the "**+ Create a new API Key**" button.

3. In the popup, name your **API Key** and confirm. The **API Key** will then be displayed on the page.

4. Copy the **API Key**. It will only be shown once — please store it securely.

5. Add the **API Key** to the **Request Header** as an **Authorization** field.

- Format: **Authorization = "Bearer XXX"**, where XXX is the **API Key** obtained in Step 1 (Note: include a space between "Bearer" and the key.)

## Step 5: Call the API Service

> API Domain: `https://api-singapore.klingai.com`

## Step 6: Monitor Usage in the Console

| View API Call Volume & Trends                                                           | View Resource Package Consumption & Trends                                              | Query unit deduction details                                                            | Query balance deduction details                                                         |
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| ![](https://p4-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/1-en.a8f3887ca601e85b.png) | ![](https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/2-en.33bacaab370f56fd.png) | ![](https://p4-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/3-en.120863d33bf0b275.png) | ![](https://p4-kling.klingai.com/kcdn/cdn-kcdn112452/api-doc/4-en.e489e90ff2489f14.png) |
