← 返回 Skills 市场
jinchanzis

Ai Image Generation

作者 JinChanZis · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
135
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ai-media-generator-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...
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-media-generator-ai-image-generation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-media-generator-ai-image-generation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish from ai-media-generator
元数据
Slug ai-media-generator-ai-image-generation
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 135 次。

如何安装 Ai Image Generation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-media-generator-ai-image-generation」即可一键安装,无需额外配置。

Ai Image Generation 是免费的吗?

是的,Ai Image Generation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ai Image Generation 支持哪些平台?

Ai Image Generation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ai Image Generation?

由 JinChanZis(@jinchanzis)开发并维护,当前版本 v1.0.0。

💬 留言讨论