Communitygithub.com

Génération de Vidéos Kling

Générez des vidéos IA avec Kuaishou Kling via l'API AceDataCloud. Utilisez cette compétence pour créer des vidéos à partir de texte ou d'images, prolonger des vidéos existantes, appliquer un contrôle de mouvement ou synchroniser des lèvres avec du son/texte. Prend en charge la vidéo à partir de texte, d'image, l'extension, la génération de mouvement et le lip-sync avec plusieurs modèles et modes de qualité.

Qu'est-ce que Génération de Vidéos Kling ?

Cette compétence permet aux agents IA de générer des vidéos de haute qualité via l'API Kuaishou Kling fournie par AceDataCloud. Elle prend en charge cinq workflows principaux : texte-vers-vidéo, image-vers-vidéo, extension de vidéo, contrôle de mouvement et synchronisation labiale (lip-sync). La compétence offre une large gamme de modèles allant du standard (kling-v1) au premium (kling-video-o1), avec des modes de qualité variés (std, pro, 4k) pour équilibrer coût et performance. Idéale pour les créateurs de contenu, les marketeurs et les développeurs intégrant la génération vidéo IA dans leurs applications, elle fonctionne sur toutes les plateformes prenant en charge les appels API REST. L'utilisateur doit configurer une clé d'API AceDataCloud via la variable d'environnement ACEDATACLOUD_API_TOKEN. Les tâches asynchrones sont gérées par polling via le endpoint /kling/tasks.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/NeverSight/learn-skills.dev/tree/HEAD/data/skills-md/acedatacloud/skills/kling-video

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Que fait Génération de Vidéos Kling ?

Générez des vidéos IA via l'API Kuaishou Kling d'AceDataCloud.

Configuration : Voir authentification pour la configuration du jeton.

Démarrage Rapide

curl -X POST https://api.acedata.cloud/kling/videos \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"action": "text2video", "prompt": "un chat jouant du piano sur un toit au coucher du soleil", "model": "kling-v3", "mode": "std", "duration": 5}'

Asynchrone : Voir interrogation des tâches asynchrones. Interrogez via POST /kling/tasks avec {"id": "..."}.

Modèles

ModèleQualitéUtilisation Optimale
kling-v3DernierMeilleure qualité, durée flexible 3–15s, génération audio optionnelle
kling-v3-omniDernierModèle Omni avec support audio, durée flexible 3–15s
kling-v2-6ÉlevéeSortie de haute qualité avec audio optionnel (mode pro)
kling-v2-5-turboÉlevée + RapideMeilleur rapport vitesse/qualité
kling-v2-masterÉlevéeSortie de haute qualité
kling-v2-1-masterÉlevéev2 amélioré
kling-v1-6AmélioréeQualité meilleure que v1
kling-v1StandardGénération de base, coût le plus bas
kling-video-o1PremiumPlus haute qualité (modèle de réflexion)

Modes de Qualité

ModeVitesseCoûtUtilisation
std (Standard)Plus lentInférieurBrouillon/aperçu
pro (Professionnel)Plus rapideSupérieurSortie finale
4k (4K Natif)—PremiumSortie 4K native — seulement kling-v3 et kling-v3-omni ; incompatible avec camera_control

Flux de Travail

1. Texte-vers-Vidéo

POST /kling/videos
{
  "action": "text2video",
  "prompt": "une ville futuriste avec des voitures volantes",
  "model": "kling-v3",
  "mode": "std",
  "duration": 5,
  "aspect_ratio": "16:9"
}

2. Image-vers-Vidéo

Animer une image fixe. Optionnellement, spécifier une image de fin.

POST /kling/videos
{
  "action": "image2video",
  "prompt": "la scène prend vie lentement avec du mouvement",
  "start_image_url": "https://example.com/scene.jpg",
  "end_image_url": "https://example.com/end-scene.jpg",
  "model": "kling-v3",
  "mode": "pro"
}

3. Extension de Vidéo

Continuer une vidéo existante avec des secondes supplémentaires.

POST /kling/videos
{
  "action": "extend",
  "video_id": "id-video-existante",
  "prompt": "la caméra recule pour révéler le paysage complet",
  "model": "kling-v2-5-turbo"
}

4. Contrôle de Mouvement

Appliquer un contrôle précis de la caméra/du mouvement à partir d'une image + d'une vidéo de référence.

POST /kling/motion
{
  "image_url": "https://example.com/sujet.jpg",
  "video_url": "https://example.com/reference-mouvement.mp4"
}

5. Synchronisation Labiale (Lip Sync)

Créer une vidéo synchronisée labialement à partir d'une vidéo source plus une piste audio ou un texte saisi.

POST /kling/lip-sync
{
  "video_url": "https://example.com/source.mp4",
  "mode": "audio2video",
  "audio_url": "https://example.com/voix-off.mp3"
}

