跳到正文
Skillpedia
视频剪辑75k · #2637

ai-video-gen

它能做什么

这项技能根据文字或静态图片创建 AI 视频片段。适合需要短小生成片段、并希望比较不同服务商的视频制作者。

适用场景

  • ✓当你需要根据文字描述生成一段短的 AI 视频时。
  • ✓当你想把参考图片变成一段有动态的视频片段时。
  • ✓当你需要电影感或预告片式的片段,并想选择最合适的服务商时。

技能链接

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/ai-video-gen/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/ai-video-gen/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请根据这张图片,生成一段 5 秒的雨夜城市街道视频片段。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体选择适合该任务的视频服务商,发送提示词或图片,并把片段保存到你的项目中。它也可以为编辑现有片段推荐另一家服务商。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Video Generation (Multi-Gateway)

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.

IMPORTANT: Always use video_selector instead of calling provider tools directly. The selector handles availability checks, cost comparison, and automatic fallback, and its scoring engine already biases toward Seedance 2.0 for cinematic intent.

Authentication

Use whichever configured gateway best matches the user's available providers and cost/quality goals.

  • 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 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.

curl -X POST "https://api.heygen.com/v1/workflows/executions" \
  -H "X-Api-Key: $HEYGEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"workflow_type": "GenerateVideoNode", "input": {"prompt": "A drone shot flying over a coastal city at sunset"}}'

Default Workflow

  1. Call POST /v1/workflows/executions with workflow_type: "GenerateVideoNode" and your prompt
  2. Receive a execution_id in the response
  3. Poll GET /v1/workflows/executions/{id} every 10 seconds until status is completed
  4. Use the returned video_url from the output

Execute Video Generation

Endpoint

POST https://api.heygen.com/v1/workflows/executions

Request Fields

Field Type Req Description
workflow_type string Y Must be "GenerateVideoNode"
input.prompt string Y Text description of the video to generate
input.provider string Video generation provider (default: "veo_3_1"). See Providers below.
input.aspect_ratio string Aspect ratio (default: "16:9"). Common values: "16:9", "9:16", "1:1"
input.reference_image_url string Reference image URL for image-to-video generation
input.tail_image_url string Tail image URL for last-frame guidance
input.config object Provider-specific configuration overrides

Providers

Provider Value Description
常见问题

支持哪些服务?

该技能支持多个网关,例如 fal.ai、HeyGen、Kling 和 Gemini,每个都需要各自的密钥。

它需要花钱吗?

生成视频会使用付费服务,因此技能会在每次付费调用前请你确认。

它能编辑我已经制作好的片段吗?

可以。某个服务商支持逐步编辑片段,例如更改物体或光线。

详情

作者的原始描述

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).

repo: calesthio/OpenMontage

热度

GitHub 星标
75k
排名
#2637
许可证
AGPL-3.0
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能