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.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install aimlapihello/aiml-image-video打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
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.这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
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...