AI Agent Hub
Back to skills
Tencent Cloud Video Effects icon

Tencent Cloud Video Effects

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 and install @tencent-adm/tencentcloud-video-effects.

About this skill

Problem

When a user provides an image containing a person and wants a short video generated from a Tencent Cloud video-effects template, manually calling TemplateToVideo usually involves API keys, job submission, async polling, and result parsing. This skill wraps those steps in main.py so an agent can execute the script and return the generated video effect.

How It Works

  • Input: image URL or local path, up to 10MB, supporting png, jpg, jpeg, webp, bmp, and tiff.
  • Core capability: detects the full human outline in the image, performs cutout, and generates video from the selected effects template.
  • Common parameters: template name (e.g. hug), --resolution for output quality, --bgm to add background music, --logo-add for the AI-generated label, and --poll-interval / --max-poll-time for async polling.
  • Return mode: by default it submits the job asynchronously and polls until a result is available or the timeout is reached; --no-poll returns only the job ID.
  • Execution boundary: if the call fails, the agent should return a clear error instead of inventing recognized content.

Notes

It suits automated workflows where Tencent Cloud Video Effects is enabled and API credentials are configured. It is not a local offline renderer, nor is it suited for images without a recognizable human outline, unmatched templates, or pure image editing. Results depend on the template, resolution, timeout, and asynchronous job status.

Use Cases

  • An operations editor takes a person-centered campaign image and generates a short video with the hug template and background music.
  • A QA engineer submits a local 8MB person JPG and requests 720p output with the AI label disabled.
  • A pipeline sends an image URL to TemplateToVideo and asks for JobId only without waiting for polling.
  • A content editor applies a Tencent Cloud effects template to a portrait WebP and sets 1080p resolution.

Best For

  • Operations owners who turn person-centered campaign images into short videos using Tencent Cloud effect templates.
  • Backend engineers who integrate TemplateToVideo, handle async JobId, and poll job status.
  • QA engineers validating resolution, background music, and polling behavior for Tencent Cloud media APIs.
  • Content editors who generate person short clips with 1080p output and added BGM.