ziho7/agnes-skills/agnes-imagegen
Claude Code and agent skill by ziho7/agnes-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate images using the Agnes Image 2.0 Flash model API. Use when the user asks to generate images via Agnes AI platform (apihub.agnes-ai.com). Triggers on: agnes image, agnes 图片, image gen, generate image, text to image, img2img, image editing, multi-image composition, 生图, 文生图, 图生图.
Install
npx vskill@latest install ziho7/agnes-skills/agnes-imagegenSKILL.md
Agnes Image Generation
Generate images using the Agnes Image 2.0 Flash API.
Prerequisites
- An Agnes AI API key from API Platform
- Base URL:
https://apihub.agnes-ai.com/v1
API Details
Endpoint: POST https://apihub.agnes-ai.com/v1/images/generations
Headers:
Authorization: Bearer YOUR_API_KEYContent-Type: application/json
Model Name: agnes-image-2.0-flash
Request Parameters
| Parameter | Type | Required | Description | |
|---|---|---|---|---|
| model | string | Yes | Fixed as agnes-image-2.0-flash | |
| prompt | string | Yes | Text prompt describing the target image or editing instruction | |
| size | string | Yes | Output image size: 1024x768, 1024x1024, or 768x1024 | |
| image | string[] | Image-to-Image only | Input image array. Supports public URLs or Data URI Base64 | |
| return_base64 | boolean | No | Return Base64 output for text-to-image | |
| extra_body.response_format | string | No | Output format: url or b64_json |
Workflows
1. Text-to-Image (URL output)
Result: data[0].url
2. Text-to-Image (Base64 output)
Result: data[0].b64_json
3. Image-to-Image (URL input, URL output)
4. Multi-Image Composition
Response Format
URL output:
Base64 output:
Important Notes
- Text-to-image does not require the
imageparameter - Image-to-image requires
imagearray (public URLs or Data URI Base64) - Image-to-image does NOT require
tags: ["img2img"] - Do NOT place
response_formatat the top level — useextra_body.response_format - Client timeout recommended: 60s–360s
- Pricing: Currently free during beta
Prompt Best Practices
Text-to-Image structure: [Main subject] + [Scene/background] + [Style] + [Lighting] + [Composition] + [Quality requirements]
Example:
Image-to-Image structure: [Editing instruction] + [Elements to preserve] + [Target style/scene] + [Lighting] + [Composition] + [Quality requirements]
Example:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagnes-imagegen/SKILL.md
Popularity
- Repository stars
- 71
- Repository forks
- 14
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ziho7/agnes-skills/agnes-imagegen)