Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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-aiот 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 kling service in the runapi CLI. 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. Use text_to_image for both kling-v4-image and kling-v4-long-image.
  • Standard image references use ordered source_image_urls as @image_N and named elements as @name. Names are case-insensitively unique, reserve image_N and object_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_type accepts custom or automatic and defaults to custom only in multi-shot mode. Omit shot_type for single-shot requests.
  • Custom storyboards require 1-6 multi_prompt shots with integer durations from 1-12 seconds. Their sum must equal the total duration_seconds from 3-15, default 5. Each shot prompt allows 500 effective characters, with each named @element reference counting as 37.
  • Automatic storyboarding requires prompt and omits multi_prompt. enable_sound is 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

Полный SKILL.md на ClawHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить kling с