klingai-text-to-video

Featured

Generate videos from text prompts with Kling AI. Use when creating videos from descriptions, learning prompt techniques, or building T2V pipelines. Trigger with phrases like 'kling ai text to video', 'klingai prompt', 'generate video from text', 'text2video kling'.

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Kling AI Text-to-Video ## Overview Generate videos from text prompts using the `/v1/videos/text2video` endpoint. Supports models v1 through v2.6, standard/professional modes, camera control, negative prompts, and native audio (v2.6+). **Endpoint:** `POST https://api.klingai.com/v1/videos/text2video` ## Request Parameters | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `model_name` | string | Yes | Model version (see model catalog) | | `prompt` | string | Yes | Video description, max 2500 chars | | `negative_prompt` | string | No | What to exclude from generation | | `duration` | string | Yes | `"5"` or `"10"` seconds | | `aspect_ratio` | string | No | `"16:9"` (default), `"9:16"`, `"1:1"`, etc. | | `mode` | string | No | `"standard"` (default) or `"professional"` | | `cfg_scale` | float | No | Prompt adherence (0.0-1.0, default 0.5) | | `camera_control` | object | No | Camera movement config | | `callback_url` | string | No | Webhook URL for completion notification | ## Complete Example — Python ```python import jwt, time, os, requests BASE = "https://api.klingai.com/v1" def get_headers(): ak, sk = os.environ["KLING_ACCESS_KEY"], os.environ["KLING_SECRET_KEY"] token = jwt.encode( {"iss": ak, "exp": int(time.time()) + 1800, "nbf": int(time.time()) - 5}, sk, algorithm="HS256", headers={"alg": "HS256", "typ": "JWT"} ) return {"Authorization": f"Bearer {token}", "Content-Type": "application/j...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

klingai-image-to-video

Animate static images into video using Kling AI. Use when converting images to video, adding motion to stills, or building I2V pipelines. Trigger with phrases like 'klingai image to video', 'kling ai animate image', 'klingai img2vid', 'animate picture klingai'.

2,266 Updated today
jeremylongshore
AI & Automation Featured

klingai-ci-integration

Integrate Kling AI video generation into CI/CD pipelines. Use when automating video content in GitHub Actions or GitLab CI. Trigger with phrases like 'klingai ci', 'kling ai github actions', 'klingai automation', 'automated video generation'.

2,266 Updated today
jeremylongshore
AI & Automation Featured

klingai-hello-world

Create your first Kling AI video generation with a minimal working example. Use when learning Kling AI or testing your setup. Trigger with phrases like 'kling ai hello world', 'first kling video', 'klingai quickstart', 'test klingai'.

2,266 Updated today
jeremylongshore
AI & Automation Featured

klingai-batch-processing

Process multiple video generation requests efficiently with Kling AI. Use when generating batches of videos or building content pipelines. Trigger with phrases like 'klingai batch', 'kling ai bulk', 'multiple videos klingai', 'klingai parallel generation'.

2,266 Updated today
jeremylongshore
AI & Automation Listed

video-generation

Generate videos from text prompts using Google's Veo model. Creates short video clips with cinematic quality via the generate_video tool.

21 Updated 4 days ago
project-nomos