aiml-image-video
by aimlapihello
Coding Agents & IDEsBrief
Generate images or videos via AIMLAPI from prompts.
Description
What This Skill Does
Generates images and videos from text prompts using the AIMLAPI platform. Scripts handle retries, async video polling, and required User-Agent headers without manual setup.
Handles AIMLAPI's async video polling and retry logic automatically, removing boilerplate that would otherwise need to be written for every project.
When to Use It
- Generating product mockup images from text descriptions
- Creating short video clips from scene prompts
- Batch-generating image variations with custom sizes
- Automating media generation in agent pipelines
- Prototyping visual assets from written briefs
Example Workflow
User asks: generate a time-lapse video of clouds over a mountain range
- 1
Run gen_video.py with the prompt and model flag
- 2
POST to /v2/video/generations to create the async task
- 3
Poll /v2/video/generations with the returned generation_id until status is completed
- 4
Download the video from the returned URL to the output directory
Video file saved to ./out/videos/
Requirements
- AIMLAPI account and API key (set as AIMLAPI_API_KEY environment variable)
Installation
clawhub install aimlapihello/aiml-image-videoRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.