用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/SawyerHood/middleman --skill image-generation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
Create, list, and remove persistent scheduled tasks using cron expressions.
Update persistent swarm memory in ${SWARM_MEMORY_FILE} when the user explicitly asks to remember, update, or forget durable information.
基于 SOC 职业分类
正在显示 SKILL.md
| name | image-generation |
| description | Generate images using Google Gemini (gemini-3-pro-image-preview). Requires GEMINI_API_KEY. |
| envVars | [{"name":"GEMINI_API_KEY","description":"Google AI Studio / Gemini API key","required":true}] |
Generate images using Google Gemini (gemini-3-pro-image-preview) for both text-to-image and image-to-image workflows.
Use the packaged CLI:
middleman image generate \
--prompt "a cute robot bee in a garden" \
--output "/path/to/output.png"
Image-to-image generation is supported with repeated --input-image flags:
middleman image generate \
--prompt "turn this sketch into a painted poster with a limited teal and coral palette" \
--input-image "/path/to/sketch.png" \
--input-image "/path/to/reference.jpg" \
--output "/path/to/output.png"
--prompt (required): text description of the image to generate--output (required): output file path (extension auto-detected when omitted)--input-image (optional, repeatable): local source image(s) to send alongside the prompt--aspect-ratio (optional): aspect ratio like 16:9, 1:1, 4:3--size (optional): image size, default 1KThe script prints JSON:
{ "ok": true, "file": "/path/to/output.png", "mimeType": "image/png" }{ "ok": false, "error": "..." }