HY Image Generation: Integrating Tencent Cloud Hunyuan Image 3.0 into Agents

Preface

When creating content, interfaces, or prototypes, illustration often gets stuck on “finding images” and “editing images”: assets found via keywords don’t match the topic, and drawing them yourself is slow. By integrating Text-to-Image and Image-to-Image into a conversational Agent, you can describe requirements in natural language, allowing the Skill to follow a unified process to call cloud-side capabilities, rather than manually writing SDKs or digging through console documentation every time.

Below is an introduction to HY Image Generation (@tencent-adm/hy-image-generation) on SkillHub, which encapsulates Tencent Cloud Hunyuan Image Generation 3.0 into an Agent Skill, targeting two types of tasks: “generating images from descriptions” and “re-generating from reference images.”

What is this

HY Image Generation is an enterprise-source Skill (Category: design-media) released by the Tencent Cloud Intelligent Creation Team on SkillHub, currently at version v1.0.2. In one sentence: Based on Tencent Cloud Hunyuan Image Generation 3.0, it supports Text-to-Image and Image-to-Image, generating images that better fit the intent based on text descriptions (and reference images in Image-to-Image scenarios).

The Skill coordinate is @tencent-adm/hy-image-generation; the SkillHub page marks requires_api_key=true, meaning you need to prepare Tencent Cloud API credentials before use. For specific variable names and configuration steps, refer to the SKILL.md inside the package.

Core Features

The following capabilities are derived from the official introduction; parameters or interfaces not appearing in the materials are not included:

  1. Text-to-Image: Generate images based on text descriptions.
  2. Image-to-Image: Re-generate or adjust style/content based on an existing image and a description (specific interactions depend on the Skill documentation).
  3. Hunyuan Image Generation 3.0: The backend uses Tencent Cloud’s Hunyuan Image Generation 3.0 capability, orchestrated by the Skill on the Agent side, reducing the cost of self-integrating HTTP/SDKs.

Installation and Activation

The official SkillHub page suggests: Let the AI install this Skill according to SkillHub Installation and Priority Source Configuration.

1. Install SkillHub CLI (if not installed)

First, check if skillhub is already on your machine:

command -v skillhub && skillhub --version

If not installed, you can use the official script to install it (full installation includes CLI and default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install HY Image Generation

During installation, you must use --dir to point to the current Agent’s skills directory; otherwise, it will default to ./skills/, and the Agent might not recognize it. Common path examples (subject to your actual environment):

Agent / Client Skills Directory (Example)
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

Installation command:

skillhub install @tencent-adm/hy-image-generation --dir <your skills directory>

You can also search before installing:

skillhub search hy-image-generation
skillhub install @tencent-adm/hy-image-generation --dir <your skills directory>

3. API Key and Activation

The Skill tag indicates that an API Key is required. After installation, open the SKILL.md of this Skill under the corresponding skills directory, configure Tencent Cloud credentials according to the documentation, and confirm that the Agent has loaded the directory (some clients require a restart or refresh of the skills list). Do not hardcode secrets in articles or repositories.

Differences between Cursor, Codex CLI, and Claude Code are mainly reflected in the skills directory path and how they refresh skills; the installation command itself is skillhub install. The materials do not list separate installation package names for different clients.

Typical Usage

The reproducible steps from the materials are “Installation + Enabling the Skill in Conversation”:

  1. Install @tencent-adm/hy-image-generation into the current Agent’s skills directory as per the previous section, and complete API Key configuration.
  2. Describe your needs in the conversation, such as: generating a cover image for a piece of copy, generating a style variant based on a reference image, or batch generating images based on storyboard descriptions. Once the Agent triggers this Skill, it will call Hunyuan Image Generation 3.0 following the process in SKILL.md.

The official page does not disclose independent curl examples or fixed prompt templates; specific request fields, output paths, and how to pass reference images for Image-to-Image are subject to the SKILL.md after installation to avoid inconsistencies with version v1.0.2.

Use Cases and Notes

Who is it for

  • Teams or individuals already using clients that support Skills (like Cursor, Claude Code, Codex) and want to turn “illustration” into a single step completed within the conversation.
  • Developers willing to use Tencent Cloud Hunyuan Image Generation and can apply for and manage API Keys themselves.

Limitations and Notes

  • Enterprise-source Skill (enterprise); usage and billing are subject to the Tencent Cloud Hunyuan Image Generation product and your account policies.
  • API Key must be configured; the Skill cannot complete cloud calls without it.
  • Generated content must comply with platform and Tencent Cloud compliance requirements; please verify terms of service and copyright agreements before commercial use.
  • SkillHub Statistics (as of data capture): Rating 100000, Downloads 6436, Installs 298; if install count is lower than download count, common reasons include not installing to the correct --dir or not configuring the key.

Conclusion

HY Image Generation connects the Text-to-Image and Image-to-Image capabilities of Hunyuan Image Generation 3.0 into the Agent workflow, making it suitable for scenarios where you want to drive illustration with natural language without integrating cloud APIs from scratch every time. Installation follows the standard SkillHub process; credentials and invocation details are subject to the documentation within the package.

  • SkillHub Page: https://www.skillhub.cn/skills/tencent-adm/hy-image-generation
  • Official Address: https://api.skillhub.cn/tencent-adm/hy-image-generation
  • Installation Guide: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye