[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F64A5904PHHJS33804X2JW":3,"skill-same:01M6F64A5904PHHJS33804X2JW":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":6,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6F64A5904PHHJS33804X2JW","gpt-image-1-5",null,"Generate and edit images using OpenAI's GPT Image 1.5 model. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., \"modify this image\", \"change the background\", \"replace X with Y\"). Supports text-to-image generation and image editing with optional mask. DO NOT read the image file first - use this skill directly with the --input-image parameter.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",66,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fintellectronica\u002Fagent-skills\u002Fgpt-image-1-5\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"gpt image 1 5","gpt","image","text","with","generation","do","references","images","use","editing","model","first","Text-to-Image","Image Generation","file","update","generate","create","change","2026-11-10 10:12:30",false,"---\nname: gpt-image-1-5\ndescription: Generate and edit images using OpenAI's GPT Image 1.5 model. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., \"modify this image\", \"change the background\", \"replace X with Y\"). Supports text-to-image generation and image editing with optional mask. DO NOT read the image file first - use this skill directly with the --input-image parameter.\n---\n\n# GPT Image 1.5 - Image Generation & Editing\n\nGenerate new images or edit existing ones using OpenAI's GPT Image 1.5 model.\n\n- **Generation**: Uses the Responses API with image_generation tool\n- **Editing**: Uses the Image API for reliable mask-based inpainting\n\n## Usage\n\nRun the script using absolute path (do NOT cd to skill directory first):\n\n**Generate new image:**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"your image description\" --filename \"output-name.png\" [--quality low|medium|high] [--size 1024x1024|1024x1536|1536x1024|auto] [--background transparent|opaque|auto] [--api-key KEY]\n```\n\n**Edit existing image (without mask - full image edit):**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"editing instructions\" --filename \"output-name.png\" --input-image \"path\u002Fto\u002Finput.png\" [--size 1024x1024|1024x1536|1536x1024|auto] [--api-key KEY]\n```\n\n**Edit existing image (with mask - precise inpainting):**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"what to put in masked area\" --filename \"output-name.png\" --input-image \"path\u002Fto\u002Finput.png\" --mask \"path\u002Fto\u002Fmask.png\" [--size 1024x1024|1024x1536|1536x1024|auto] [--api-key KEY]\n```\n\n**Important:** Always run from the user's current working directory so images are saved where the user is working, not in the skill directory.\n\n## Parameters\n\n### Quality Options\n- **low** - Fastest generation, lower quality\n- **medium** (default) - Balanced quality and speed\n- **high** - Best quality, slower generation\n\nMap user requests:\n- No mention of quality -> `medium`\n- \"quick\", \"fast\", \"draft\" -> `low`\n- \"high quality\", \"best\", \"detailed\", \"high-res\" -> `high`\n\n### Size Options\n- **1024x1024** (default) - Square format\n- **1024x1536** - Portrait format\n- **1536x1024** - Landscape format\n- **auto** - Let the model decide based on prompt\n\nMap user requests:\n- No mention of size -> `1024x1024`\n- \"square\" -> `1024x1024`\n- \"portrait\", \"vertical\", \"tall\" -> `1024x1536`\n- \"landscape\", \"horizontal\", \"wide\" -> `1536x1024`\n\n### Background Options (generation only)\n- **auto** (default) - Model decides\n- **transparent** - Transparent background (PNG\u002FWebP output)\n- **opaque** - Solid background\n\n## API Key\n\nThe script checks for API key in this order:\n1. `--api-key` argument (use if user provided key in chat)\n2. `OPENAI_API_KEY` environment variable\n\nIf neither is available, the script exits with an error message.\n\n## Filename Generation\n\nGenerate filenames with the pattern: `yyyy-mm-dd-hh-mm-ss-name.png`\n\n**Format:** `{timestamp}-{descriptive-name}.png`\n- Timestamp: Current date\u002Ftime in format `yyyy-mm-dd-hh-mm-ss` (24-hour format)\n- Name: Descriptive lowercase text with hyphens\n- Keep the descriptive part concise (1-5 words typically)\n- Use context from user's prompt or conversation\n- If unclear, use random identifier (e.g., `x9k2`, `a7b3`)\n\nExamples:\n- Prompt \"A serene Japanese garden\" -> `2025-12-17-14-23-05-japanese-garden.png`\n- Prompt \"sunset over mountains\" -> `2025-12-17-15-30-12-sunset-mountains.png`\n- Prompt \"create an image of a robot\" -> `2025-12-17-16-45-33-robot.png`\n- Unclear context -> `2025-12-17-17-12-48-x9k2.png`\n\n## Image Editing\n\nBoth editing modes use the Image API (images.edit endpoint) with gpt-image-1.5 for reliable results.\n\n### Without Mask (Full Image Edit)\nWhen the user wants to modify an existing image without specifying exact regions:\n1. Use `--input-image` parameter with the path to the image\n2. The prompt should contain editing instructions (e.g., \"make the sky more dramatic\", \"change to cartoon style\")\n3. A fully transparent mask is auto-generated, allowing the model to edit the entire image\n\n### With Mask (Precise Inpainting)\nWhen the user wants to edit specific regions:\n1. Use `--input-image` parameter with the path to the image\n2. Use `--mask` parameter with a PNG mask file\n3. The mask should have transparent areas (alpha=0) where edits should occur\n4. The prompt describes what should appear in the masked region\n\nCommon editing tasks: add\u002Fremove elements, change style, adjust colors, replace backgrounds, etc.\n\n## Prompt Handling\n\n**For generation:** Pass user's image description as-is to `--prompt`. Only rework if clearly insufficient.\n\n**For editing:** Pass editing instructions in `--prompt` (e.g., \"add a rainbow in the sky\", \"make it look like a watercolor painting\")\n\nPreserve user's creative intent in both cases.\n\n## Output\n\n- Saves PNG to current directory (or specified path if filename includes directory)\n- Script outputs the full path to the generated image\n- **Do not read the image back** - just inform the user of the saved path\n\n## Examples\n\n**Generate new image:**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"A serene Japanese garden with cherry blossoms\" --filename \"2025-12-17-14-23-05-japanese-garden.png\" --quality high --size 1536x1024\n```\n\n**Generate with transparent background:**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"A cute cartoon cat mascot\" --filename \"2025-12-17-14-25-30-cat-mascot.png\" --background transparent --quality high\n```\n\n**Edit existing image (full image):**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"make the sky more dramatic with storm clouds\" --filename \"2025-12-17-14-27-00-dramatic-sky.png\" --input-image \"original-photo.jpg\"\n```\n\n**Edit with mask (inpainting):**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"a flamingo swimming\" --filename \"2025-12-17-14-30-00-lounge-flamingo.png\" --input-image \"lounge.png\" --mask \"mask.png\"\n```\n\n","# GPT Image 1.5 - Image Generation & Editing\n\nGenerate new images or edit existing ones using OpenAI's GPT Image 1.5 model.\n\n- **Generation**: Uses the Responses API with image_generation tool\n- **Editing**: Uses the Image API for reliable mask-based inpainting\n\n## Usage\n\nRun the script using absolute path (do NOT cd to skill directory first):\n\n**Generate new image:**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"your image description\" --filename \"output-name.png\" [--quality low|medium|high] [--size 1024x1024|1024x1536|1536x1024|auto] [--background transparent|opaque|auto] [--api-key KEY]\n```\n\n**Edit existing image (without mask - full image edit):**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"editing instructions\" --filename \"output-name.png\" --input-image \"path\u002Fto\u002Finput.png\" [--size 1024x1024|1024x1536|1536x1024|auto] [--api-key KEY]\n```\n\n**Edit existing image (with mask - precise inpainting):**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"what to put in masked area\" --filename \"output-name.png\" --input-image \"path\u002Fto\u002Finput.png\" --mask \"path\u002Fto\u002Fmask.png\" [--size 1024x1024|1024x1536|1536x1024|auto] [--api-key KEY]\n```\n\n**Important:** Always run from the user's current working directory so images are saved where the user is working, not in the skill directory.\n\n## Parameters\n\n### Quality Options\n- **low** - Fastest generation, lower quality\n- **medium** (default) - Balanced quality and speed\n- **high** - Best quality, slower generation\n\nMap user requests:\n- No mention of quality -> `medium`\n- \"quick\", \"fast\", \"draft\" -> `low`\n- \"high quality\", \"best\", \"detailed\", \"high-res\" -> `high`\n\n### Size Options\n- **1024x1024** (default) - Square format\n- **1024x1536** - Portrait format\n- **1536x1024** - Landscape format\n- **auto** - Let the model decide based on prompt\n\nMap user requests:\n- No mention of size -> `1024x1024`\n- \"square\" -> `1024x1024`\n- \"portrait\", \"vertical\", \"tall\" -> `1024x1536`\n- \"landscape\", \"horizontal\", \"wide\" -> `1536x1024`\n\n### Background Options (generation only)\n- **auto** (default) - Model decides\n- **transparent** - Transparent background (PNG\u002FWebP output)\n- **opaque** - Solid background\n\n## API Key\n\nThe script checks for API key in this order:\n1. `--api-key` argument (use if user provided key in chat)\n2. `OPENAI_API_KEY` environment variable\n\nIf neither is available, the script exits with an error message.\n\n## Filename Generation\n\nGenerate filenames with the pattern: `yyyy-mm-dd-hh-mm-ss-name.png`\n\n**Format:** `{timestamp}-{descriptive-name}.png`\n- Timestamp: Current date\u002Ftime in format `yyyy-mm-dd-hh-mm-ss` (24-hour format)\n- Name: Descriptive lowercase text with hyphens\n- Keep the descriptive part concise (1-5 words typically)\n- Use context from user's prompt or conversation\n- If unclear, use random identifier (e.g., `x9k2`, `a7b3`)\n\nExamples:\n- Prompt \"A serene Japanese garden\" -> `2025-12-17-14-23-05-japanese-garden.png`\n- Prompt \"sunset over mountains\" -> `2025-12-17-15-30-12-sunset-mountains.png`\n- Prompt \"create an image of a robot\" -> `2025-12-17-16-45-33-robot.png`\n- Unclear context -> `2025-12-17-17-12-48-x9k2.png`\n\n## Image Editing\n\nBoth editing modes use the Image API (images.edit endpoint) with gpt-image-1.5 for reliable results.\n\n### Without Mask (Full Image Edit)\nWhen the user wants to modify an existing image without specifying exact regions:\n1. Use `--input-image` parameter with the path to the image\n2. The prompt should contain editing instructions (e.g., \"make the sky more dramatic\", \"change to cartoon style\")\n3. A fully transparent mask is auto-generated, allowing the model to edit the entire image\n\n### With Mask (Precise Inpainting)\nWhen the user wants to edit specific regions:\n1. Use `--input-image` parameter with the path to the image\n2. Use `--mask` parameter with a PNG mask file\n3. The mask should have transparent areas (alpha=0) where edits should occur\n4. The prompt describes what should appear in the masked region\n\nCommon editing tasks: add\u002Fremove elements, change style, adjust colors, replace backgrounds, etc.\n\n## Prompt Handling\n\n**For generation:** Pass user's image description as-is to `--prompt`. Only rework if clearly insufficient.\n\n**For editing:** Pass editing instructions in `--prompt` (e.g., \"add a rainbow in the sky\", \"make it look like a watercolor painting\")\n\nPreserve user's creative intent in both cases.\n\n## Output\n\n- Saves PNG to current directory (or specified path if filename includes directory)\n- Script outputs the full path to the generated image\n- **Do not read the image back** - just inform the user of the saved path\n\n## Examples\n\n**Generate new image:**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"A serene Japanese garden with cherry blossoms\" --filename \"2025-12-17-14-23-05-japanese-garden.png\" --quality high --size 1536x1024\n```\n\n**Generate with transparent background:**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"A cute cartoon cat mascot\" --filename \"2025-12-17-14-25-30-cat-mascot.png\" --background transparent --quality high\n```\n\n**Edit existing image (full image):**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"make the sky more dramatic with storm clouds\" --filename \"2025-12-17-14-27-00-dramatic-sky.png\" --input-image \"original-photo.jpg\"\n```\n\n**Edit with mask (inpainting):**\n```bash\nuv run ~\u002F.claude\u002Fskills\u002Fgpt-image-1-5\u002Fscripts\u002Fgenerate_image.py --prompt \"a flamingo swimming\" --filename \"2025-12-17-14-30-00-lounge-flamingo.png\" --input-image \"lounge.png\" --mask \"mask.png\"\n```\n\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fintellectronica\u002Fagent-skills\u002Fgpt-image-1-5",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill gpt-image-1-5",{"tool":67,"command":68},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill gpt-image-1-5",{"tool":70,"command":71},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill gpt-image-1-5","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fintellectronica\u002Fagent-skills\u002Fgpt-image-1-5\u002FSKILL.md",true,[],[76,85,95,104,110,117],{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":82,"publishedAt":47},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[81],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[38,83,84],"model hierarchy","model hierarchy skill",{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":91,"publishedAt":47},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[90],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[92,93,94],"MCP","zoom","zoom mcp",{"skillNo":96,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":47},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[101,102,103,93],"sdk","zoom apps sdk","apps",{"skillNo":105,"name":106,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":47},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[106],{"skillNo":111,"name":112,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":116,"publishedAt":47},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[115],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[112],{"skillNo":118,"name":119,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":47},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[119]]