Chuyển đến nội dung
Skillpedia
Dựng video75k · #2637

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

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/ai-video-gen/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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_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
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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự