AI Agent Hub
Back to skills
Tencent VOD AIGC Code Helper icon

Tencent VOD AIGC Code Helper

Development Updated 2026.08.30

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

Please install @tencent-adm/tencent-vod-aigc-code-helper according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem it addresses

When integrating Tencent VOD AIGC APIs, the blocker is usually not just “can the call run.” Developers often need to reconcile scattered interface docs, lagging parameter updates, a missing or wrong SubAppId, outdated SDK request classes, async task polling, and unclear billing boundaries. This skill focuses on those engineering details and helps align docs, credentials, sub-app configuration, task state, and cost rules before code is written.

How it works

It organizes the integration workflow around common Tencent VOD AIGC tasks:
- Image/video generation: identify CreateAigcImageTask and CreateAigcVideoTask, note that they are asynchronous, and use the returned TaskId to poll DescribeTaskDetail.
- Custom elements and voices: surface the docs for CreateAigcCustomElement, CreateAigcCustomVoice, CreateAigcAdvancedCustomElement, and CreateAigcSubject.
- Auth and call setup: remind developers to prepare SecretId, SecretKey, and verify the required SubAppId.
- SDK usage: prefer official Python, Go, Java, Node.js, PHP, or .NET SDKs over manually constructing signed HTTP requests.
- Result retrieval: use polling for debugging, and consider HTTP callbacks or CMQ/TDMQ message queues in production.

It also keeps billing risk visible: AIGC image generation, video generation, custom elements, custom voices, and related capabilities may be charged by image count, video duration, training time, or other dimensions, with different pricing for domestic and international accounts.

Boundaries and cautions

This skill is useful for interface selection, workflow clarification, SDK example drafting, and debugging auth or task-status issues. It does not replace official docs as the final source of truth; when parameters differ from the website, check the supplemental docs for the latest fields. Before production calls, confirm cost alerts, spending limits, retry behavior, and concurrency control.

Use Cases

  • A backend engineer calls CreateAigcImageTask in Python and queries task status by TaskId.
  • A Go engineer debugs AIGC video auth failures, wrong SubAppId, or missing Request classes.
  • A full-stack engineer configures AIGC HTTP callbacks to replace frequent polling in production.
  • A platform engineer reviews image, video, and custom voice billing before adding cost alerts.

Best For

  • Backend engineers integrating Tencent VOD: need to confirm AIGC APIs, parameters, auth, and task queries.
  • Full-stack engineers operating production AIGC video or image jobs: need polling or callback flows with controlled retries.
  • Product engineers adopting AIGC features: need to assess billing dimensions, test minimum specs, and set cost alerts.
  • Junior engineers using Go or Python SDKs for VOD APIs: need to avoid hardcoded keys and incorrect SubAppId.