AI Agent Hub
Back to skills
Vidu Scene Effect Generator icon

Vidu Scene Effect Generator

Design & Media Updated 2026.08.30

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

Please install @vidu/vidu-template-generate2 into my AI assistant according to https://skillhub.cn/install/skillhub.md.

About this skill

What It Solves

Turn a user photo into a short video effect without manually hunting for template IDs, assembling API payloads, polling tasks, and handling key or link expiry. It wraps the Vidu template workflow into a conversational entry point for photo-to-video generation.

How It Works

  • Template matching: maps natural requests to template_id values such as hulk, fashion_stride, or christmas.
  • Photo requirement: uses only user-uploaded photos and prompts for upload when missing, rather than substituting default images.
  • API execution: requires VIDU_API_KEY, starts asynchronous generation through a Python CLI, and polls task status until completion.
  • Result handling: stores assets under {baseDir}/uploads/ and returns the video URL from creations[0].url.
  • Special parameters: supports template-specific options like area for exotic_princess and beast for beast_companion.

Boundaries And Notes

  • Generation is asynchronous, so status polling is required before reading the final result.
  • The returned video URL is time-sensitive and should be used or downloaded promptly.
  • An incorrect template ID can cause Template not found.
  • Oversized images can trigger Image size exceeds; keep uploads below 50MB when possible.
  • API domain selection affects routing: use api.vidu.cn for Simplified Chinese contexts and api.vidu.com for other languages.

Use Cases

  • Create Valentine's photo effect videos for marketing by generating short clips from uploaded photos and returning shareable links.
  • Batch-produce red-carpet, runway, or award-style template videos for content ops by replacing the photo subject and returning playback links.
  • Debug Vidu effect API calls for integrations, handling template IDs, async polling, link expiry, and API errors.
  • Test Hulk or beast-companion templates for creative planning by adjusting the `beast` parameter and generating beast-interaction clips.

Best For

  • Operations staff: need to turn customer or user photos into holiday, red-carpet, or transformation-style video assets quickly.
  • Content producers: need to select effects from template lists, replace the photo subject, and obtain shareable video links.
  • API integration engineers: need to wrap Vidu async tasks, validate API keys, and handle template IDs and download links.
  • Creative planners: need to compare parameter variations for templates like Exotic Princess and Beast Companion.