Image Generation Skill: Agent Image Generation based on OpenAI-Compatible Images API

Introduction

When generating images in an Agent, the common approach is to hand-write scripts that call various image generation HTTP APIs, or to maintain a separate set of parameters for each relay service. When model names, authentication methods, and response formats are inconsistent, switching backends requires modifying the calling code. If you already have an OpenAI-style images endpoint (or it has been unified into that form through a relay service), and you want to let the Agent generate images directly via natural language—covering text-to-image, reference image, and multi-image fusion—you can take a look at the community skill “Image Generation Skill” on SkillHub (@user_1707615b/t-h-i-n-g-o-2026, currently at version v1.1.1).

What Is This

The “Image Generation Skill” is a community skill under the design-media category on SkillHub (source: community, publisher: user_1707615b). It is positioned as an image generation skill capable of connecting to relay services, providing general-purpose image generation capabilities based on an OpenAI-compatible images API. It can generate high-definition images with a single description and can flexibly combine different generation models. The model service entry provided in the introduction is https://uniapi.thingo.com.cn. The skill tag indicates requires_api_key=true, so you need to prepare your own API Key and a compatible images service address before use.

Core Features

The following capabilities are derived from the SkillHub page and crawled metadata; configuration items not appearing in the materials are not elaborated on.

  1. Text-to-Image: Generate images through natural language descriptions.
  2. Image-to-Image Reference: Use reference images to constrain style or content (support for automatic local image uploads and mixing local paths with URLs has been available since v1.1.0).
  3. Multi-Image Fusion: Multiple input images participate in a single generation (newly added in v1.1.0).
  4. 2K High-Definition Output: The introduction explicitly states support for 2K high-definition image output.
  5. Version Iteration: v1.1.0 added local image upload, mixing local paths with URLs, and multi-image fusion; v1.1.1 added a version changelog and fixed an issue where the skill name and description display became chaotic after version updates.

Installation and Activation

The installation guide provided on the official page is: instruct the Agent to follow the SkillHub installation documentation, using the installation coordinate @user_1707615b/t-h-i-n-g-o-2026. The installation documentation URL is https://skillhub.cn/install/skillhub.md.

First, perform an environment check, then install the skill into the skills directory recognizable by the current Agent (the --dir flag must be specified during installation; otherwise, it defaults to ./skills/ and may not be recognized).

command -v skillhub && skillhub --version

If the CLI is not installed, you can follow the installation documentation to execute the full installation (the example below is the recommended command from the documentation):

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

When installing this skill, point --dir to the skills path of your current client. Common paths listed in the installation documentation include:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Example (replace <skills directory> with the actual path):

skillhub install @user_1707615b/t-h-i-n-g-o-2026 --dir <skills directory>

You can also directly ask the Agent in conversation: “Please install @user_1707615b/t-h-i-n-g-o-2026 according to https://skillhub.cn/install/skillhub.md.”

After the skill is activated, configure the Key and Base URL required for the images API according to the SkillHub instructions (the specific field names should be based on the SKILL.md after installation; public materials only confirm that an API Key is required). The relay service must provide an OpenAI-compatible images interface externally to align with the skill’s design.

Typical Usage

The public page does not include standalone command-line examples; usage primarily relies on “activating the skill + natural language tasks,” consistent with the introduction’s statement of “generating high-definition images directly with a single description.” Conversations can be organized according to capability types, for example:

  1. Pure Text-to-Image: Describe the main subject, style, and resolution requirements (specify 2K when needed).
  2. With Reference Images: Provide local file paths or accessible image URLs; since v1.1.0, local paths and URLs can be mixed, with the skill handling upload and reference.
  3. Multi-Image Fusion: Provide multiple reference images and fusion intent in a single task (supported since v1.1.0).

Actual parameters (model name, size, reference image fields, etc.) should be based on the SKILL.md within the skill package and the images API documentation of the relay service being connected to.

Use Cases and Notes

Who It’s For: Developers who are already using or plan to use an OpenAI-compatible images API (including unified access through relay services like uniapi.thingo.com.cn); those who want to complete image generation through conversation within Agents like Cursor, Claude Code, or Codex, rather than writing HTTP calls every time.

Community Data (SkillHub crawled metadata, 2026-10-20): Rating 100000, Downloads 9034, Category design-media. The displayed version on the page is v1.1.1.

Notes:

  • You must prepare your own API Key; remote image generation cannot be called without configuration.
  • Multi-image, local path, and URL mixing rely on version v1.1.0 or above; if metadata displays abnormally after upgrading, v1.1.1 has already fixed the name and description confusion issue.
  • Image quality, time consumption, and costs depend on the selected model and relay service policies; the skill itself does not replace server-side quotas and compliance reviews.

Conclusion

The “Image Generation Skill” consolidates image generation capabilities onto Agent conversation and the OpenAI-compatible images API, covering text-to-image, reference images, and multi-image fusion, with support for 2K output; it is suitable for scenarios where you have already connected to a relay service and want to write less glue code. For installation and details, see SkillHub:

羽毛球分组比赛记分
小程序二维码

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

Xiaoye