Install
openclaw skills install @start-ten/agnes-aiFree image & video generation via Agnes AI API - text-to-image, image-to-image, text-to-video, image-to-video
openclaw skills install @start-ten/agnes-aiFree multimodal AI generation using Agnes AI API.
| Model | Type | Price |
|---|---|---|
agnes-image-2.1-flash | Image generation (text-to-image & image-to-image) | Free |
agnes-video-v2.0 | Video generation (text-to-video & image-to-video) | Free |
curl -X POST https://apihub.agnes-ai.com/v1/images/generations \
-H "Authorization: Bearer *** \
-H "Content-Type: application/json" \
-d '{"model": "agnes-image-2.1-flash", "prompt": "a cat on a desk", "size": "1024x1024", "extra_body": {"response_format": "url"}}'
# Create task
curl -X POST https://apihub.agnes-ai.com/v1/videos \
-H "Authorization: Bearer *** \
-H "Content-Type: application/json" \
-d '{"model": "agnes-video-v2.0", "prompt": "a cat walking", "width": 1152, "height": 768, "num_frames": 121, "frame_rate": 24}'
# Poll result
curl "https://apihub.agnes-ai.com/agnesapi?video_id=<ID>&model_name=agnes-video-v2.0" \
-H "Authorization: Bearer $AGNES...