kling
БесплатноБез исполняемых скриптовНе проверенGenerate images and video with Kling through RunAPI. Use when the user asks an agent for Kling standard images, image series, ecommerce or webpage long…
от runapi-ai1 987 установок в других каталогахОб этом скилле
Kling on RunAPI
Retired versions below are historical references only. Do not select them for a new request.
Choose route
- For a one-off artifact or result, use the registered
klingservice in therunapiCLI. If the installed command catalog does not list it, stop and report the missing service instead of inventing a command. - For an app, backend, worker, library, webhook pipeline, or production codebase, go directly to Integrate with SDK. Never shell out to the CLI as the production runtime.
Discover contract
Authenticate, then inspect the installed command catalog and the selected operation's current contract:
runapi auth status > auth.json
jq -e '.authenticated == true' auth.json
runapi kling --help
runapi kling <operation> --help
curl --fail --location https://runapi.ai/docs/api/kling/<operation>.md --output contract.md
If authentication is false, stop before submitting. Ask the user to provide a valid RUNAPI_API_KEY, or import a user-provided key from stdin with runapi auth import-token --token -; use interactive browser login only when the user explicitly requests it. Choose <operation> only from service help. Treat command help as authoritative for the installed operation, model, and top-level field roster. Treat its API Reference as authoritative for the complete request schema, nested fields, conditional rules, task behavior, and response variants. If the two surfaces disagree, stop and report the contract mismatch instead of guessing.
Build request
Create request.json as valid JSON using only fields accepted by the discovered operation contract. For the chosen model and values, evaluate every applicable conditional rule as a set: satisfy every required field, omit every forbidden field, and stop on unresolved contradictions.
Traverse nested objects and arrays before execution. Close every relationship stated by the discovered contract, including uniqueness constraints and cross-references between nested values.
For a discovered local media input, including file-typed fields and top-level media URL fields, put an agent-readable local file path directly in request.json. The CLI consumes file fields as declared and uploads local paths in top-level media URL fields. Use runapi files create only when the user needs a reusable URL, provides Base64, or the discovered contract explicitly requires a separate upload.
Semantic invariants:
- Kling 4.0 image tasks return ordered
images, including a complete series in one task. 8k output is JPEG. Usetext_to_imagefor bothkling-v4-imageandkling-v4-long-image. - Standard image references use ordered
source_image_urlsas@image_Nand namedelementsas@name. Names are case-insensitively unique, reserveimage_Nandobject_N, and match the longest supplied name. Letters, digits, or underscores immediately after an English name do not terminate its reference. - Long image prompts treat
@followed by letters, digits, underscores, or Chinese characters as a reference, including emails and handles. Use a full-width@or a space after@for literal text. Supply the referenced image before using@style,@subject, or@image_N. - For Kling 3.0 multi-shot, use
multi_shots: true.shot_typeacceptscustomorautomaticand defaults tocustomonly in multi-shot mode. Omitshot_typefor single-shot requests. - Custom storyboards require 1-6
multi_promptshots with integer durations from 1-12 seconds. Their sum must equal the totalduration_secondsfrom 3-15, default 5. Each shot prompt allows 500 effective characters, with each named@elementreference counting as 37. - Automatic storyboarding requires
promptand omitsmulti_prompt.enable_soundis optional for multi-shot requests.
Validate the file before sending it:
jq empty request.json
Execute
Submit exactly once and persist the task response before waiting:
runapi kling <operation> --async --input-file request.json > task.json
task_id="$(jq -er '.id' task.json)"
For a one-off result, immediately wait for that same task and save the complete JSON response. This blocking wait is the default:
runapi wait "$task_id" --service kling --action <operation> > result.json
Only when the user explicitly asks for background execution, polling, or webhook integration may you stop after validating task.json. Report the task id and do not claim that the deliverable is complete.
Verify
A success status is not the deliverable. Read and validate the complete response according to the discovered result contract. Preserve the complete non-media result in the exact requested format, including JSON, text, SRT, or VTT.
For every requested media deliverable listed anywhere in the response, download all of them rather than returning only the first URL. Before downloading, derive its expected MIME type or family from response metadata when present, then the selected output forma
Установить kling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл kling?
Generate images and video with Kling through RunAPI. Use when the user asks an agent for Kling standard images, image series, ecommerce or webpage long images, video generation, or video editing. Default to the RunAPI CLI for one-off generation; use SDKs only when the user is integrating RunAPI into an app or backend.
Как установить скилл kling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub