什麼是 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