/kling prefix is routed to the Kling backend with the exact same request bodies, response shapes, and error codes as the official API — so your existing Kling integration works without modification.
Key Concepts
Full API Compatibility
Request and response bodies, field names, constraints, and error codes under
/kling match the official Kling API exactly.Dual Task IDs
Every task returns two IDs:
task_id (upstream Kling ID) and platform_id (Fhddos tracking ID in video_<ULID> or image_<ULID> format).Pay-on-Success Billing
Tasks are only billed when they succeed. Failed tasks are never charged. Billing is settled asynchronously after the task reaches a terminal state.
Unified Routing
Authenticate with your Fhddos token and use the
/kling prefix. No Kling-specific credentials needed on the client side.Authentication & Base URL
https://aiapi.fhddos.com/kling.
Quick Start
Generate a text-to-video in one request:task_id to check progress:
Task ID System
Every task creation response includes two identifiers:| Field | Format | Description |
|---|---|---|
task_id | Kling-assigned string | The upstream original task ID from Kling’s system |
platform_id | video_<ULID> or image_<ULID> | Fhddos’s internal tracking ID — use this for cross-feature consistency |
task_id, platform_id, or external_task_id (if you set one at creation). See Task Query for details.
Billing Model
Kling AI uses a pay-on-success async billing model:- Creating a task does not immediately charge you
- Fhddos polls the task status in the background
- Only tasks that reach a success terminal state are billed
- If
final_unit_deductionis present in the response, billing is calculated as:- Video: 1 credit = ¥1
- Image: 1 credit = ¥0.025
- Tasks without
final_unit_deductionare not charged
Supported Models
Video Models
| Model | Use Case |
|---|---|
kling-v2-6 | Latest generation — supports audio and motion control |
kling-v2-5 | Latest generation video |
kling-v2-5-turbo | Latest generation video (Turbo speed) |
kling-v2-1 | Professional text/image to video |
kling-v2-1-master | Professional-grade video generation |
kling-v2-master | Advanced video generation |
kling-v1-6 | Text/image to video, multi-image reference, multimodal editing |
kling-v1-5 | Text/image to video |
kling-v1 | Text/image to video (baseline) |
kling-video-o1 | Omni video generation |
Image Models
| Model | Use Case |
|---|---|
kling-image-o1 | Omni image generation |
kling-v2-1 | Text-to-image, multi-image reference |
kling-v2 | Text-to-image, style transfer |
kling-v2-new | Style transfer and image-to-image |
kling-v1-5 | Text/image to image with reference support |
kling-v1 | Text-to-image (baseline) |
Some models (like
kling-v1, kling-v1-5, kling-v2-1) are shared between video and image endpoints. Billing is determined by the task type, not just the model name.Feature Navigation
Text-to-Video
Generate video from a text prompt using
POST /kling/v1/videos/text2video.Image-to-Video
Animate a reference image into video using
POST /kling/v1/videos/image2video.Image Generation
Generate images from text or references using
POST /kling/v1/images/generations.Task Query
Poll task status, retrieve results, and list tasks across all Kling endpoints.
