Kling Video Generation API
Kling AI video generation service with text-to-video, image-to-video, motion control, and video extension.
API home page: Ace Data Cloud - Kling Video Generation
Keywords: kling-ai, ai-video, video-generation, text-to-video, image-to-video, motion-control, rest-api, ai-api, aivideo, AI API, REST API, Developer API, Ace Data Cloud
Get your Ace Data Cloud API key
- Open Ace Data Cloud → Applications. Sign in, or register an account first.
- Find General application. If it has not been created, choose Initialize General Application. A general key can use the services available to your account; a dedicated application's key is limited to its service. Check the required service/model access and current pricing.
- Copy the API Key from the application card, or open Keys / Manage Keys → Create to create a separate key for this integration. Give it a recognizable name so you can revoke or rotate it independently.
- When creating a key, review Expiration Time, Set Usage Limitation, and Allowed APIs. Enable only the restrictions you need, allow the operations you will call, then click Create and copy the token from the key list. Task lookup does not grant permission to submit a generation. Confirm the application's balance can cover your first request; any trial allowance is whatever your account currently displays.
- Copy only the token value, without quotation marks, spaces, or
Bearer . An API Key / API Token field expects this raw value; only a manually configured HTTP Authorization header needs the Bearer prefix. A platform-... account-management token cannot replace a generation API key.


Save the key in the client's credential store or the environment variable shown below. Never put it in a prompt, shared workflow, screenshot, or Git commit. If authentication fails, check the full copied value, application/service access, expiration, usage limit, and balance before creating another key.
Trial account concurrency
Accounts with neither a successful paid top-up nor an administrator's manual credit addition may run one billable request at a time across the entire account, shared by all API keys and services. Rewards, redemption cards and transferred credits do not count as paid top-ups. A successful paid top-up or manual credit addition removes this trial restriction; balance and key usage-limit checks still apply.
A new billable request returns 429 too_many_requests while another is running. Wait for the active request's final result before submitting the next one. Free task polling remains available.
For async APIs, acceptance or a task ID is not completion: keep querying the same task until its final result. A disconnect or proxy timeout does not mean execution stopped. If a task has no terminal result for a long time, contact support with trace_id.
This restriction changes neither trial API availability nor pricing; fees are settled after execution based on actual usage.
Why Use Kling Video Generation on Ace Data Cloud
- Unified developer platform with one API key, billing system, and usage tracking
- Production-ready AI API endpoints served from https://api.acedata.cloud
- English integration guides, API references, and service documentation
- Global-ready workflow for developers building chat, image, video, music, and search products
Overview
The Kling Videos Generation API generates official Kling AI videos by inputting custom parameters such as prompt, action, model, and optional reference images. It supports text-to-video (text2video), image-to-video (image2video), and video extension (extend) actions across a range of Kling models.
The Kling Tasks API queries the execution status of tasks generated by the Kling Videos Generation API or the Kling Motion Generation API using a task ID.
The Kling Motion Generation API generates videos with character motion driven by a reference image and a reference video, keeping character movements consistent with the reference video.
Application Process
To use the Kling Videos Generation API, apply for the corresponding service on the Kling Videos Generation API page. After entering the page, click the "Acquire" button.
There is a free quota available for first-time applicants, allowing you to use this API for free.
Quick Start
curl --request POST "https://api.acedata.cloud/kling/videos" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"action": "text2video",
"model": "kling-v1",
"prompt": "White ceramic coffee mug on glossy marble countertop with morning window light. Camera slowly rotates 360 degrees around the mug, pausing briefly at the handle."
}'
APIs and Guides
Explore the supported endpoints and integration guides for Kling Video Generation.
Related Resources
Support
If you meet any issue, please check support info or browse the latest documentation on docs.acedata.cloud.