humanpages
Search and hire real humans for tasks — photography, delivery, research, and more
Generate images or videos via AIMLAPI from prompts. Use when Codex needs reliable AI/ML API media generation with retries, explicit User-Agent headers, and async video polling.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install aimlapihello/aiml-image-videoInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
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.
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"
Use scripts/gen_image.py with /v1/images/generations.
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
Use scripts/gen_video.py with the real async flow:
POST /v2/video/generations (create task)GET /v2/video/generations?generation_id=... (poll status)video.url when status is completedpython3 {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/aimlapi-media.md: endpoint notes, async polling statuses, and troubleshooting.README.md: changelog-style summary of new instructions.These signals come from indexed source analysis and may lag behind changes. Check the current source files.
This skill provides helper scripts for AIMLAPI image and video generation.
AIMLAPI_API_KEY environment variable.--apikey-file flag; ensure the provided path is correct and secure.User-Agent header (configurable via --user-agent).gen_image.py supports retries, API key from --apikey-file, and verbose logs.gen_video.py follows AIMLAPI async flow:
POST /v2/video/generations
GET /v2/video/generations?generation_id=...
video.url
waiting|active|queued|generating|processing are treated as in-progress.See SKILL.md for examples.
# 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:
1. `POST /v2/video/generations` (create task)
2. `GET /v2/video/generations?generation_id=...` (poll status)
3. download `video.url` when 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.# aimlapi-media-gen This skill provides helper scripts for AIMLAPI image and video generation. ## Security & Credentials - This skill requires an `AIMLAPI_API_KEY` environment variable. - Be cautious when using the `--apikey-file` flag; ensure the provided path is correct and secure. - Avoid including sensitive or private data in prompts or parameters sent to the remote API. ## New instructions - Every HTTP request now sends a `User-Agent` header (configurable via `--user-agent`). - `gen_image.py` supports retries, API key from `--apikey-file`, and verbose logs. - `gen_video.py` follows AIMLAPI async flow: 1. `POST /v2/video/generations` 2. poll `GET /v2/video/generations?generation_id=...` 3. download final `video.url` - Video polling statuses `waiting|active|queued|generating|processing` are treated as in-progress. See `SKILL.md` for examples.
Search and hire real humans for tasks — photography, delivery, research, and more
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.
Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...
Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...