ai-video-gen
Skill này làm gì
Skill này tạo các đoạn video AI ngắn từ văn bản hoặc ảnh tĩnh. Nó dành cho người làm video cần các đoạn clip ngắn được tạo ra và muốn so sánh các nhà cung cấp.
Khi nào nên dùng
- ✓Khi bạn cần một đoạn video AI ngắn từ một mô tả bằng văn bản.
- ✓Khi bạn muốn biến một ảnh tham khảo thành một đoạn video chuyển động.
- ✓Khi bạn cần một đoạn clip kiểu điện ảnh hoặc trailer và muốn chọn nhà cung cấp tốt nhất.
Liên kết skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/ai-video-gen/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một đoạn 5 giây về con phố thành phố vào ban đêm trong mưa, dựa trên ảnh này.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn nhà cung cấp video phù hợp với công việc, gửi prompt hoặc ảnh, và lưu đoạn clip vào dự án của bạn. Nó cũng có thể gợi ý một nhà cung cấp khác để chỉnh sửa một clip có sẵn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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_KEYto access the multi-model gateway. - fal.ai: Set
FAL_KEYto access Kling, MiniMax, and Veo through fal.ai. - Kling Official: Set
KLING_API_KEYto access Kling's official direct API viaprovider="kling_official". - Gemini API: Set
GEMINI_API_KEYorGOOGLE_API_KEYto 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
- Call
POST /v1/workflows/executionswithworkflow_type: "GenerateVideoNode"and your prompt - Receive a
execution_idin the response - Poll
GET /v1/workflows/executions/{id}every 10 seconds until status iscompleted - Use the returned
video_urlfrom 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 |
|---|---|---|
Câu hỏi thường gặp
Những dịch vụ nào được hỗ trợ?
Skill hỗ trợ nhiều gateway, như fal.ai, HeyGen, Kling và Gemini, mỗi cái cần khóa riêng.
Có tốn tiền không?
Tạo video dùng dịch vụ trả phí, nên skill yêu cầu bạn xác nhận trước mỗi lần gọi trả phí.
Nó có chỉnh sửa một clip tôi đã làm không?
Có. Một nhà cung cấp hỗ trợ chỉnh sửa clip từng bước, như thay đổi đối tượng hoặc ánh sáng.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 75k
- Vị trí xếp hạng
- #2637
- Giấy phép
- AGPL-3.0
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
3d-asset-generation
75kGiúp agent của bạn chọn cách tạo đối tượng 3D cho một cảnh, bằng thư viện có sẵn, các tool chuyển văn bản hoặc ảnh thành 3D, và Blender để lắp ráp cuối cùng.
acestep
75kGiúp agent của bạn tạo nhạc nền, bài hát, jingle và các stem cho video bằng trình tạo nhạc mã nguồn mở ACE-Step.
agents
75kGiúp agent của bạn xây dựng trợ lý AI giọng nói bằng ElevenLabs, như bot chăm sóc khách hàng và nhân vật giọng nói tương tác.
atlas-cloud
75kGiúp agent của bạn tạo hoặc chỉnh sửa ảnh và video qua gateway Atlas Cloud, dùng một khóa cho nhiều họ mô hình media.
Skill tương tự
taste-application
280kGiúp agent tạo video theo phong cách cụ thể: sao chép nhịp dựng từ video mẫu, tạo cảnh mới, chỉnh màu và ghép với các đoạn có sẵn.
taste-distillation
280kGiúp agent phân tích video để tạo style pack gồm màu sắc, nhịp cắt và yếu tố hình ảnh, tái sử dụng để tạo video mới cùng phong cách.
ui-demo
280kGiúp agent ghi lại video demo giao diện chỉn chu. Hữu ích để tạo hướng dẫn hoặc cho thấy một ứng dụng web hoạt động ra sao.