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 a...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install aiml-image-video或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install aiml-image-video⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/aiml-image-video/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: aimlapi-media-gen description: 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. env: - AIMLAPI_API_KEY primaryEnv: AIMLAPI_API_KEY ---
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.安装 AIML Generate images and videos 后,可以对 AI 说这些话来触发它
Help me get started with AIML Generate images and videos
Explains what AIML Generate images and videos does, walks through the setup, and runs a quick demo based on your current project
Use AIML Generate images and videos to generate images or videos via AIMLAPI from prompts
Invokes AIML Generate images and videos with the right parameters and returns the result directly in the conversation
What can I do with AIML Generate images and videos in my design & creative workflow?
Lists the top use cases for AIML Generate images and videos, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/aiml-image-video/ 目录(个人级,所有项目可用),或 .claude/skills/aiml-image-video/(项目级)。重启 AI 客户端后,用 /aiml-image-video 主动调用,或让 AI 根据上下文自动发现并使用。
AIML Generate images and videos 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
AIML Generate images and videos 可免费安装使用。请查阅仓库了解许可证信息。
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 a...
Automate my design & creative tasks using AIML Generate images and videos
Identifies repetitive steps in your workflow and sets up AIML Generate images and videos to handle them automatically
AIML Generate images and videos 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。