Introduction¶
Generating images within conversational Agents typically involves either integrating general-purpose multimodal interfaces or relying on the platform’s built-in drawing capabilities. The former usually requires you to encapsulate authentication, model selection, and parameters within your own SKILL; the latter easily becomes tied to the host product’s credits and quota. If you are already using Agnes AI’s image capabilities, or want more natural, realistic image generation with more reliable Chinese text rendering, you need a Skill built according to Agnes model specifications that allows you to use your own Key. agnes-image-gen is a community Skill designed for this scenario.
What is This¶
agnes-image-gen is a community Skill on SkillHub located at @user_15292d5a/yjkj-agnes-image-gen (categorized under design-media, current version 1.0.0). It is published by user_15292d5a, with a tag indicating requires_api_key=true, meaning you need to configure an Agnes API Key before running it.
It connects Agnes AI’s image generation models to Agent workflows that comply with the general SKILL.md conventions: when a user describes their needs in natural language, the Agent loads this Skill and calls Agnes according to rules to complete text-to-image or image-to-image tasks. The official description emphasizes: calls do not consume WorkBuddy credits, only Agnes API quota is consumed.
Core Features¶
The following capabilities are drawn from the SkillHub page and the fetched description. Interface fields or scripts not separately listed are not expanded in this article.
Text-to-Image¶
Uses the agnes-image-2.1-flash model to generate images based on text prompts.
Image-to-Image¶
Uses the agnes-image-2.0-flash model to rewrite or extend an image based on a reference image and prompts.
Custom API Key¶
Supports configuring the user’s own Agnes Key, with billing and usage control under the user’s own Agnes account, rather than going through the host product’s drawing credits.
Output Quality Orientation¶
The optimization priorities highlighted in the Skill’s introduction include:
- Reducing the “AI look” of images, enhancing naturalness and realism;
- Improving the logical coherence, fonts, and layout of Chinese text captions;
- Mitigating common issues such as text ghosting and overlapping.
When to Load This Skill¶
When a user says something like “Use Agnes to generate an image,” “Draw one with Agnes,” “Agnes generation,” or explicitly requests using Agnes API for text-to-image or image-to-image, the Agent should load this Skill. Specific triggers and parameter conventions should follow the installed SKILL.md.
Installation and Activation¶
SkillHub provides two official installation methods: let the AI follow the installation documentation, or use the skillhub CLI locally to install into the current Agent’s skills directory.
Method 1: Hand the Prompt to the AI¶
Send the following intent to a client that supports Skills (refer to the SkillHub page for exact wording):
Please install `@user_15292d5a/yjkj-agnes-image-gen` according to https://skillhub.cn/install/skillhub.md.
Method 2: skillhub CLI¶
- If the CLI is not yet installed, you can check first:
command -v skillhub && skillhub --version
-
If not installed, you can follow the SkillHub installation documentation to perform a full installation or just install the CLI (documentation URL:
https://skillhub.cn/install/skillhub.md). -
When installing this Skill, you must use
--dirto point to the current Agent’s skills directory; otherwise, the default./skills/may not be recognized:
skillhub install @user_15292d5a/yjkj-agnes-image-gen --dir <skills directory>
Common client skills paths (excerpted from the SkillHub installation documentation; use your local actual paths):
| Client | skills directory |
|---|---|
| Claude Code | ~/.claude/skills/ |
| Cursor | ~/.cursor/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Gemini CLI | ~/.gemini/skills/ |
After installation, configure the Agnes API Key according to each client’s requirements (the Skill tag requires requires_api_key=true). The key field name and example should follow the SKILL.md inside the Skill package; this article does not fabricate configuration item names.
Typical Usage¶
The public page does not provide independent REST examples or fixed prompt templates; usage is primarily through conversation triggers + descriptions within the Skill. The reproducible entry points are as follows.
-
Confirm the Skill is installed in the corresponding
--dirand the Agnes Key is configured. -
Explicitly request Agnes in the conversation, for example:
Use Agnes to draw: early morning city skyline, thin mist, documentary photography style, no exaggerated HDR.
- For image-to-image scenarios, upload a reference image in a client that supports attachments and describe the intent, for example:
Use Agnes to generate: keep the lighting of this product image, change the background to a simple light gray display stand, Chinese title "Autumn Limited" with clear layout and no ghosting.
After loading agnes-image-gen, the Agent should select agnes-image-2.1-flash (text-to-image) or agnes-image-2.0-flash (image-to-image). The generation result path and format depend on the Skill implementation and the Agnes API response.
Use Cases and Notes¶
Who It’s For
- Those who are already using or planning to use Agnes image APIs and want to generate images with the same Key within Agents like Cursor, Claude Code, or Codex;
- Those who need posters, illustrations, or other visuals with Chinese text, and want the Skill to have quality orientation statements regarding “AI look” and text layout;
- Those who want drawing billing to be decoupled from WorkBuddy credits, only consuming Agnes quota.
Limitations and Notes
- You must provide and securely store your Agnes API Key; do not write the Key into public repositories or chat records.
- SkillHub statistics (based on scripted fetching): rating 100000, downloads 1944; the installation count shown on the page is 0, which may be related to statistical caliber and does not affect installation via the above commands.
- Community-sourced (
community); upgrade and maintenance pace depends on the publisher; before using in production, it is recommended to validate the results and quota under a test Key. - For model versions, pricing, and rate limits not appearing in the official introduction, refer to Agnes’ official documentation.
Conclusion¶
agnes-image-gen encapsulates Agnes’ agnes-image-2.1-flash text-to-image and agnes-image-2.0-flash image-to-image into an installable Agent Skill, supports your own Key, and provides product-oriented descriptions for more natural images and more reliable Chinese text captions. Installation and coordinates should follow SkillHub.
- SkillHub page: https://www.skillhub.cn/skills/user_15292d5a/yjkj-agnes-image-gen
- Resource URL: https://api.skillhub.cn/user_15292d5a/yjkj-agnes-image-gen
- Installation instructions: https://skillhub.cn/install/skillhub.md