[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FS169CWSX5XGSAEXKV8NGF":3,"skill-same:01M6FS169CWSX5XGSAEXKV8NGF":111},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":25,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":62,"commitSha":63,"skillDirectory":64,"forksCount":65,"repositoryHtmlUrl":66,"repositoryHomepageUrl":6,"ownerHtmlUrl":67,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":68,"install":69,"resources":82},"01M6FS169CWSX5XGSAEXKV8NGF","gemini-image-gen",null,"Generate and edit images via Google Gemini API. Supports Gemini native generation, Imagen 3, style presets, and batch generation with HTML gallery. Zero dependencies — pure Python stdlib.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fiisweetheartii\u002Fgemini-image-gen\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000016","图像与多媒体",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"gemini","gemini image gen","image gen","gemini image","image","github","batch","ZeRO","api","python","python3","editing","images","Art","image-generation","imagen","gemini api","ai-art","with","google gemini api","2026-11-10 10:12:30",false,"---\nname: gemini-image-gen\ndescription: Generate and edit images via Google Gemini API. Supports Gemini native generation, Imagen 3, style presets, and batch generation with HTML gallery. Zero dependencies — pure Python stdlib.\nhomepage: https:\u002F\u002Fgithub.com\u002FIISweetHeartII\u002Fgemini-image-gen\nmetadata:\n  openclaw:\n    emoji: \"?\"\n    category: creative\n    requires:\n      bins:\n        - python3\n      env:\n        - GEMINI_API_KEY\n    primaryEnv: GEMINI_API_KEY\n    tags:\n      - image-generation\n      - gemini\n      - imagen\n      - ai-art\n      - creative\n      - editing\n      - batch\n      - gallery\n---\n\n# Gemini Image Gen\n\nGenerate and edit images via the Google Gemini API using pure Python stdlib. Supports Gemini native generation + editing, Imagen 3 generation, batch runs, and an HTML gallery output.\n\n## Quick Start\n\n```bash\nexport GEMINI_API_KEY=\"your-key-here\"\n\n# Default: Gemini native, 4 random prompts\npython3 scripts\u002Fgen.py\n\n# Custom prompt\npython3 scripts\u002Fgen.py --prompt \"a cyberpunk cat riding a neon motorcycle through Tokyo at night\"\n\n# Imagen 3 engine\npython3 scripts\u002Fgen.py --engine imagen --count 4 --aspect 16:9\n\n# Edit an existing image (Gemini engine only)\npython3 scripts\u002Fgen.py --edit path\u002Fto\u002Fimage.png --prompt \"change the background to a sunset beach\"\n\n# Use a style preset\npython3 scripts\u002Fgen.py --style watercolor --prompt \"floating islands above a calm sea\"\n\n# List available styles\npython3 scripts\u002Fgen.py --styles\n```\n\n## Style Presets\n\n| Style | Description |\n| --- | --- |\n| `photo` | Ultra-detailed photorealistic photography, 8K resolution, sharp focus |\n| `anime` | High-quality anime illustration, Studio Ghibli inspired, vibrant colors |\n| `watercolor` | Delicate watercolor painting on textured paper, soft edges, gentle color bleeding |\n| `cyberpunk` | Neon-lit cyberpunk scene, rain-soaked streets, holographic displays, Blade Runner aesthetic |\n| `minimalist` | Clean minimalist design, geometric shapes, limited color palette, white space |\n| `oil-painting` | Classical oil painting with visible brushstrokes, rich textures, Renaissance lighting |\n| `pixel-art` | Detailed pixel art, retro 16-bit style, crisp edges, nostalgic palette |\n| `sketch` | Pencil sketch on cream paper, hatching and cross-hatching, artistic imperfections |\n| `3d-render` | Professional 3D render, ambient occlusion, global illumination, photorealistic materials |\n| `pop-art` | Bold pop art style, Ben-Day dots, strong outlines, vibrant contrasting colors |\n\n## Full CLI Reference\n\n| Flag | Default | Description |\n| --- | --- | --- |\n| `--prompt` | (random) | Text prompt. Omit for random creative prompts |\n| `--count` | 4 | Number of images to generate |\n| `--engine` | gemini | Engine: `gemini` (native, supports edit) or `imagen` (Imagen 3) |\n| `--model` | (auto) | Model override. Default: `gemini-2.5-flash-image` or `imagen-3.0-generate-002` |\n| `--edit` | | Path to input image for editing (Gemini engine only) |\n| `--aspect` | 1:1 | Aspect ratio for Imagen: `1:1`, `16:9`, `9:16`, `4:3`, `3:4` |\n| `--out-dir` | (auto) | Output directory (default is a timestamped folder) |\n| `--style` | | Style preset to prepend to the prompt |\n| `--styles` | | List available style presets and exit |\n\n## Python Example\n\n```python\nimport subprocess\n\nsubprocess.run(\n    [\n        \"python3\",\n        \"scripts\u002Fgen.py\",\n        \"--prompt\",\n        \"a serene mountain landscape at golden hour\",\n        \"--count\",\n        \"4\",\n        \"--style\",\n        \"photo\",\n    ],\n    check=True,\n)\n```\n\n## Troubleshooting\n\n- Missing API key: set `GEMINI_API_KEY` in your environment and retry.\n- Rate limits \u002F 429 errors: wait a bit and retry, reduce `--count`, or switch engines.\n- Model errors: verify the model name, try the default model, or change engines.\n\n## Integration with Other Skills\n\n- **[AgentGram](https:\u002F\u002Fclawhub.org\u002Fskills\u002Fagentgram)** — Share your generated images on the AI agent social network! Create visual content and post it to your AgentGram feed.\n- **[agent-selfie](https:\u002F\u002Fclawhub.org\u002Fskills\u002Fagent-selfie)** — Focused on AI agent avatars and visual identity. Uses the same Gemini API key for personality-driven self-portraits.\n\n## Changelog\n\n- v1.1.0: Added style presets, `--style` and `--styles` flags, expanded documentation.\n- v1.0.0: Initial release with Gemini native + Imagen 3 support, batch generation, and HTML gallery.\n\n## Repository\n\nhttps:\u002F\u002Fgithub.com\u002FIISweetHeartII\u002Fgemini-image-gen\n","# Gemini Image Gen\n\nGenerate and edit images via the Google Gemini API using pure Python stdlib. Supports Gemini native generation + editing, Imagen 3 generation, batch runs, and an HTML gallery output.\n\n## Quick Start\n\n```bash\nexport GEMINI_API_KEY=\"your-key-here\"\n\n# Default: Gemini native, 4 random prompts\npython3 scripts\u002Fgen.py\n\n# Custom prompt\npython3 scripts\u002Fgen.py --prompt \"a cyberpunk cat riding a neon motorcycle through Tokyo at night\"\n\n# Imagen 3 engine\npython3 scripts\u002Fgen.py --engine imagen --count 4 --aspect 16:9\n\n# Edit an existing image (Gemini engine only)\npython3 scripts\u002Fgen.py --edit path\u002Fto\u002Fimage.png --prompt \"change the background to a sunset beach\"\n\n# Use a style preset\npython3 scripts\u002Fgen.py --style watercolor --prompt \"floating islands above a calm sea\"\n\n# List available styles\npython3 scripts\u002Fgen.py --styles\n```\n\n## Style Presets\n\n| Style | Description |\n| --- | --- |\n| `photo` | Ultra-detailed photorealistic photography, 8K resolution, sharp focus |\n| `anime` | High-quality anime illustration, Studio Ghibli inspired, vibrant colors |\n| `watercolor` | Delicate watercolor painting on textured paper, soft edges, gentle color bleeding |\n| `cyberpunk` | Neon-lit cyberpunk scene, rain-soaked streets, holographic displays, Blade Runner aesthetic |\n| `minimalist` | Clean minimalist design, geometric shapes, limited color palette, white space |\n| `oil-painting` | Classical oil painting with visible brushstrokes, rich textures, Renaissance lighting |\n| `pixel-art` | Detailed pixel art, retro 16-bit style, crisp edges, nostalgic palette |\n| `sketch` | Pencil sketch on cream paper, hatching and cross-hatching, artistic imperfections |\n| `3d-render` | Professional 3D render, ambient occlusion, global illumination, photorealistic materials |\n| `pop-art` | Bold pop art style, Ben-Day dots, strong outlines, vibrant contrasting colors |\n\n## Full CLI Reference\n\n| Flag | Default | Description |\n| --- | --- | --- |\n| `--prompt` | (random) | Text prompt. Omit for random creative prompts |\n| `--count` | 4 | Number of images to generate |\n| `--engine` | gemini | Engine: `gemini` (native, supports edit) or `imagen` (Imagen 3) |\n| `--model` | (auto) | Model override. Default: `gemini-2.5-flash-image` or `imagen-3.0-generate-002` |\n| `--edit` | | Path to input image for editing (Gemini engine only) |\n| `--aspect` | 1:1 | Aspect ratio for Imagen: `1:1`, `16:9`, `9:16`, `4:3`, `3:4` |\n| `--out-dir` | (auto) | Output directory (default is a timestamped folder) |\n| `--style` | | Style preset to prepend to the prompt |\n| `--styles` | | List available style presets and exit |\n\n## Python Example\n\n```python\nimport subprocess\n\nsubprocess.run(\n    [\n        \"python3\",\n        \"scripts\u002Fgen.py\",\n        \"--prompt\",\n        \"a serene mountain landscape at golden hour\",\n        \"--count\",\n        \"4\",\n        \"--style\",\n        \"photo\",\n    ],\n    check=True,\n)\n```\n\n## Troubleshooting\n\n- Missing API key: set `GEMINI_API_KEY` in your environment and retry.\n- Rate limits \u002F 429 errors: wait a bit and retry, reduce `--count`, or switch engines.\n- Model errors: verify the model name, try the default model, or change engines.\n\n## Integration with Other Skills\n\n- **[AgentGram](https:\u002F\u002Fclawhub.org\u002Fskills\u002Fagentgram)** — Share your generated images on the AI agent social network! Create visual content and post it to your AgentGram feed.\n- **[agent-selfie](https:\u002F\u002Fclawhub.org\u002Fskills\u002Fagent-selfie)** — Focused on AI agent avatars and visual identity. Uses the same Gemini API key for personality-driven self-portraits.\n\n## Changelog\n\n- v1.1.0: Added style presets, `--style` and `--styles` flags, expanded documentation.\n- v1.0.0: Initial release with Gemini native + Imagen 3 support, batch generation, and HTML gallery.\n\n## Repository\n\nhttps:\u002F\u002Fgithub.com\u002FIISweetHeartII\u002Fgemini-image-gen\n",{"name":5,"homepage":51,"metadata":52,"description":7},"https:\u002F\u002Fgithub.com\u002FIISweetHeartII\u002Fgemini-image-gen",{"openclaw":53},{"tags":54,"emoji":57,"category":55,"requires":58,"primaryEnv":60},[40,26,41,43,55,37,32,56],"creative","gallery","?",{"env":59,"bins":61},[60],"GEMINI_API_KEY",[36],"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fiisweetheartii\u002Fgemini-image-gen",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add kbarbel640-del\u002Fskills --skill gemini-image-gen",{"tool":75,"command":76},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill gemini-image-gen",{"tool":78,"command":79},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill gemini-image-gen","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fiisweetheartii\u002Fgemini-image-gen\u002FSKILL.md",true,[83,89,93,97,101,105],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"_meta.json","REFERENCE","参考文档",470,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fiisweetheartii\u002Fgemini-image-gen\u002F_meta.json",{"path":90,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":91,"sourceHtmlUrl":92},"HEARTBEAT.md",1014,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fiisweetheartii\u002Fgemini-image-gen\u002FHEARTBEAT.md",{"path":94,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":95,"sourceHtmlUrl":96},"INSTALL.md",1372,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fiisweetheartii\u002Fgemini-image-gen\u002FINSTALL.md",{"path":98,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":99,"sourceHtmlUrl":100},"package.json",2332,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fiisweetheartii\u002Fgemini-image-gen\u002Fpackage.json",{"path":102,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":103,"sourceHtmlUrl":104},"README.md",2587,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fiisweetheartii\u002Fgemini-image-gen\u002FREADME.md",{"path":106,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":109,"sourceHtmlUrl":110},"scripts\u002Fgen.py","SCRIPT","脚本",14913,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fiisweetheartii\u002Fgemini-image-gen\u002Fscripts\u002Fgen.py",[112,141,168,189,195,215],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":123,"publishedAt":46},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[118],{"categoryNo":119,"categoryName":120,"taxonomyType":121,"taxonomyTypeDesc":122},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[124,125,34,44,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140],"crowd prompting","prompting","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":150,"publishedAt":46},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[147],{"categoryNo":148,"categoryName":149,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[151,34,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,129,167],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":177,"publishedAt":46},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[174],{"categoryNo":175,"categoryName":176,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000021","资料检索与研究",[178,179,180,181,182,183,184,44,185,165,167,186,34,187,188],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":190,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":194,"publishedAt":46},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[193],{"categoryNo":175,"categoryName":176,"taxonomyType":20,"taxonomyTypeDesc":21},[181,180,179,178,188,183,184,44,182,165,167,185,186,34,187],{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":46},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[202,203,204,205,206,207,208,209,210,211,212,213,214],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":219,"categories":220,"keywords":225,"publishedAt":46},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[221,222],{"categoryNo":148,"categoryName":149,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":223,"categoryName":224,"taxonomyType":121,"taxonomyTypeDesc":122},"01JBSEEDCAT000000000000037","律师与法务",[226,227,228,229,44,230,231,62,232,186,233,234,235,236,237,138,238,239,31],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance"]