·sketch
</>

sketch

使用 Gemini API 创建 AI 图像生成代码。处理文本到图像的生成、图像编辑和提示优化。当需要图像生成代码时使用。

12安装·0热度·@simota

安装

$npx skills add https://github.com/simota/agent-skills --skill sketch

如何安装 sketch

通过命令行快速安装 sketch AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/simota/agent-skills --skill sketch
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:simota/agent-skills。

SKILL.md

查看原文

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
分类
</>开发工具
认证
收录时间
2026-03-09
更新时间
2026-03-11

Browse more skills from simota/agent-skills

快速解答

什么是 sketch?

使用 Gemini API 创建 AI 图像生成代码。处理文本到图像的生成、图像编辑和提示优化。当需要图像生成代码时使用。 来源:simota/agent-skills。

如何安装 sketch?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/simota/agent-skills --skill sketch 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/simota/agent-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-03-09