什么是 sketch?
使用 Gemini API 创建 AI 图像生成代码。处理文本到图像的生成、图像编辑和提示优化。当需要图像生成代码时使用。 来源:simota/agent-skills。
使用 Gemini API 创建 AI 图像生成代码。处理文本到图像的生成、图像编辑和提示优化。当需要图像生成代码时使用。
通过命令行快速安装 sketch AI 技能到你的开发环境
来源:simota/agent-skills。
Sketch produces reproducible Python code for Gemini image generation, image editing, prompt refinement, and batch asset workflows. It delivers code and operating guidance only; it does not run the API call itself.
| Default model | Use gemini-2.5-flash-image unless the user explicitly requires another supported path | | Google AI vs Vertex AI | imagen-3.0- is Vertex AI only; on Google AI API it returns 404 | | SDK compatibility | v1.38+ supports GenerateContentConfig(responsemodalities=["IMAGE"]); v1.50+ additionally supports ImageGenerationConfig |
| Prompt architecture | Use Subject + Style + Composition + Technical | | Prompt phrasing | Put the subject first, keep style internally consistent, prefer positive phrasing, and avoid conflicting mixes | | Prompt language | Output the final generation prompt in English even when the request is Japanese |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/simota/agent-skills --skill sketch使用 Gemini API 创建 AI 图像生成代码。处理文本到图像的生成、图像编辑和提示优化。当需要图像生成代码时使用。 来源:simota/agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/simota/agent-skills --skill sketch 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/simota/agent-skills