World's first open-source, agentic video production system. 12 production pipelines, 100+ tools, 700+ agent skill and production-knowledge files. Turn your AI coding assistant into a full video production studio.
Python agentagentic-aiaiclaudecopilotcursorelevenlabsffmpegfluximage-generationopen-sourceopenaipythonremotionstable-diffusiontext-to-speechtext-to-videovideo-generationvideo-production
Merge remote-tracking branch 'origin/main' into codex/kling-official-phase-1
xucailiang2b6d717f0060
diff --cc .agents/skills/ai-video-gen/SKILL.mdindex da1f6e9d,b801209b..56686803--- a/.agents/skills/ai-video-gen/SKILL.md+++ b/.agents/skills/ai-video-gen/SKILL.md@@@ -1,7 -1,7 +1,7 @@@---name: ai-video-gendescription: |- Generate AI videos from text prompts using multiple provider gateways. Use when: (1) Generating videos from text descriptions, (2) Creating AI-generated video clips for content production, (3) Image-to-video generation with a reference image, (4) Choosing between video generation providers (VEO, Kling, Sora, Runway, Seedance, MiniMax). Supports HeyGen API, fal.ai API, and Kling official direct API.- Generate AI videos from text prompts using multiple provider gateways. Use when: (1) Generating videos from text descriptions, (2) Creating AI-generated video clips for content production, (3) Image-to-video generation with a reference image, (4) Choosing between video generation providers (VEO, Kling, Sora, Runway, Seedance, MiniMax, Gemini Omni). Supports gateways: HeyGen API, fal.ai API, and the Gemini API (Gemini Omni Flash).++ Generate AI videos from text prompts using multiple provider gateways. Use when: (1) Generating videos from text descriptions, (2) Creating AI-generated video clips for content production, (3) Image-to-video generation with a reference image, (4) Choosing between video generation providers (VEO, Kling, Sora, Runway, Seedance, MiniMax, Gemini Omni). Supports gateways: HeyGen API, fal.ai API, Kling official direct API, and the Gemini API (Gemini Omni Flash).allowed-tools: mcp__heygen__*metadata:openclaw:@@@ -9,18 -9,21 +9,23 @@@env_any:- HEYGEN_API_KEY- FAL_KEY+ - KLING_API_KEY+ - GEMINI_API_KEY+ - GOOGLE_API_KEY---# Video Generation (Multi-Gateway)- Generate AI videos from text prompts. Supports multiple providers via three API paths:-Generate AI videos from text prompts. Supports multiple providers via two API gateways:++Generate AI videos from text prompts. Supports multiple providers via four API paths:| Gateway | Env Variable | Providers | Tool ||---------|-------------|-----------|------|| **fal.ai** | `FAL_KEY` | **Seedance 2.0** (standard + fast), Kling v3/v2.1, MiniMax, VEO | `seedance_video`, `kling_video`, `minimax_video`, `veo_video` || **HeyGen** | `HEYGEN_API_KEY` | VEO 3.1, Kling Pro, Sora v2, Runway Gen-4, Seedance Pro / Lite (1.x) | `heygen_video` |+| **Kling Official** | `KLING_API_KEY` | Kling official Classic, Turbo, and basic Omni video | `kling_official_video` |+ | **Gemini API** | `GEMINI_API_KEY` / `GOOGLE_API_KEY` | Gemini Omni Flash (generation + conversational editing) | `gemini_omni_video` |++ **Iterative editing — Gemini Omni.** When the brief calls for *refining an existing clip* (add/remove objects, restyle, change lighting or on-screen text) rather than regenerating, Gemini Omni Flash is the only provider in the fleet with stateful multi-turn editing. See Layer 3 `gemini-omni` for the authoritative prompting guide (reference-image tags, timecode syntax, edit-prompt rules) before writing any prompt for it.**Preferred premium default — Seedance 2.0.** When any premium gateway is configured (`FAL_KEY` → `seedance_video`, or HeyGen's Video Agent / Avatar Shots path), Seedance 2.0 is the preferred default for cinematic, trailer, and high-fidelity clip work. It is the only model in the fleet with **single-pass native synchronized audio, multi-shot generation, director-level camera control, and lip-sync from quoted dialogue**, and it ranks #1 on Artificial Analysis Elo as of early 2026. Switch off it only when the user has a specific reason (budget, provider preference, stylistic fit like VEO for photoreal landscape or Kling for specific anime look). See Layer 3 `seedance-2-0` for the authoritative prompting and parameter guide.@@@ -32,11 -35,8 +37,12 @@@ Use whichever configured gateway best m- **HeyGen:** Set `HEYGEN_API_KEY` to access the multi-model gateway.- **fal.ai:** Set `FAL_KEY` to access Kling, MiniMax, and Veo through fal.ai.+- **Kling Official:** Set `KLING_API_KEY` to access Kling's official direct API via `provider="kling_official"`.++- **Gemini API:** Set `GEMINI_API_KEY` or `GOOGLE_API_KEY` to access Gemini Omni video generation and conversational editing.--Do not describe either gateway as the default or top choice without checking the registry and current task fit first.++Do not describe any gateway as the default or top choice without checking the registry and current task fit first.++fal.ai Kling (`kling_video`, `provider="kling"`) and Kling Official (`kling_official_video`, `provider="kling_official"`) are different paths. Do not reuse fal.ai queue URLs, `FAL_KEY`, or image upload behavior when the official provider is selected.```bashcurl -X POST "https://api.heygen.com/v1/workflows/executions" \diff --cc .env.exampleindex 6bed6c41,ac6f0708..fa0dc047--- a/.env.example+++ b/.env.example@@@ -16,14 -16,11 +16,16 @@@ HIGGSFIELD_API_KEY= # HiggsfieHIGGSFIELD_API_SECRET= # or use the combined HIGGSFIELD_KEY="<key>:<secret>" form instead.# HIGGSFIELD_KEY= # Combined key:secret — set this INSTEAD of the _KEY/_SECRET pair if you prefer.+# --- Kling official direct API ---+KLING_API_KEY= # Official Kling API key; enables video, image, TTS, avatar, lip sync+KLING_API_BASE_URL= # Optional endpoint override; leave blank for default https://api-singapore.klingai.com+ # Mainland China accounts can use https://api-beijing.klingai.com+- # --- Google (one key unlocks image gen + TTS) ---- GOOGLE_API_KEY= # Google Imagen images, Google Cloud TTS (700+ voices, 50+ languages)+ # --- Google (one key unlocks image gen + TTS + video) ---+ GOOGLE_API_KEY= # Google Imagen images, Google Cloud TTS (700+ voices, 50+ languages),+ # Gemini Omni video (generation + conversational editing, paid tier)# Get one at https://aistudio.google.com/apikey+ # GEMINI_API_KEY= # Alias for GOOGLE_API_KEY (takes precedence when both are set)# Alternative to the API key: service-account JSON auth.# TTS uses Cloud Text-to-Speech; Imagen routes to Vertex AI.GOOGLE_APPLICATION_CREDENTIALS= # path to a service-account JSON key filediff --cc docs/PROVIDERS.mdindex 830e932f,8cee5bb2..8940e690--- a/docs/PROVIDERS.md+++ b/docs/PROVIDERS.md@@@ -811,10 -780,9 +827,10 @@@ These tools require only FFmpeg or Pyth| **Pexels** | `PEXELS_API_KEY` | `pexels_image`, `pexels_video` | Free || **Pixabay** | `PIXABAY_API_KEY` | `pixabay_image`, `pixabay_video` | Free || **Piper** | — (install only) | `piper_tts` | Free |- | **Google** | `GOOGLE_API_KEY` | `google_tts`, `google_imagen` | Free tier + paid |+ | **Google** | `GOOGLE_API_KEY` (or `GEMINI_API_KEY`) | `google_tts`, `google_imagen`, `google_music`, `gemini_omni_video`, `veo_video` | Free tier (TTS) + paid || **ElevenLabs** | `ELEVENLABS_API_KEY` | `elevenlabs_tts`, `music_gen` | Free tier + paid || **fal.ai** | `FAL_KEY` | `flux_image`, `recraft_image`, `kling_video`, `veo_video`, `minimax_video` | Pay-as-you-go |+| **Kling Official** | `KLING_API_KEY` | `kling_official_video`, `kling_official_image`, `kling_tts`, `kling_avatar`, `kling_lip_sync` | Pay-as-you-go || **OpenAI** | `OPENAI_API_KEY` | `openai_tts`, `openai_image` | Paid only || **xAI** | `XAI_API_KEY` | `grok_image`, `grok_video` | Paid only || **Runway** | `RUNWAY_API_KEY` | `runway_video` | Free trial + paid |@@@ -833,10 -801,10 +849,10 @@@ How many providers cover each capabilit| Capability | Cloud Providers | Local Providers | Free Options ||-----------|----------------|-----------------|--------------|-| **Image Generation** | FLUX, Grok, Google Imagen, GPT Image 2, Recraft | Local Diffusion | Pexels, Pixabay (stock) |-| **Video Generation** | Grok, Kling, Runway, Veo, Gemini Omni, Higgsfield, MiniMax, HeyGen | WAN, Hunyuan, CogVideo, LTX | Pexels, Pixabay (stock) |-| **Text-to-Speech** | ElevenLabs, Google TTS, OpenAI | Piper | Piper, Google free tier, ElevenLabs free tier |+| **Image Generation** | FLUX, Kling Official, Grok, Google Imagen, GPT Image 2, Recraft | Local Diffusion | Pexels, Pixabay (stock) |- | **Video Generation** | Grok, Kling Official, Kling via fal.ai, Runway, Veo, Higgsfield, MiniMax, HeyGen | WAN, Hunyuan, CogVideo, LTX | Pexels, Pixabay (stock) |++| **Video Generation** | Grok, Kling Official, Kling via fal.ai, Runway, Veo, Gemini Omni, Higgsfield, MiniMax, HeyGen | WAN, Hunyuan, CogVideo, LTX | Pexels, Pixabay (stock) |+| **Text-to-Speech** | ElevenLabs, Google TTS, Kling Official, OpenAI | Piper | Piper, Google free tier, ElevenLabs free tier |- | **Music Generation** | ElevenLabs, Suno | — | ElevenLabs free tier |+ | **Music Generation** | ElevenLabs, Suno, Google Lyria | — | ElevenLabs free tier || **Post-Production** | — | FFmpeg (compose, stitch, trim, mix, enhance, grade) | All free || **Analysis** | — | WhisperX, Scene Detect, Frame Sampler, CLIP/BLIP-2 | All free || **Enhancement** | — | Upscale, BG Remove, Face Enhance, Face Restore | All free |