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.1-Master API Usage Guide
Overview
Kling-Text2Video-V2.1-Master is a state-of-the-art text-to-video generation model that creates imaginative videos from text descriptions. This model represents a significant improvement in dynamics, aesthetics, and prompt adherence, making it ideal for creating high-quality video content from simple text prompts.Key Features
- Enhanced Dynamics: Greatly improved motion and fluidity in generated videos
- Superior Aesthetics: Better visual quality and artistic style
- Strong Prompt Adherence: More 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 |
|---|---|---|---|---|---|
prompt | string | No | Text prompt describing the desired video | "" | Max 2500 characters |
negative_prompt | string | No | Text describing what to avoid | "" | Max 2500 characters |
duration | string | No | Video length in seconds | "5" | Options: "5", "10" |
aspect_ratio | string | No | Video aspect ratio | "16:9" | Options: "16:9", "9:16", "1:1" |
cfg_scale | float | No | Flexibility in video generation | 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
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
- 16:9: Landscape videos, cinematic content
- 9:16: Mobile viewing, social media stories
- 1:1: Social media posts, Instagram
-
CFG Scale Tuning: Adjust the flexibility of video generation
- 0.0–0.3: High flexibility, creative variations
- 0.4–0.6: Balanced creativity and prompt adherence (recommended)
- 0.7–1.0: Strong prompt adherence, less creative variation
-
Duration Considerations: Choose appropriate video length
- 5 seconds: Quick content, social media, previews
- 10 seconds: More detailed scenes, longer narratives
Video Specifications
- Duration: 5 or 10 seconds
- Aspect Ratios: 16:9, 9:16, 1:1
- Quality: High definition with excellent detail and clarity