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-code

Installs 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

  1. Read references/api.md when endpoint details, parameters, or response fields are needed.
  2. Use scripts/agnes_api.py for real API calls instead of rewriting curl by hand.
  3. Require an API key in AGNES_API_KEY, AGNES_API_TOKEN, or APIHUB_AGNES_API_KEY. Never print the key.
  4. For light live verification, run smoke-test; it avoids video creation by default. Add --include-image-edit for 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
1starchild-ai-agent avatarxai-grok-onboardingstarchild-ai-agent/official-skillsConnect an xAI account (X Premium / X Premium+ / SuperGrok / SuperGrok Heavy) via OAuth 2.0 device-code login. Use when the user wants to sign in with their xAI2.3Kskills.sh installs
2k-dense-ai avatarmarkitdownk-dense-ai/scientific-agent-skillsConvert heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion. Covers safe local conv2.2Kskills.sh installs
3anthropics avatardesign-mcp-workflowanthropics/knowledge-work-pluginsDesign a Zoom MCP workflow for Claude. Use when deciding whether Zoom MCP fits a task, when planning tool-based AI workflows, or when separating MCP responsibil2.2Kskills.sh installs
4anthropics avatarzoom-mcpanthropics/knowledge-work-pluginsGuidance for the bundled Zoom MCP connectors. Use after routing to an MCP workflow when planning or troubleshooting tool-based access to meetings, recordings, m2.2Kskills.sh installs
5k-dense-ai avataropen-notebookk-dense-ai/scientific-agent-skillsSelf-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis. Use when organizing research materials into notebooks, 2.1Kskills.sh installs
6redis avatarredis-semantic-cacheredis/agent-skillsRedis LangCache guidance for semantic caching of LLM responses on Redis Cloud — calling search/set via the SDK or REST API, tuning the similarity threshold, sep2Kskills.sh installs