✓ Verified
💻 Development
✓ Enhanced Data
Aiml Image Video
Generate images or videos via AIMLAPI from prompts.
- Rating
- 4.6 (475 reviews)
- Downloads
- 43,590 downloads
- Version
- 1.0.0
Overview
Generate images or videos via AIMLAPI from prompts.
Complete Documentation
View Source →
AIMLAPI Media Generation
Overview
Generate images and videos via AIMLAPI with scripts that include retries, API key file fallback, verbose logs, and required User-Agent headers on every request.
Quick start
bash
export AIMLAPI_API_KEY="sk-aimlapi-..."
python3 {baseDir}/scripts/gen_image.py --prompt "ultra-detailed studio photo of a lobster astronaut"
python3 {baseDir}/scripts/gen_video.py --prompt "slow drone shot of a foggy forest"
Tasks
Generate images
Use scripts/gen_image.py with /v1/images/generations.
bash
python3 {baseDir}/scripts/gen_image.py \
--prompt "cozy cabin in a snowy forest" \
--model aimlapi/openai/gpt-image-1 \
--size 1024x1024 \
--count 2 \
--retry-max 4 \
--user-agent "openclaw-custom/1.0" \
--out-dir ./out/images
Generate videos (async AIMLAPI flow)
Use scripts/gen_video.py with the real async flow:
POST /v2/video/generations(create task)GET /v2/video/generations?generation_id=...(poll status)- download
video.urlwhen status is completed
bash
python3 {baseDir}/scripts/gen_video.py \
--model google/veo-3.1-t2v-fast \
--prompt "time-lapse of clouds over a mountain range" \
--poll-interval 10 \
--max-wait 1000 \
--user-agent "openclaw-custom/1.0" \
--out-dir ./out/videos
References
references/aimlapi-media.md: endpoint notes, async polling statuses, and troubleshooting.README.md: changelog-style summary of new instructions.
Installation
Terminal bash
openclaw install aiml-image-video
Copied!
💻Code Examples
python3 {baseDir}/scripts/gen_video.py --prompt "slow drone shot of a foggy forest"
python3-basedirscriptsgenvideopy---prompt-slow-drone-shot-of-a-foggy-forest.txt
## Tasks
### Generate images
Use `scripts/gen_image.py` with `/v1/images/generations`.--out-dir ./out/images
---out-dir-outimages.txt
### Generate videos (async AIMLAPI flow)
Use `scripts/gen_video.py` with the real async flow:
1. `POST /v2/video/generations` (create task)
2. `GET /v2/video/generations?generation_id=...` (poll status)
3. download `video.url` when status is completedexample.sh
export AIMLAPI_API_KEY="sk-aimlapi-..."
python3 {baseDir}/scripts/gen_image.py --prompt "ultra-detailed studio photo of a lobster astronaut"
python3 {baseDir}/scripts/gen_video.py --prompt "slow drone shot of a foggy forest"example.sh
python3 {baseDir}/scripts/gen_image.py \
--prompt "cozy cabin in a snowy forest" \
--model aimlapi/openai/gpt-image-1 \
--size 1024x1024 \
--count 2 \
--retry-max 4 \
--user-agent "openclaw-custom/1.0" \
--out-dir ./out/imagesexample.sh
python3 {baseDir}/scripts/gen_video.py \
--model google/veo-3.1-t2v-fast \
--prompt "time-lapse of clouds over a mountain range" \
--poll-interval 10 \
--max-wait 1000 \
--user-agent "openclaw-custom/1.0" \
--out-dir ./out/videosTags
#coding_agents-and-ides
#api
Quick Info
Category Development
Model Claude 3.5
Complexity One-Click
Author aimlapihello
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install aiml-image-video
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0