Paramètres

ParamètreValeursDescription
action"text2video", "image2video", "extend"Mode de génération
modelVoir tableau des modèlesModèle à utiliser
mode"std", "pro", "4k"Mode de qualité (4k seulement pour kling-v3 / kling-v3-omni, incompatible avec camera_control)
duration5, 10 (v3/v3-omni : 3–15)Durée en secondes
generate_audiotrue, falseGénérer l'audio avec la vidéo (v3, v3-omni, v2-6 pro uniquement)
aspect_ratio"16:9", "9:16", "1:1"Format d'écran de la vidéo
cfg_scale0–1Force de pertinence de la consigne
negative_promptchaîneCe qu'il faut éviter dans la vidéo
camera_controlobjetParamètres de mouvement de la caméra
element_listtableauSujets de référence de la bibliothèque d'éléments (chaque élément a element_id). Combiné avec video_list, le total des images de référence + sujets ≤ 7 (ou ≤ 4 si une vidéo de référence est incluse)
video_listtableauVidéo(s) de référence via video_url (MP4/MOV, 3–10s, ≤200 Mo, max 1 vidéo). Chaque élément a video_url, refer_type ("feature" ou "base"), et keep_original_sound optionnel
callback_urlchaîneURL de rappel asynchrone
mode (/kling/lip-sync)"audio2video", "text2video"Mode de synchronisation labiale
video_url (/kling/lip-sync)URLURL de la vidéo source pour la synchronisation labiale
video_id (/kling/lip-sync)chaîneID de vidéo Kling existante pour la synchronisation labiale
audio_url (/kling/lip-sync)URLURL de la source audio (pour audio2video)
audio_type (/kling/lip-sync)"url", "file"Type d'entrée audio (défaut url)
audio_file (/kling/lip-sync)chaîneCharge utile du fichier audio lorsque audio_type=file
text (/kling/lip-sync)chaîneTexte à synthétiser en parole (pour text2video)
voice_id (/kling/lip-sync)chaîneIdentifiant de la voix prédéfinie utilisée dans text2video
voice_language (/kling/lip-sync)"zh", "en"Langue TTS pour text2video (défaut zh)
voice_speed (/kling/lip-sync)nombreVitesse de parole TTS (défaut 1.0)

Points d'Attention

  • duration prend en charge 5 ou 10 secondes pour la plupart des modèles ; kling-v3 et kling-v3-omni prennent en charge une durée flexible 3–15 secondes
  • mode=4k est disponible uniquement pour kling-v3 et kling-v3-omni et est incompatible avec camera_control
  • generate_audio active la génération audio synchronisée (prise en charge par kling-v3, kling-v3-omni et kling-v2-6 en mode pro)
  • end_image_url est uniquement pour l'action image2video — elle définit la dernière image
  • Le contrôle de mouvement (/kling/motion) est un endpoint séparé de la génération vidéo
  • La synchronisation labiale est un endpoint séparé (/kling/lip-sync) et nécessite mode ; utilisez audio_url pour audio2video ou text + champs vocaux pour text2video
  • Le mode pro coûte environ 2x le mode std mais génère plus rapidement avec une meilleure qualité
  • Les états des tâches utilisent "succeed" (pas "succeeded") — vérifiez cette valeur lors de l'interrogation
  • negative_prompt aide à éviter les éléments indésirables (ex : "flou, basse qualité, texte")

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

NeverSight/learn-skills.dev

Use when generating or modifying Remotion video code, creating demo videos, or working with the demo-video/ directory

NeverSight/learn-skills.dev

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc

NeverSight/learn-skills.dev

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

NeverSight/learn-skills.dev

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

NeverSight/learn-skills.dev

ElevenLabs automatic dubbing - translate and dub audio/video into 29 languages while preserving speaker voice via inference.sh CLI. Capabilities: auto speaker detection, voice-preserving translation, video dubbing, audio localization. Use for: content localization, video translation, multilingual content, international distribution. Triggers: dubbing, dub video, translate audio, video translation, audio translation, localize content, elevenlabs dubbing, eleven labs dub, multilingual dub, voice translation, auto dub, language dub, content localization

NeverSight/learn-skills.dev

Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline

NeverSight/learn-skills.dev

Still-to-video conversion guide: model selection, motion prompting, and camera movement. Covers Wan 2.5 i2v, Seedance, Fabric, Grok Video with when to use each. Use for: animating images, creating video from stills, adding motion, product animations. Triggers: image to video, i2v, animate image, still to video, add motion to image, image animation, photo to video, animate still, wan i2v, image2video, bring image to life, animate photo, motion from image

NeverSight/learn-skills.dev

