{"data":{"slug":"github-anbeime-skill-skills-gpt-image-2-prompt-engine-cb371eac7bbb","title":"GPT-Image-2 Prompt Construction and Image Generation Workflow","summary":"Generate structured prompts for GPT-Image-2 to reliably produce high-quality images, suitable for e-commerce product visuals, posters, infographics, and brand materials. The output includes a structured prompt, JSON schema, selected template name, reference case ID, and negative constraint list.","url":"https:\/\/skillshunter.net\/skills\/github-anbeime-skill-skills-gpt-image-2-prompt-engine-cb371eac7bbb","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-anbeime-skill-skills-gpt-image-2-prompt-engine-cb371eac7bbb","markdown_url":"https:\/\/skillshunter.net\/skills\/github-anbeime-skill-skills-gpt-image-2-prompt-engine-cb371eac7bbb.md","download_url":"https:\/\/skillshunter.net\/skills\/github-anbeime-skill-skills-gpt-image-2-prompt-engine-cb371eac7bbb\/download","category":{"slug":"product-design","name":"Product & Design"},"editor_note":"Before generating prompts, ensure the input includes specific details such as product name, style, and required text. The JSON templates must be selected based on the category (e.g., e-commerce, poster, infographic). The first deliverable is a structured prompt in natural language, followed by a JSON schema for reuse or batch modification.","instructions":"---\nname: gpt-image-2-prompt-engine\ndescription: \u9762\u5411\u7535\u5546\u8bbe\u8ba1\u5e08\u3001\u6d77\u62a5\u7f8e\u5de5\u3001\u54c1\u724c\u89c6\u89c9\u3001UI\u8bbe\u8ba1\u5e08\u3001\u4fe1\u606f\u56fe\u7f16\u8f91\u3001\u5546\u4e1a\u6444\u5f71\u5e08\u3001\u5185\u5bb9\u521b\u4f5c\u8005\u7b49\u9700\u8981\u9ad8\u8d28\u91cf\u53ef\u63a7\u51fa\u56fe\u7684\u89d2\u8272\uff0c\u5728\u9700\u8981\u7528 GPT-Image-2 \u751f\u6210\u7535\u5546\u4e3b\u56fe\u3001\u7535\u5f71\u6d77\u62a5\u3001\u4fe1\u606f\u56fe\u3001\u54c1\u724c\u89c6\u89c9\u3001UI\u622a\u56fe\u3001\u53e4\u7c4d\u56fd\u98ce\u3001\u89d2\u8272IP\u7b49\u573a\u666f\u65f6\uff0c\u901a\u8fc7\u300cPrompt as Code\u300d\u539f\u5b50\u5316Schema+20+\u5de5\u4e1aJSON\u6a21\u677f+\u56db\u6b65\u5de5\u4f5c\u6d41\uff0c\u4ea7\u51fa\u7ed3\u6784\u5316\u3001\u53ef\u590d\u7528\u3001\u53ef\u6279\u91cf\u7684\u751f\u56fe\u63d0\u793a\u8bcd\uff0c\u518d\u8c03\u7528 image_generation \u51fa\u56fe\u3002\u4e0d\u9002\u7528\u4e8e\u968f\u610f\u751f\u56fe\u6216\u7b80\u5355\u98ce\u666f\u7167\u3002\nversion: 1.0.0\nauthor: anbeime\ntags:\n  - gpt-image-2\n  - prompt-engineering\n  - image-generation\n  - \u63d0\u793a\u8bcd\u5de5\u7a0b\n  - \u7535\u5546\u8bbe\u8ba1\n  - \u6d77\u62a5\n  - \u4fe1\u606f\u56fe\n  - \u54c1\u724c\u89c6\u89c9\nlicense: MIT\n---\n\n# GPT-Image-2 Prompt Engine\n\n> \u57fa\u4e8e [freestylefly\/awesome-gpt-image-2](https:\/\/github.com\/freestylefly\/awesome-gpt-image-2)\uff08\u2b5018k+\uff0cMIT\uff09\u5de5\u4e1a\u7ea7\u63d0\u793a\u8bcd\u5f15\u64ce\u65b9\u6cd5\u8bba\uff0c\u6c89\u6dc0\u4e3a\u53ef\u6267\u884c\u7684\u751f\u56fe\u63d0\u793a\u8bcd\u6784\u9020\u5de5\u4f5c\u6d41\u3002\n\n## \u4efb\u52a1\u76ee\u6807\n\n- \u672c\u6280\u80fd\u7528\u4e8e\uff1a\u5c06\u6a21\u7cca\u7684\u51fa\u56fe\u9700\u6c42\u8f6c\u5316\u4e3a GPT-Image-2 \u53ef\u7a33\u5b9a\u6267\u884c\u7684\u7ed3\u6784\u5316\u63d0\u793a\u8bcd\n- \u80fd\u529b\u5305\u542b\uff1a\n  1. **\u539f\u5b50\u5316 Schema \u62c6\u89e3**\uff1aSubject \/ Composition \/ Material \/ Typography \/ Lighting \/ Style \/ Constraints \u4e03\u5927\u7ef4\u5ea6\n  2. **20+ \u5de5\u4e1a\u7ea7 JSON \u6a21\u677f**\uff1a\u8986\u76d6 UI\u622a\u56fe\u3001\u4fe1\u606f\u56fe\u3001\u6d77\u62a5\u3001\u7535\u5546\u4e3b\u56fe\u3001\u54c1\u724c\u89c6\u89c9\u3001\u5546\u4e1a\u6444\u5f71\u3001\u89d2\u8272IP\u3001\u53e4\u7c4d\u56fd\u98ce\u3001\u53d9\u4e8b\u63d2\u753b\u7b49\u573a\u666f\n  3. **\u56db\u6b65\u5de5\u4f5c\u6d41**\uff1a\u9009\u7c7b\u522b \u2192 \u68c0\u7d22\u6848\u4f8b\uff08\u6284\u7ed3\u6784\uff09\u2192 \u5957\u6a21\u677f\u586b\u53d8\u91cf \u2192 \u751f\u6210\u4e0e\u56fe\u751f\u56fe\u8fed\u4ee3\n  4. **5 \u4e2a\u7a33\u5b9a\u6027\u5b9e\u6d4b\u6280\u5de7**\uff1a\u6587\u5b57\u9501\u5b9a\u3001\u6bd4\u4f8b\u524d\u7f6e\u3001\u6a21\u5757\u9650\u91cf\u3001\u5e73\u53f0\u7279\u5f81\u533a\u5206\u3001\u8d1f\u5411\u7ea6\u675f\n- \u89e6\u53d1\u6761\u4ef6\uff1a\n  - \u2705 \u7535\u5546\u4e3b\u56fe\/\u8be6\u60c5\u9875\u3001\u7535\u5f71\/\u6d3b\u52a8\u6d77\u62a5\u3001\u4fe1\u606f\u56fe\/\u77e5\u8bc6\u56fe\u8c31\u3001\u54c1\u724c\u89c6\u89c9\u3001UI\u622a\u56fe\u3001\u5546\u4e1a\u6444\u5f71\u3001\u89d2\u8272\/IP\u8bbe\u8ba1\u3001\u53d9\u4e8b\u63d2\u753b\u3001\u53e4\u7c4d\u56fd\u98ce\u30013D\u6e32\u67d3\n  - \u274c \u968f\u610f\u751f\u56fe\u3001\u7b80\u5355\u98ce\u666f\u7167\u3001\u4e0d\u9700\u8981\u7cbe\u786e\u63a7\u5236\u7684\u968f\u624b\u753b \u2192 \u8d70\u57fa\u7840 image_generation\n\n## \u6838\u5fc3\u65b9\u6cd5\u8bba\uff1aPrompt as Code\n\n### \u4e07\u80fd\u7ed3\u6784\u516c\u5f0f\n\n```\n[\u4e3b\u4f53\u4e0e\u4efb\u52a1] + [\u6784\u56fe\u4e0e\u5e03\u5c40] + [\u89c6\u89c9\u98ce\u683c\u4e0e\u6750\u8d28] + [\u6587\u5b57\u4e0e\u6807\u7b7e\u8981\u6c42] + [\u6bd4\u4f8b\u4e0e\u8f93\u51fa\u683c\u5f0f] + [\u7ea6\u675f\u4e0e\u8d1f\u5411\u7ec6\u8282]\n```\n\n### \u539f\u5b50\u5316 Schema\n\n| \u7ef4\u5ea6 | \u5b57\u6bb5 | \u8bf4\u660e | \u793a\u4f8b |\n|------|------|------|------|\n| Subject | \u4e3b\u4f53 | \u753b\u9762\u6838\u5fc3\u5bf9\u8c61\uff0c\u8d8a\u5177\u4f53\u8d8a\u597d | \"\u4e00\u74f630ml\u900f\u660e\u73bb\u7483\u9999\u6c34\u74f6\uff0c\u91d1\u8272\u74f6\u76d6\" |\n| Composition | \u6784\u56fe | \u5e03\u5c40\u3001\u89c6\u89d2\u3001\u666f\u522b | \"\u5c45\u4e2d\u5bf9\u79f0\uff0c45\u5ea6\u4fef\u62cd\uff0c\u6d45\u666f\u6df1\" |\n| Material | \u6750\u8d28 | \u7269\u4f53\u8868\u9762\u8d28\u611f\u4e0e\u89e6\u611f | \"\u78e8\u7802\u73bb\u7483\uff0c\u91d1\u5c5e\u53cd\u5149\uff0c\u6c34\u6ef4\u51dd\u7ed3\" |\n| Typography | \u6587\u5b57 | \u753b\u9762\u4e2d\u6587\u5b57\u5185\u5bb9\u3001\u5b57\u4f53\u3001\u4f4d\u7f6e | \"\u6807\u9898'\u9650\u65f6\u7279\u60e0'\uff0c\u7c97\u9ed1\u4f53\uff0c\u5de6\u4e0a\u89d2\" |\n| Lighting | \u5149\u7ebf | \u5149\u6e90\u65b9\u5411\u3001\u8272\u6e29\u3001\u6c1b\u56f4 | \"\u67d4\u548c\u4fa7\u9006\u5149\uff0c\u6696\u8272\u8c03\uff0c\u4e01\u8fbe\u5c14\u6548\u5e94\" |\n| Style | \u98ce\u683c | \u6574\u4f53\u89c6\u89c9\u8c03\u6027 | \"\u9ad8\u7aef\u5546\u4e1a\u6444\u5f71\uff0c\u6781\u7b80\u767d\u5e95\uff0c8K\" |\n| Constraints | \u7ea6\u675f | \u8d1f\u5411\u63d0\u793a\u4e0e\u786c\u6027\u9650\u5236 | \"\u7981\u6b62\u4e71\u7801\u6587\u5b57\uff0c\u7981\u6b62\u591a\u4f59\u624b\u6307\uff0c9:16\" |\n\n## \u56db\u6b65\u5de5\u4f5c\u6d41\n\n### Step 1\uff1a\u9009\u7c7b\u522b\n\n\u6839\u636e\u7528\u6237\u9700\u6c42\u5339\u914d\u6a21\u677f\u7c7b\u522b\uff1a\n\n| \u7c7b\u522b | \u6a21\u677fID | \u9002\u7528\u573a\u666f |\n|------|--------|----------|\n| UI\u4e0e\u754c\u9762 | `ui-screenshot-system` | App\u622a\u56fe\u3001\u4eea\u8868\u76d8\u3001\u793e\u5a92\u622a\u56fe\u3001\u76f4\u64ad\u754c\u9762 |\n| \u56fe\u8868\u4e0e\u4fe1\u606f\u53ef\u89c6\u5316 | `infographic-engine` | \u89e3\u91ca\u56fe\u3001\u6280\u672f\u56fe\u89e3\u3001\u65f6\u95f4\u7ebf\u3001\u77e5\u8bc6\u5361\u7247 |\n| \u79d1\u5b66\u5c3a\u5ea6\u56fe | `scientific-scale-diagram` | \u5fae\u89c2\u5230\u5b8f\u89c2\u7684\u5c3a\u5ea6\u9012\u8fdb\u56fe |\n| \u6d77\u62a5\u4e0e\u6392\u7248 | `poster-campaign` | \u6d3b\u52a8\u6d77\u62a5\u3001\u7535\u5f71\u6d77\u62a5\u3001\u6982\u5ff5\u5b57\u4f53\u6d77\u62a5 |\n| \u7535\u5546\u4e3b\u56fe | `ecommerce-hero` | \u4ea7\u54c1\u4e3b\u56fe\u3001\u8be6\u60c5\u9875banner\u3001\u5e26\u8d27\u56fe |\n| \u54c1\u724c\u89c6\u89c9 | `brand-identity` | \u54c1\u724cKV\u3001VI\u5e94\u7528\u3001\u5305\u88c5\u8bbe\u8ba1 |\n| \u5546\u4e1a\u6444\u5f71 | `commercial-photo` | \u4ea7\u54c1\u9759\u7269\u3001\u4eba\u50cf\u3001\u7f8e\u98df\u6444\u5f71 |\n| \u89d2\u8272\u4e0eIP | `character-design` | \u89d2\u8272\u8bbe\u5b9a\u3001IP\u5f62\u8c61\u3001\u8868\u60c5\u5305 |\n| \u53d9\u4e8b\u63d2\u753b | `narrative-illustration` | \u6545\u4e8b\u573a\u666f\u3001\u7ed8\u672c\u3001\u7f16\u8f91\u63d2\u753b |\n| \u53e4\u7c4d\u56fd\u98ce | `classical-chinese` | \u56fd\u753b\u3001\u5de5\u7b14\u3001\u6c34\u58a8\u3001\u6566\u714c\u98ce\u683c |\n\n### Step 2\uff1a\u68c0\u7d22\u6848\u4f8b\uff08\u6284\u7ed3\u6784\uff09\n\n\u4f7f\u7528 `scripts\/query_templates.py` \u68c0\u7d22\u672c\u5730\u514b\u9686\u4ed3\u5e93\u7684\u6a21\u677f\u4e0e\u6848\u4f8b\uff1a\n\n```bash\npython3 scripts\/query_templates.py --category ecommerce\npython3 scripts\/query_templates.py --keyword \"\u9999\u6c34 \u6d77\u62a5\"\n```\n\n\u672a\u514b\u9686\u4ed3\u5e93\u65f6\uff0c\u811a\u672c\u4f1a\u4f18\u96c5\u964d\u7ea7\uff0c\u8f93\u51fa\u5728\u7ebf raw \u94fe\u63a5\uff1a\n- \u6a21\u677f\u5e93\uff1ahttps:\/\/raw.githubusercontent.com\/freestylefly\/awesome-gpt-image-2\/main\/docs\/templates.md\n- \u753b\u5ecaPart1\uff1ahttps:\/\/raw.githubusercontent.com\/freestylefly\/awesome-gpt-image-2\/main\/docs\/gallery-part-1.md\n- \u753b\u5ecaPart2\uff1ahttps:\/\/raw.githubusercontent.com\/freestylefly\/awesome-gpt-image-2\/main\/docs\/gallery-part-2.md\n\n\u4e5f\u53ef\u76f4\u63a5 web_fetch \u4e0a\u8ff0\u94fe\u63a5\u83b7\u53d6\u6700\u65b0\u6848\u4f8b\u3002\n\n### Step 3\uff1a\u5957\u6a21\u677f\u586b\u53d8\u91cf\n\n\u9009\u62e9\u5339\u914d\u7684 JSON \u6a21\u677f\uff0c\u5c06\u7528\u6237\u9700\u6c42\u586b\u5165\u53d8\u91cf\u3002\u4ee5\u4e0b\u4e3a 3 \u4e2a\u6838\u5fc3\u6a21\u677f\u793a\u4f8b\uff1a\n\n#### \u6a21\u677fA\uff1a\u4fe1\u606f\u56fe\n\n```json\n{\n  \"type\": \"Infographic\",\n  \"topic\": \"<\u4e3b\u9898\uff0c\u660e\u786e\u5177\u4f53>\",\n  \"audience\": \"<\u76ee\u6807\u8bfb\u8005>\",\n  \"structure\": {\n    \"title_area\": \"<\u4e3b\u6807\u9898>\",\n    \"layout\": \"<\u5e03\u5c40\u63cf\u8ff0\uff0c\u5982\uff1a\u7b49\u8ddd\u5207\u89d2\uff0cN\u4e2a\u7f16\u53f7\u9762\u677f>\",\n    \"modules\": [\n      {\"title\": \"<\u6a21\u57571>\", \"icon\": \"<\u56fe\u6807\u540d>\", \"text\": \"<1-2\u53e5\u8bf4\u660e>\"},\n      {\"title\": \"<\u6a21\u57572>\", \"icon\": \"<\u56fe\u6807\u540d>\", \"text\": \"<1-2\u53e5\u8bf4\u660e>\"}\n    ]\n  },\n  \"style\": {\n    \"aesthetic\": \"<\u98ce\u683c\uff0c\u5982\uff1a\u79d1\u5b66\u56fe\u9274\/\u6241\u5e73\u63d2\u753b\/\u5546\u52a1\u62a5\u544a>\",\n    \"colors\": \"<\u914d\u8272\u65b9\u6848>\",\n    \"background\": \"<\u80cc\u666f>\"\n  },\n  \"constraints\": \"No gibberish text, strict structural layout, <\u6bd4\u4f8b>\"\n}\n```\n\n#### \u6a21\u677fB\uff1a\u7535\u5f71\/\u6d3b\u52a8\u6d77\u62a5\n\n```json\n{\n  \"type\": \"Poster\",\n  \"subject\": \"<\u4e3b\u4f53\u63cf\u8ff0>\",\n  \"title\": {\n    \"text\": \"<\u6807\u9898\uff0c\u5fc5\u987b\u7cbe\u786e\u663e\u793a>\",\n    \"style\": \"<\u5b57\u4f53\u98ce\u683c\uff0c\u5982\uff1a\u7c97\u9ed1\u4f53\/\u4e66\u6cd5\u4f53\/\u886c\u7ebf\u4f53>\",\n    \"position\": \"<\u4f4d\u7f6e\uff0c\u5982\uff1a\u5c45\u4e2d\/\u5e95\u90e8\/\u5bf9\u89d2>\"\n  },\n  \"composition\": \"<\u6784\u56fe\u63cf\u8ff0>\",\n  \"visual_style\": \"<\u89c6\u89c9\u98ce\u683c\uff0c\u5982\uff1a\u8d5b\u535a\u670b\u514b\/\u590d\u53e4\u80f6\u7247\/\u6781\u7b80>\",\n  \"color_palette\": [\"<\u4e3b\u8272>\", \"<\u8f85\u8272>\", \"<\u70b9\u7f00\u8272>\"],\n  \"mood\": \"<\u60c5\u7eea\u5173\u952e\u8bcd>\",\n  \"constraints\": \"Title must be spelled exactly, readable text, <\u6bd4\u4f8b>, no random text\"\n}\n```\n\n#### \u6a21\u677fC\uff1a\u7535\u5546\u4e3b\u56fe\n\n```json\n{\n  \"type\": \"Ecommerce\",\n  \"product\": {\n    \"name\": \"<\u4ea7\u54c1\u540d>\",\n    \"material\": \"<\u6750\u8d28>\",\n    \"color\": \"<\u989c\u8272>\",\n    \"key_feature\": \"<\u6838\u5fc3\u5356\u70b9>\"\n  },\n  \"scene\": \"<\u4f7f\u7528\u573a\u666f\/\u80cc\u666f>\",\n  \"composition\": \"<\u6784\u56fe\uff0c\u5982\uff1a\u5c45\u4e2d45\u5ea6\u4fef\u62cd>\",\n  \"lighting\": \"<\u5149\u7ebf\u63cf\u8ff0>\",\n  \"style\": \"<\u98ce\u683c\uff0c\u5982\uff1a\u9ad8\u7aef\u5546\u4e1a\u6444\u5f71\/\u6781\u7b80\u767d\u5e95\/\u751f\u6d3b\u65b9\u5f0f>\",\n  \"text_overlay\": {\n    \"headline\": \"<\u4e3b\u6587\u6848>\",\n    \"subtext\": \"<\u526f\u6587\u6848>\",\n    \"position\": \"<\u4f4d\u7f6e>\"\n  },\n  \"constraints\": \"Product must be accurate, readable text, <\u6bd4\u4f8b>, no watermark\"\n}\n```\n\n### Step 4\uff1a\u751f\u6210\u4e0e\u8fed\u4ee3\n\n1. \u5c06\u586b\u597d\u53d8\u91cf\u7684 JSON \u8f6c\u4e3a\u81ea\u7136\u8bed\u8a00\u63d0\u793a\u8bcd\n2. \u8c03\u7528 `image_generation` \u51fa\u56fe\uff08\u4e2d\u6587\u9700\u6c42\u7528\u4e2d\u6587\u63d0\u793a\u8bcd\uff0c\u82f1\u6587\u9700\u6c42\u7528\u82f1\u6587\uff09\n3. \u68c0\u67e5\u51fa\u56fe\u7ed3\u679c\uff1a\u6587\u5b57\u662f\u5426\u51c6\u786e\u3001\u6784\u56fe\u662f\u5426\u7b26\u5408\u3001\u6bd4\u4f8b\u662f\u5426\u6b63\u786e\n4. \u4e0d\u6ee1\u8db3\u5219\u8c03\u6574\u5bf9\u5e94 Schema \u7ef4\u5ea6\u540e\u91cd\u65b0\u751f\u6210\uff08\u56fe\u751f\u56fe\u6a21\u5f0f\u53ef\u4f20\u5165\u53c2\u8003\u56fe\uff09\n\n## 5 \u4e2a\u7a33\u5b9a\u6027\u5b9e\u6d4b\u6280\u5de7\n\n1. **\u6587\u5b57\u9501\u5b9a**\uff1a\u51e1\u662f\u753b\u9762\u4e2d\u6709\u6587\u5b57\uff0c\u5fc5\u987b\u5199\"\u6587\u5b57\u5fc5\u987b\u51c6\u786e\u663e\u793a\u6307\u5b9a\u5185\u5bb9\uff0c\u7981\u6b62\u4e71\u7801\u548c\u5360\u4f4d\u6587\u672c\"\uff0c\u5e76\u628a\u539f\u6587\u9010\u5b57\u5199\u51fa\n2. **\u6bd4\u4f8b\u524d\u7f6e**\uff1a\u5bbd\u9ad8\u6bd4\u5199\u5728\u63d0\u793a\u8bcd\u6700\u524d\u9762\u6216 constraints \u7b2c\u4e00\u6761\uff0c\u5426\u5219\u6a21\u578b\u9ed8\u8ba4\u51fa 1:1 \u6216 9:16\n3. **\u6a21\u5757\u9650\u91cf**\uff1a\u4fe1\u606f\u56fe\u5148\u9501\u5b9a 3-5 \u4e2a\u6a21\u5757\u518d\u8865\u7ec6\u8282\uff0c\u6a21\u5757\u8fc7\u591a\u5fc5\u7136\u6df7\u4e71\n4. **\u5e73\u53f0\u7279\u5f81\u533a\u5206**\uff1aUI\u622a\u56fe\u5fc5\u987b\u6307\u5b9a\u5e73\u53f0\uff08iOS\/Android\/\u5c0f\u7ea2\u4e66\/\u6296\u97f3\uff09\uff0c\u5404\u5e73\u53f0\u72b6\u6001\u680f\u3001Tab\u3001\u4ea4\u4e92\u5143\u7d20\u5dee\u5f02\u5927\n5. **\u8d1f\u5411\u7ea6\u675f\u5177\u4f53\u5316**\uff1a\u4e0d\u8981\u53ea\u5199\"no artifacts\"\uff0c\u8981\u5199\"\u7981\u6b62\u591a\u4f59\u624b\u6307\"\"\u7981\u6b62\u4e71\u7801\u6309\u94ae\"\"\u7981\u6b62\u4ea7\u54c1\u53d8\u5f62\"\n\n## \u4f7f\u7528\u65b9\u5f0f\n\n### \u8f93\u5165\n\n| \u53c2\u6570 | \u7c7b\u578b | \u5fc5\u586b | \u8bf4\u660e |\n|------|------|------|------|\n| category | string | \u662f | \u51fa\u56fe\u7c7b\u522b\uff1aui\/infographic\/poster\/ecommerce\/brand\/photo\/character\/narrative\/classical |\n| subject | string | \u662f | \u4e3b\u4f53\u63cf\u8ff0 |\n| style | string | \u5426 | \u89c6\u89c9\u98ce\u683c\u504f\u597d |\n| aspect_ratio | string | \u5426 | \u5bbd\u9ad8\u6bd4\uff08\u9ed8\u8ba4 1:1\uff09 |\n| text_content | string | \u5426 | \u753b\u9762\u4e2d\u9700\u8981\u663e\u793a\u7684\u6587\u5b57 |\n| reference_image | string | \u5426 | \u53c2\u8003\u56fe\u8def\u5f84\/URL\uff08\u56fe\u751f\u56fe\u6a21\u5f0f\uff09 |\n| extra_constraints | string | \u5426 | \u989d\u5916\u7ea6\u675f |\n\n### \u8f93\u51fa\n\n- \u4e00\u4efd\u7ed3\u6784\u5316\u7684 GPT-Image-2 \u63d0\u793a\u8bcd\uff08\u53ef\u76f4\u63a5\u590d\u5236\u4f7f\u7528\uff09\n- \u5bf9\u5e94\u7684 JSON Schema\uff08\u53ef\u590d\u7528\/\u6279\u91cf\u4fee\u6539\uff09\n- \u9009\u4e2d\u7684\u6a21\u677f\u540d\u79f0\u548c\u53c2\u8003\u6848\u4f8bID\n- \u8d1f\u5411\u7ea6\u675f\u6e05\u5355\n\n## \u8d44\u6e90\u5f15\u7528\n\n- **\u4e0a\u6e38\u9879\u76ee**\uff1a[freestylefly\/awesome-gpt-image-2](https:\/\/github.com\/freestylefly\/awesome-gpt-image-2)\uff08\u2b5018k+\uff0cMIT License\uff09\n- **\u5728\u7ebf\u753b\u5eca**\uff1ahttps:\/\/gpt-image2.canghe.ai\n- **npm \u5305**\uff1a`gpt-image-2-style-library`\n- **\u5b8c\u6574\u6a21\u677f\u5e93**\uff1a`references\/style-library.md`\uff0820+ \u6a21\u677f\u8be6\u7ec6\u7d22\u5f15\uff09\n- **\u6848\u4f8b\u5e93**\uff1a530+ \u9006\u5411\u5de5\u7a0b\u6848\u4f8b\uff0c\u89c1\u4e0a\u6e38 `docs\/gallery.md`\n\n> \u26a0\ufe0f \u7b2c\u4e09\u65b9\u6848\u4f8b\u5546\u7528\u6388\u6743\u63d0\u793a\uff1a\u672c\u6280\u80fd\u5f15\u7528\u7684\u6848\u4f8b\u4ec5\u4f9b\u5b66\u4e60\u53c2\u8003\uff0c\u5546\u7528\u524d\u8bf7\u786e\u8ba4\u5bf9\u5e94\u6848\u4f8b\u7684\u6388\u6743\u8303\u56f4\u3002\n\n## \u6ce8\u610f\u4e8b\u9879\n\n- \u672c\u6280\u80fd\u4e0d\u65b0\u589e\u751f\u56fe\u5de5\u5177\uff0c\u51fa\u56fe\u4ecd\u9700\u8c03\u7528 `image_generation` \u6280\u80fd\n- \u4e2d\u6587\u9700\u6c42\u9ed8\u8ba4\u8f93\u51fa\u4e2d\u6587\u63d0\u793a\u8bcd\uff0c\u82f1\u6587\u9700\u6c42\u8f93\u51fa\u82f1\u6587\u63d0\u793a\u8bcd\n- \u6279\u91cf\u751f\u6210\u65f6\u590d\u7528\u540c\u4e00\u6a21\u677f\uff0c\u4ec5\u53d8\u66f4 subject \/ composition \/ palette\n- \u4ed3\u5e93\u514b\u9686\u88ab 403 \u62e6\u622a\u65f6\uff0c\u4ee5\u5728\u7ebf raw \u94fe\u63a5\u68c0\u7d22\u4e3a\u4e3b\u8def\u5f84\n","use_cases":["E-commerce Product Image Generation: Input product information and style requirements, output structured prompts","Movie Poster Design: Generate prompts that match the style using templates and case references","Infographic Creation: Use templates and variable filling to generate reusable prompts"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/anbeime\/skill\/blob\/7d96c7f464535c90bd6efde99821a9d3446bf0cb\/skills\/gpt-image-2-prompt-engine\/SKILL.md","source_commit":"7d96c7f464535c90bd6efde99821a9d3446bf0cb","license":"MIT","version":"1.0.0","listing_approved_at":"2026-11-23","created_at":"2026-11-22T11:43:14.000000Z","updated_at":"2026-11-23T04:53:33.000000Z","seo_title":"GPT-Image-2 Prompt Construction Tool","seo_description":"Convert vague image generation requests into structured prompts that GPT-Image-2 can execute reliably, suitable for e-commerce product images, posters, and infographics.","seo_keywords":["GPT-Image-2 Prompt Construction","E-commerce Product Image Generation Tool","Infographic Creation Template","Poster Design Prompts","Brand Visual Generation Tool"]}}