ai-image-video-generation-api

ai-image-video-generation-api is a skill for Claude Code, Codex from rondoflow/rondoflow. It costs 42 tokens per session (492 once invoked), scanned A, original, MIT.

An API tool for generating images and videos from text prompts through AIMLAPI. Video generation runs as an asynchronous job whose status is checked before the finished file is downloaded.

In plain words
What is it for?
Use it to generate batches of images, create prompt-based videos, retry failed requests, monitor video jobs, and save completed media files.
Why use it?
Media-generation requests can fail temporarily, and video jobs may take time to finish. It includes retries, logging, required request headers, and status checking for these API calls.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Codex; built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is --out-dir ./out/images.

Good fit Use it to generate batches of images, create prompt-based videos, retry failed requests, monitor video jobs, and save completed media files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/rondoflow/rondoflow
agentmods
npx agentmods add skills/rondoflow/rondoflow/ai-image-video-generation-api

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ai-image-video-generation-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/rondoflow/rondoflow/ai-image-video-generation-api/github.svg)](https://agentmods.dev/skills/rondoflow/rondoflow/ai-image-video-generation-api)
Your own site
<a href="https://agentmods.dev/skills/rondoflow/rondoflow/ai-image-video-generation-api"><img src="https://agentmods.dev/badge/skills/rondoflow/rondoflow/ai-image-video-generation-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-image-video-generation-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/rondoflow/rondoflow/ai-image-video-generation-api"><img src="https://agentmods.dev/badge/skills/rondoflow/rondoflow/ai-image-video-generation-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 492 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00492
Opus 5.5 $0.00017 $0.00197
Sonnet 5.5 $0.00008 $0.00098
Haiku 4.5 $0.00004 $0.00049

Measured 1mo ago against content hash e01da009d307, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-image-video-generation-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/catalog/content/skills/ai-image-video-generation-api/SKILL.md · 63 lines

What it actually says

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

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.

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
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.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 63 lines · 42 tokens per session scan A e01da009d307

Subscribe to this mod's changes

ai-image-video-generation-api is a skill published in the GitHub repository rondoflow/rondoflow (26 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 492 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

takt

A workflow engine that runs a task through a sequence of steps defined in a YAML file, using separate coding agents for the work.

nrslib/takt · 63 tokens

codebase-context-extractor

This skill provides a comprehensive context extraction system for large codebases. It intelligently analyzes code structure, dependencies, and relationships to extract relevant context for understanding, debugging, or modifying code.

lofcz/LLMTornado · 42 tokens

dos-dispatch

Plan and ship the next batch on one lane: run dos-next-up, acquire a lease with dos arbitrate, gate empty work, dispatch the packet, and archive the run. Use when a single lane should move end to end with collision safety.

anthony-chaudhary/dos-kernel · 56 tokens

dos-enforce-tune

Tune DOS enforcement policy knobs ([interventionpolicy], [intervention], [improve]) from false-deny versus held-catch evidence. Use when running dos enforce-tune to keep only measured nettaskdelta gains and escalate repeated non-keeps.

anthony-chaudhary/dos-kernel · 62 tokens

dos-class-cycle

Run one DOS plan-class lifecycle tick from the workspace [lifecycle] table: evaluate declared transitions, have a judge approve/defer them, write gated plan-meta edits, and log the cycle. Use when gardening plan lifecycle classes automatically.

anthony-chaudhary/dos-kernel · 52 tokens

b3os-ai-code-safety

As code and logic grow, the cost is not the happy path — it is coupling: a change ripples into places you did not touch, and a "small fix" breaks something unrelated. This skill is a code-structure and refactoring guide: structure well from the initial design so a change stays local, apply operational safety where…

b3rys/b3rys-team-os · 124 tokens