Generate talking head avatar videos with Pruna P-Video-Avatar via inference.sh CLI. Turn a portrait image into a realistic speaking video with built-in TTS. 18x faster and 6x cheaper than competitors. Models: P-Video-Avatar, P-Image (for portrait generation). Capabilities: text-to-avatar, audio-driven avatars, 30 voices, 10 languages, 720p/1080p, built-in TTS, dynamic backgrounds, full-body control. Use for: AI presenters, product demos, explainer videos, virtual influencers, marketing, education, multilingual content, UGC, gaming avatars. Triggers: avatar video, talking head, ai avatar, p-video-avatar, pruna avatar, video avatar, ai presenter, digital human, virtual presenter, lipsync, talking avatar, ai spokesperson, heygen alternative, synthesia alternative, veed alternative, fabric alternative, omnihuman alternative

NeverSight/learn-skills.dev

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

NeverSight/learn-skills.dev

Render videos from React/Remotion component code via inference.sh. Pass TSX code, get MP4. Supports all Remotion APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Configurable resolution, FPS, duration, codec. Use for: programmatic video generation, animated graphics, motion design, data-driven videos, React animations to video. Triggers: remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated video, motion graphics code, react animation video

NeverSight/learn-skills.dev

Video ad creation with exact platform-specific specs for TikTok, Instagram, YouTube, Facebook, LinkedIn. Covers dimensions, duration limits, AIDA framework, and caption requirements. Use for: video ads, social media ads, paid media creative, video marketing, ad production. Triggers: video ad, social media ad, tiktok ad, instagram ad, youtube ad, facebook ad, linkedin ad, video creative, ad specs, paid media, video marketing, ad production, reels ad, stories ad, pre roll, bumper ad

NeverSight/learn-skills.dev

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

NeverSight/learn-skills.dev

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

NeverSight/learn-skills.dev

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

NeverSight/learn-skills.dev

Configure and use the hosted YouTube Data MCP end-to-end with minimal user input. Use when users want the agent to verify Node.js and `npx`, configure MCP server config (Windows/macOS, Cursor/Codex/OpenClaw/OpenCode), request API key at setup time, run post-install capability discovery (`tools/list` and `get_patch_notes`), and then strongly recommend helper skill and Python setup for full local document and spreadsheet workflows.

NeverSight/learn-skills.dev

Creates 120fps GPU-accelerated animations with Motion.dev (Framer Motion successor) for React, Next.js, Svelte, and Astro projects. Use when user requests animation, motion, scroll effects, parallax, hero animations, gestures, drag interactions, spring physics, whileHover effects, whileInView animations, animated UI, micro-interactions, page transitions, or layout animations. Generates production TypeScript/JSX code with accessibility (prefers-reduced-motion) and performance validation (≥60fps). Supports entrance animations, gesture interactions (hover/tap/drag), scroll-based reveals, and layout transitions using spring physics and natural timing. Do NOT use for CSS-only transitions (use native CSS), static sites without JavaScript, Vue animations (use motion-v variant instead), or SVG/Canvas complex animations (GSAP better suited).

NeverSight/learn-skills.dev

Static artifact craft skill for self-contained HTML/CSS/JS documents: docs, sheets, dashboards, explainers, slides, tools, and landing pages. Use when the user asks for a durable, openable, shareable web deliverable they'll keep or hand off — a report, a dashboard, a slide deck, a data table, a page. Local folder first, temporary public link via tunnel (localhost.run), optional durable publish to Surge, GitHub Pages, or Cloudflare. Not for quick look renders, inline snippets, or throwaway scratch. Not for SPA frameworks, backend APIs, database apps, or production product UI.

NeverSight/learn-skills.dev

FFmpeg commands for video/audio conversion, trimming, compression, and processing. Use when user mentions "ffmpeg", "convert video", "compress video", "extract audio", "trim video", "gif from video", "video codec", "transcode", "screen recording", "merge videos", "video to mp4", "reduce file size", or any media processing task.

NeverSight/learn-skills.dev

Vim keybindings, motions, text objects, and operators for efficient text editing. Use when user asks about "vim commands", "vim motions", "text objects", "vim keybindings", "vim cheat sheet", "learn vim", "vim in VS Code", or any Vim editing tasks.

NeverSight/learn-skills.dev

Grok Build ONLY. Turn a 2D character still into smooth animation sprites via image_gen/image_edit base → image_to_video (6s/10s run-in-place) → ffmpeg frames → magenta chroma-key → dense sampled sprites (strip/grid/GIF). Use when the user wants video-to-sprite, motion capture from generated video, smoother run/walk cycles from dense frames, or runs /video2dsprite. Do NOT use on Codex/Claude — only Grok Build has image_to_video. Prefer generate2dsprite for crisp pixel sheets without video.

Skills associés