Agnes AI Image and Video Generation
Paste the following prompt into your AI chat to install this skill:
Install @user_cdd89df6/agnes-gen into your AI assistant by following https://skillhub.cn/install/skillhub.md.
About this skill
Problem It Solves
In multimodal agent workflows, image and video generation often require assembling POST /v1/images/generations, POST /v1/videos, polling task status, and handling Agnes AI authentication, parameter limits, and response field quirks. This skill wraps API key configuration, base URL, and model calls into a usable workflow, reducing boilerplate for HTTP requests and status handling.
Core Capabilities and Workflow
- Text-to-image: uses
agnes-image-2.1-flashwith/v1/images/generationsfor prompt-based image generation. - Image editing: uses
agnes-image-2.0-flash, passing one or more reference images viaextra_body.image, requirestags: ["img2img"], and supports a fixedseedfor reproducible results. - Video generation: uses
agnes-video-v2.0as an asynchronous task; poll/v1/videos/{task_id}after creation.num_framesmust be8n+1and no greater than441, commonly 81, 121, 241, or 441. - Status handling: lifecycle moves from
queuedtoin_progresstocompleted/failed; when completed, read the video download URL fromremixed_from_video_id.
Boundaries
This skill relies on the free Agnes AI API, so it may hit RPM limits, video queuing, or 500/502/503 errors during peak periods. Store the API key in environment variables or configuration, and avoid committing it to Git.
Use Cases
- Generate product concept art from prompts by calling Agnes text-to-image endpoints.
- Edit or compose reference images using img2img mode, then fix the seed for reproducible results.
- Build short demo videos with text-to-video or image-to-video tasks, then poll until completion.
- Wrap image and video generation as agent tool calls to reduce manual HTTP and polling code.
Best For
- Multimodal agent engineers who need to expose image and video generation as tools.
- Frontend or full-stack developers who need a free image and video API for demos.
- Visual designers who need img2img editing and fixed seeds for reproducible iteration.
- Content creators who need to turn text or reference images into short video assets.
Related Skills
A ComfyUI image-generation skill that uses a five-step dialog to collect prompts, prefill templates, confirm parameters, submit API jobs, and return results.
A design-system guidance skill for Impeccable that produces token-based rules, component states, accessibility criteria, and QA checklists.
Director-level video lapian that diagnoses material precision, then produces frame evidence, director analysis, a style bible, and a showcase video.
Plan and brief Amazon MAIN, Listing, and A+ image sets from verified product facts, then return plan and image QA status.