kling-official
Qué hace
Esta skill explica cómo usar la API oficial de Kling para crear video con IA y tareas relacionadas. Es para creadores que tienen su propia cuenta de Kling y quieren usarla directamente.
Cuándo usarla
- ✓Cuando quieres crear video o imágenes con IA a través del servicio oficial de Kling.
- ✓Cuando necesitas texto a voz, un avatar o sincronización de labios de Kling.
- ✓Cuando necesitas saber en qué se diferencia la ruta oficial de Kling de la ruta de Kling en fal.ai.
Link de la skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/kling-official/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Crea un video corto de Kling a partir de este prompt usando mi cuenta oficial de Kling.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Tu agente usa tu clave de API de Kling para enviar una tarea, revisa su estado hasta que termina y luego guarda el resultado. No cambiará a otro proveedor sin preguntarte antes.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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_videouses fal.ai,FAL_KEY, fal.ai queue URLs, andprovider="kling".kling_official_videouses Kling official API,KLING_API_KEY, official task protocols, andprovider="kling_official".kling_official_imageuses the same official auth and task protocol for image generation.kling_ttsuses the official audio TTS endpoint and stays in the existingttscapability.kling_avatarandkling_lip_syncuse official avatar/lip-sync endpoints and stay in the existingavatarcapability. They do not replace localtalking_headorlip_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[]withimage_urland optionaltypesuch asfirst_frameorend_frame.video_list[]withvideo_url, officialrefer_typevalues such asfeatureorbase, and optionalkeep_original_sound.element_list[]with officialelement_idvalues.- 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_effectsorvideo_effectscapabilities from inside a provider implementation. - Do not let video effects enter the ordinary
video_generationselector 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_forsays so.
Video Parameters
Use operation for OpenMontage semantics:
text_to_videoimage_to_videoreference_to_video
Use api_family for official protocol choice:
classicturboomni
Important constraints:
- Official video provider input schema must not expose top-level
image_url; usereference_image_urlorreference_image_path. - Classic image-to-video accepts
reference_image_urlor a local path converted to raw base64 in official fieldimage. - Turbo image-to-video requires a URL first frame. Do not upload local files through fal.ai as a fallback.
- Send
aspect_ratioonly 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:
promptis required and should stay under the official 2500 character limit.image_urlpa
Preguntas frecuentes
¿Qué clave necesito?
Necesitas una KLING_API_KEY, y puedes definir una dirección base regional si hace falta.
¿Es lo mismo que la ruta de Kling en fal.ai?
No. La ruta oficial usa su propia clave y su propio flujo de tareas, y la skill mantiene las dos separadas.
¿Cambiará de proveedor por su cuenta?
No. La skill indica que un proveedor distinto solo se usa después de que lo apruebes.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 75 mil
- Posición en el ranking
- #2668
- Licencia
- AGPL-3.0
- Actualizada
- 28/10/2026
Comentarios
- …
Más skills de este repositorio
3d-asset-generation
75 milAyuda a tu agente a elegir cómo crear objetos 3D para una escena, usando catálogos, herramientas de texto o imagen a 3D, y Blender para el ensamblado final.
acestep
75 milAyuda a tu agente a crear música de fondo, canciones, jingles y stems para un video usando el generador de música abierto ACE-Step.
agents
75 milAyuda a tu agente a construir asistentes de voz con IA usando ElevenLabs, como bots de atención al cliente y personajes de voz interactivos.
ai-video-gen
75 milAyuda a tu agente a generar clips de video con IA a partir de una descripción de texto o una imagen de referencia, eligiendo entre varios servicios.
Skills parecidas
taste-application
280 milAyuda a tu agente a crear vídeos con un estilo concreto: copia el ritmo de edición de una referencia, genera escenas, ajusta colores y une todo con otro material.
taste-distillation
280 milPermite a tu agente analizar vídeos y crear un paquete de estilo con colores, ritmo de corte y elementos visuales reutilizables en nuevos vídeos.
ui-demo
280 milPermite a tu agente grabar vídeos de demostración de interfaces muy pulidos. Es útil para crear tutoriales o mostrar cómo funciona una app web.