← Back to Skills Marketplace
jinchanzis

Ai Image Generation

by JinChanZis · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
135
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ai-media-generator-ai-image-generation
Description
Use when someone asks for ai image generation, image generator, text-to-image, image-to-image, prompt-to-image, image model selection, or CLI-based image wor...
README (SKILL.md)

AI Image Generation

用这个 skill 处理这些请求:

  • ai image generation
  • ai image generator
  • image generator
  • text to image
  • image to image
  • prompt to image
  • 选图片模型、讲图片参数、跑图片生成任务

如果用户的搜索意图已经更具体,优先切到更窄的 skill:

  • text-to-image
  • image-to-image
  • flux-image-generator
  • nano-banana-image-generator

Default Route

ricebowl.ai
  -> recharge credits
  -> create API key
  -> set key
  -> models show --model \x3CMODEL>
  -> image generate
  -> image get

Recommended Template

ai-media config set-key \x3CKEY>
ai-media models list --json
ai-media models show --model \x3CMODEL>
ai-media image generate \
  --model \x3CMODEL> \
  --prompt "\x3Csubject>, \x3Cstyle>, \x3Clighting>" \
  --aspect-ratio 1:1 \
  --image https://example.com/reference.png \
  --param vendor_options='{"style":"cinematic"}' \
  --wait

如果要做横幅图,就把 --aspect-ratio 改成 16:9。 如果模型还有额外字段,就先跑 models show --model \x3CMODEL>,再用 --param KEY=VALUE 传递。

Core Commands

ai-media config set-key \x3CKEY>
ai-media config show
ai-media models list --json
ai-media models show --model \x3CMODEL>
ai-media image generate --model \x3CMODEL> --prompt \x3CPROMPT>
ai-media image get --task-id \x3CTASK_ID>

When To Load References

  • 参数全表、默认值、输出行为:读 ../ai-media-cli/references/cli-commands.md
  • 充值、生成 key、平台 onboarding:读 ../ai-media-cli/references/platform-onboarding.md

Response Pattern

如果用户是第一次接触,优先给:

  1. 最短安装命令
  2. 平台充值和 key 路径
  3. 一组可直接复制的配置命令
  4. 一条可直接运行的图片生成命令

如果用户在比模型或调脚本,补充:

  • models list --json
  • models show --model
  • AI_MEDIA_API_KEY
  • image get --task-id
Usage Guidance
This skill is internally consistent for an AI image-generation CLI wrapper, but take these precautions before installing: 1) Inspect the npm package (ai-media-generator) and linked GitHub repo to confirm it is legitimate and up-to-date. 2) Install in a controlled environment (or review package contents) because npm packages can execute install scripts. 3) Use a dedicated, least-privilege API key for AI_MEDIA_API_KEY and do not set AI_MEDIA_BASE_URL to an untrusted endpoint — a malicious base URL could capture requests or keys. 4) The installer will create an ai-media binary on PATH; confirm you are comfortable with that binary. 5) If you want to limit risk further, run the CLI in an isolated environment (container) or inspect the package source before npm install.
Capability Analysis
Type: OpenClaw Skill Name: ai-media-generator-ai-image-generation Version: 1.0.0 The skill bundle provides standard instructions for an AI agent to interact with the 'ai-media' CLI tool for image generation on the ricebowl.ai platform. It requires expected environment variables (AI_MEDIA_API_KEY) and defines routine commands for model listing and image generation without any evidence of malicious intent, data exfiltration, or harmful prompt injection in SKILL.md.
Capability Assessment
Purpose & Capability
Name/description (AI image generation) matches required binary (ai-media), required env vars (AI_MEDIA_BASE_URL, AI_MEDIA_API_KEY), and the documented CLI commands. The declared npm package (ai-media-generator) plausibly supplies the ai-media binary.
Instruction Scope
SKILL.md contains explicit CLI workflows (config set-key, models list/show, image generate/get) and references local documentation files for CLI references. It does not instruct reading unrelated system files or accessing unrelated credentials. The references to ../ai-media-cli/... are documentation pointers (not requests to read arbitrary host files) and may simply be missing in some installations.
Install Mechanism
Install is via a named npm package (ai-media-generator) which will provide the ai-media binary — a moderate-risk but common install mechanism. Because the package is not a well-known system package, verify the npm package and its GitHub repo before installing to avoid trojanized packages.
Credentials
Only two environment values are required: AI_MEDIA_API_KEY (primary) and AI_MEDIA_BASE_URL. Both are reasonable for a CLI that needs an API key and a configurable endpoint. Note: AI_MEDIA_BASE_URL can point the CLI at any endpoint, so ensure it is set to the legitimate service to avoid directing traffic (or secrets) to an attacker-controlled server.
Persistence & Privilege
The skill is not always-enabled and does not request persistent system-wide configuration. It does not declare access to other skills' configs. Agent invocation settings are default (agent can call it autonomously), which is normal for skills.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ai-media-generator-ai-image-generation
  3. After installation, invoke the skill by name or use /ai-media-generator-ai-image-generation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial publish from ai-media-generator
Metadata
Slug ai-media-generator-ai-image-generation
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Ai Image Generation?

Use when someone asks for ai image generation, image generator, text-to-image, image-to-image, prompt-to-image, image model selection, or CLI-based image wor... It is an AI Agent Skill for Claude Code / OpenClaw, with 135 downloads so far.

How do I install Ai Image Generation?

Run "/install ai-media-generator-ai-image-generation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ai Image Generation free?

Yes, Ai Image Generation is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ai Image Generation support?

Ai Image Generation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ai Image Generation?

It is built and maintained by JinChanZis (@jinchanzis); the current version is v1.0.0.

💬 Comments