
Agnes Ai Generation
This wraps the Agnes AI generation APIs for text, image, and video creation through apihub.agnes-ai.com. You get text completions with agnes-2.0-flash, images from agnes-image-2.1-flash (including image-to-image edits), and async video generation with agnes-video-v2.0 covering text-to-video, image-to-video, and keyframe animation. The included Python script handles all the endpoint quirks, validates frame counts and dimensions, and polls video tasks until they finish. One catch: the multi-turn function calling API isn't reliable for agent loops, so stick to single completions for text generation. The smoke test suite is thorough but skip the video cases unless you explicitly need them since they burn credits and take time to render.
- skills.sh installs
- 2.4K
- GitHub stars
- 425
- last updated
- Jul 14, 2026
Install
$ npx -y skills add yacey/agnes-ai-generation-skill --skill agnes-ai-generation --agent claude-codeInstalls into .claude/skills of the current project.
Files
Agnes AI Generation
Use this skill to call Agnes text, image, and video generation APIs through https://apihub.agnes-ai.com.
Quick Start
- Read
references/api.mdwhen endpoint details, parameters, or response fields are needed. - Use
scripts/agnes_api.pyfor real API calls instead of rewriting curl by hand. - Require an API key in
AGNES_API_KEY,AGNES_API_TOKEN, orAPIHUB_AGNES_API_KEY. Never print the key. - For light live verification, run
smoke-test; it avoids video creation by default. Add--include-image-editfor image-to-image, and add--video-case <case>explicitly for video modes. Treat the skill as fully tested only when basic text, text streaming, text tool calling, text-to-image, image-to-image, text-to-video, image-to-video, multi-image video, keyframe video, and video retrieval return successful responses.
Commands
Text generation:
python scripts/agnes_api.py text --prompt "Write a concise product tagline for an AI assistant."
Streaming text:
python scripts/agnes_api.py text --prompt "Write a short product intro." --stream
Sponsors
Details
- Repository
- github.com/yacey/agnes-ai-generation-skill
- Category
- AI & Agent Building
- First seen
- Jul 14, 2026