Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt

Use this file to discover all available pages before exploring further.

Model ID
Kling-Text2Video-V1.6-Standard

Kling-Text2Video-V1.6-Standard API Usage Guide

Overview

Kling-Text2Video-V1.6-Standard transforms text prompts into short, high-quality video clips with smooth motion and strong prompt alignment. This model is optimized for speed and accessibility, making text-to-video generation efficient for rapid concept prototyping and creative experiments.

Key Features:

  • High Quality: Generates videos up to 720p resolution with smooth motion
  • Fast Processing: Optimized for standard use cases with quick turnaround
  • Strong Prompt Alignment: Improved fidelity in interpreting and visualizing input prompts
  • Flexible Duration: Generate videos from 5 to 10 seconds
  • Multiple Aspect Ratios: Support for landscape (16:9), portrait (9:16), and square (1:1) formats
  • Creative Control: CFG scale parameter for fine-tuning generation flexibility

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY

Submit Video Generation Request

Endpoint

POST /api/v1/apikey/requests

Request Format

curl -X POST "https://api.example.com/api/v1/apikey/requests" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Kling-Text2Video-V1.6-Standard",
    "payload": {
      "prompt": "A majestic eagle soaring through a mountain landscape at sunset",
      "negative_prompt": "blurry, low quality, distorted",
      "duration": "5",
      "aspect_ratio": "16:9",
      "cfg_scale": 0.7
    }
  }'

Request Parameters

ParameterTypeRequiredDescriptionDefaultConstraints
modelstringYesModel identifier-Must be “Kling-Text2Video-V1.6-Standard”
payload.promptstringNoText prompt describing the desired video""Max 2500 characters
payload.negative_promptstringNoText describing what to avoid""Max 2500 characters
payload.durationstringNoVideo length in seconds”5”Options: “5”, “10”
payload.aspect_ratiostringNoVideo aspect ratio”16:9”Options: “16:9”, “9:16”, “1:1”
payload.cfg_scalefloatNoGeneration flexibility control0.50.0 to 1.0

Response

{
  "request_id": "550e8400-e29b-41d4-a716-446655440000",
  "model": "Kling-Text2Video-V1.6-Standard",
  "status": "queued",
  "created_at": 1750442925,
  "updated_at": 1750442925,
  "queued_at": 1750442925
}

Check Request Status

Endpoint

GET /api/v1/apikey/requests/{request_id}

Example

curl -X GET "https://api.example.com/api/v1/apikey/requests/550e8400-e29b-41d4-a716-446655440000" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "request_id": "550e8400-e29b-41d4-a716-446655440000",
  "org_id": "your-org-id",
  "model": "Kling-Text2Video-V1.6-Standard",
  "status": "success",
  "is_public": false,
  "payload": {
    "prompt": "A majestic eagle soaring through a mountain landscape at sunset",
    "negative_prompt": "blurry, low quality, distorted",
    "duration": "5",
    "aspect_ratio": "16:9",
    "cfg_scale": 0.7
  },
  "outcome": {
    "video_url": "https://storage.googleapis.com/bucket/generated-video.mp4",
    "thumbnail_image_url": "https://storage.googleapis.com/bucket/thumbnail.jpg"
  },
  "qworker_id": "worker-123",
  "created_at": 1750442925,
  "updated_at": 1750442930,
  "queued_at": 1750442925
}

Request Status Values

StatusDescription
queuedRequest is waiting to be processed
processingVideo generation is in progress
successVideo generation completed successfully
failedVideo generation failed
cancelledRequest was cancelled

List Your Requests

Endpoint

GET /api/v1/apikey/requests?model_id=Kling-Text2Video-V1.6-Standard

Example

curl -X GET "https://api.example.com/api/v1/apikey/requests?model_id=Kling-Text2Video-V1.6-Standard" \
  -H "Authorization: Bearer YOUR_API_KEY"

Get Model Information

Endpoint

GET /api/v1/apikey/models/Kling-Text2Video-V1.6-Standard

Example

curl -X GET "https://api.example.com/api/v1/apikey/models/Kling-Text2Video-V1.6-Standard" \
  -H "Authorization: Bearer YOUR_API_KEY"

List Available Models

Endpoint

GET /api/v1/apikey/models

Example

curl -X GET "https://api.example.com/api/v1/apikey/models" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "model_ids": [
    "Kling-Text2Video-V1.6-Standard",
    "other-model-1",
    "other-model-2"
  ]
}

Video Specifications

  • Duration: 5-10 seconds
  • Aspect Ratios:
    • Landscape: 16:9 (default)
    • Portrait: 9:16
    • Square: 1:1
  • Quality: Up to 720p resolution with smooth motion
  • Format: MP4 video with thumbnail image

Tips for Better Results

  1. Clear, Descriptive Prompts: Use specific, detailed descriptions for better video quality
  2. Motion Description: Include details about camera movement and scene dynamics
  3. Negative Prompts: Use negative prompts to avoid unwanted elements like blur or distortion
  4. CFG Scale Tuning:
    • Lower values (0.3-0.5): More creative, less prompt adherence
    • Higher values (0.7-1.0): More prompt adherence, less creative variation
  5. Aspect Ratio Selection: Choose based on intended use (16:9 for landscape, 9:16 for mobile, 1:1 for social media)