AI Agent Hub
Back to skills
Vidu Video Generation icon

Vidu Video Generation

Design & Media Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @vidu/vidu-video-generate-2 into your AI assistant.

About this skill

Problem

Video-generation scripts often juggle multiple task shapes: text-to-video, a single image as the first frame, multi-subject reference, and first-last-frame transitions, while also managing model duration, resolution, audio-video sync, and async polling. Calling the API directly can lead to wrong model routing, missing image requirements, or ignored download windows.

How It Works

This skill wraps Vidu video generation with a natural-language entry point. After the user provides a prompt or images, it classifies the task and selects an appropriate model. Text-to-video can use models such as viduq3-pro-fast, viduq3-turbo, and viduq2; image-to-video requires one image; reference-to-video supports multiple images; first-last-frame video requires both start and end frames.

Key steps include:
- verifying VIDU_API_KEY
- choosing api.vidu.cn or api.vidu.com based on user language
- submitting the asynchronous task and polling status
- returning Markdown file references and the creations[0].url video link

Boundaries

This is best for quick script validation, sample clips, and draft assets, not for unattended bulk production. Input images should stay under 50MB, generated links expire within 24 hours, and errors such as Invalid API key, Image size exceeds, and Task failed should be resolved by checking the key, asset size, and error details.

Use Cases

  • Pass a plain-text prompt and call a text-to-video model to create a 5-second clip.
  • Provide one first-frame image and a description to generate a preview image-to-video clip.
  • Use multiple subject images to create a reference-to-video clip for multi-person scenes.
  • Supply first and last frame images to generate a timed transition animation.

Best For

  • Short-video script engineers who need to turn text prompts into Vidu video clips.
  • Product operations staff who need one first-frame image to generate preview videos.
  • Automation developers who need to call the Vidu API and poll task status.
  • Animation storyboard creators who need first-last-frame transition videos.