Aller au contenu
Skillpedia
Montage vidéo75k · #2668

kling-official

Ce qu’il fait

Ce skill explique comment utiliser l'API officielle de Kling pour la vidéo IA et les tâches associées. Il s'adresse aux créateurs qui ont leur propre compte Kling et veulent l'utiliser directement.

Quand l’utiliser

  • ✓Quand vous voulez créer une vidéo ou des images IA avec le service officiel de Kling.
  • ✓Quand vous avez besoin de synthèse vocale, d'un avatar ou d'une synchronisation labiale avec Kling.
  • ✓Quand vous voulez savoir en quoi la voie officielle de Kling diffère de la voie fal.ai.

Lien du skill

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/kling-official/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/kling-official/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Crée une courte vidéo Kling à partir de cette consigne avec mon compte officiel Kling.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent utilise votre clé API Kling pour envoyer une tâche, vérifie son état jusqu'à la fin, puis enregistre le résultat. Il ne passe pas à un autre fournisseur sans vous demander d'abord votre accord.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Kling Official Direct API

Use this skill for OpenMontage tools with provider="kling_official". This is not the fal.ai Kling gateway. Official Kling uses KLING_API_KEY, optional KLING_API_BASE_URL, and Authorization: Bearer <KLING_API_KEY>.

Provider Split

  • kling_video uses fal.ai, FAL_KEY, fal.ai queue URLs, and provider="kling".
  • kling_official_video uses Kling official API, KLING_API_KEY, official task protocols, and provider="kling_official".
  • kling_official_image uses the same official auth and task protocol for image generation.
  • kling_tts uses the official audio TTS endpoint and stays in the existing tts capability.
  • kling_avatar and kling_lip_sync use official avatar/lip-sync endpoints and stay in the existing avatar capability. They do not replace local talking_head or lip_sync.

Never silently switch between these paths. If the selected provider is unavailable, surface the blocker and ask before substituting.

Auth And Endpoint

Default base URL:

https://api-singapore.klingai.com

Users may override it with KLING_API_BASE_URL, for example for a regional endpoint. All requests send JSON and:

Authorization: Bearer <KLING_API_KEY>

Task Protocols

Classic APIs:

  • Create ID path: data.task_id
  • Statuses: submitted, processing, succeed, failed
  • Result paths: data.task_result.videos[], data.task_result.images[], data.task_result.audios[]

Turbo APIs:

  • Create ID path: data.id
  • Poll path: GET /tasks?task_ids=<id>
  • Statuses: submitted, processing, succeeded, failed
  • Result path: data[0].outputs[]

Keep the parsers separate. Do not write a fuzzy parser that guesses between task_id and id or between succeed and succeeded.

Omni References

Video Omni and Image Omni stay inside the existing provider tools through api_family="omni". Do not create selector-level Omni operations.

Video Omni accepts official reference structures:

  • image_list[] with image_url and optional type such as first_frame or end_frame.
  • video_list[] with video_url, official refer_type values such as feature or base, and optional keep_original_sound.
  • element_list[] with official element_id values.
  • Structured multi_prompt[]; do not split natural language into shots automatically.

Local image references may be normalized through tools/_kling/media.py. Local video paths must not be silently uploaded through fal.ai; ask for or require a reachable URL.

Image Omni accepts image_list[] with official image values. Prompt placeholders such as <<<image_1>>> must map stably to the provided image order. If the prompt already contains placeholders, validate that the referenced images exist and do not insert duplicates.

Capability Boundaries

TTS, avatar, and lip sync are provider additions to existing OpenMontage capabilities. Audio effects and video effects are official Kling endpoints, but they are not registered as default OpenMontage tools until a pipeline has a stable capability slot for them.

  • Do not add sound_effects or video_effects capabilities from inside a provider implementation.
  • Do not let video effects enter the ordinary video_generation selector path.
  • Do not disguise short sound effects as long background music unless a pipeline explicitly consumes that shape and the tool's best_for / not_good_for says so.

Video Parameters

Use operation for OpenMontage semantics:

  • text_to_video
  • image_to_video
  • reference_to_video

Use api_family for official protocol choice:

  • classic
  • turbo
  • omni

Important constraints:

  • Official video provider input schema must not expose top-level image_url; use reference_image_url or reference_image_path.
  • Classic image-to-video accepts reference_image_url or a local path converted to raw base64 in official field image.
  • Turbo image-to-video requires a URL first frame. Do not upload local files through fal.ai as a fallback.
  • Send aspect_ratio only where the current schema supports it: Classic text-to-video, Turbo text-to-video, and Video Omni.
  • Default paid path should avoid 4k, native sound, or batch behavior unless explicitly selected.

Image Parameters

Use api_family="generation" for /v1/images/generations and api_family="omni" for /v1/images/omni-image.

Generation/edit path:

  • prompt is required and should stay under the official 2500 character limit.
  • image_url pa
Questions fréquentes

Quelle clé dois-je utiliser ?

Vous avez besoin d'une KLING_API_KEY, et vous pouvez définir une adresse de base régionale si nécessaire.

Est-ce la même chose que la voie fal.ai de Kling ?

Non. La voie officielle utilise sa propre clé et son propre flux de tâches, et le skill garde les deux séparées.

Va-t-il changer de fournisseur de lui-même ?

Non. Le skill indique qu'un autre fournisseur n'est utilisé qu'après votre approbation.

Détails

Description originale de l’auteur

Official Kling direct API guidance for OpenMontage providers. Use before calling `kling_official_video`, `kling_official_image`, `kling_tts`, `kling_avatar`, or `kling_lip_sync`.

repo: calesthio/OpenMontage

Popularité

Étoiles GitHub
75k
Position au classement
#2668
Licence
AGPL-3.0
Mis à jour
28/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires