Model IDDocumentation Index
Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt
Use this file to discover all available pages before exploring further.
Kling-Text2Video-V2-Master API Usage Guide
Overview
Kling-Text2Video-V2-Master is a powerful text-to-video generation model that creates imaginative videos from text descriptions.This model offers excellent dynamics, aesthetics, and prompt adherence, making it ideal for creating high-quality video content from simple text prompts.
Key Features
- Enhanced Dynamics: Improved motion and fluidity in generated videos
- Superior Aesthetics: High visual quality and artistic style
- Strong Prompt Adherence: Accurate interpretation of text descriptions
- Multiple Aspect Ratios: Support for 16:9, 9:16, and 1:1 aspect ratios
- Flexible Duration: 5 or 10-second video generation options
Use Cases
- Creative video content generation
- Marketing and advertising videos
- Educational content creation
- Entertainment and storytelling
- Prototype and concept visualization
Authentication
All API requests require authentication using an API key. Include your API key in the Authorization header:Submit Video Generation Request
Endpoint
Request Format
Request Parameters
| Parameter | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
model | string | Yes | Model identifier | - | Must be “Kling-Text2Video-V2-Master” |
payload.prompt | string | No | Text prompt describing the desired video | "" | Max 2500 characters |
payload.image | string | Yes | Reference image (Base64 or URL) | - | Max 2500 characters |
payload.duration | string | No | Video length in seconds | ”5” | Options: “5”, “10” |
payload.negative_prompt | string | No | Text describing what to avoid | "" | “16:9”, “9:16”, “1:1” |
payload.cfg.scale | float | No | Generation flexibility control | 0.5 | 0.0 to 1.0, step 0.1 |
Response
Check Request Status
Endpoint
Example
Response
Request Status Values
| Status | Description |
|---|---|
queued | Request is waiting to be processed |
processing | Video generation is in progress |
success | Video generation completed successfully |
failed | Video generation failed |
cancelled | Request was cancelled |
List Your Requests
Endpoint
Example
Get Model Information
Endpoint
Example
List Available Models
Endpoint
Example
Response
Video Specifications
- Duration: 5–10 seconds
- Aspect Ratios:
- Landscape: 16:9 (default)
- Portrait: 9:16
- Square: 1:1
- Quality: High-definition with excellent detail and clarity
Tips for Better Results
- Clear, Descriptive Prompts: Use specific, detailed descriptions for better video quality
- Negative Prompts: Use negative prompts to avoid unwanted elements like “blurry, low quality, distorted”
- Aspect Ratio Selection: Choose the right aspect ratio for your target platform
- CFG Scale Tuning: Adjust the flexibility of video generation