Skip to content

Prompt as Code | GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比专区,附完整提示词与生成记录,持续更新。

Redesign homepage banner

freestyleflyc1da1f3c8c59
diff --git a/data/images/banner.svg b/data/images/banner.svg
index b6cb2ed..6dabe06 100644
--- a/data/images/banner.svg
+++ b/data/images/banner.svg
@@ -1,112 +1,130 @@
<svg width="1200" height="400" viewBox="0 0 1200 400" fill="none" xmlns="http://www.w3.org/2000/svg">
<defs>
- <linearGradient id="bg" x1="40" y1="28" x2="1110" y2="378" gradientUnits="userSpaceOnUse">
- <stop stop-color="#08111F"/>
- <stop offset="0.45" stop-color="#102A43"/>
- <stop offset="1" stop-color="#0A6C8F"/>
+ <linearGradient id="bg" x1="0" y1="0" x2="1200" y2="400" gradientUnits="userSpaceOnUse">
+ <stop stop-color="#07111F"/>
+ <stop offset="0.48" stop-color="#0B2538"/>
+ <stop offset="1" stop-color="#0D3A3C"/>
</linearGradient>
- <linearGradient id="panel" x1="280" y1="58" x2="944" y2="342" gradientUnits="userSpaceOnUse">
- <stop stop-color="#0E1C2F" stop-opacity="0.92"/>
- <stop offset="1" stop-color="#0B1322" stop-opacity="0.78"/>
+ <linearGradient id="accent" x1="204" y1="98" x2="694" y2="320" gradientUnits="userSpaceOnUse">
+ <stop stop-color="#6BF3D7"/>
+ <stop offset="0.48" stop-color="#77B7FF"/>
+ <stop offset="1" stop-color="#F2D479"/>
</linearGradient>
- <linearGradient id="accent" x1="264" y1="84" x2="792" y2="300" gradientUnits="userSpaceOnUse">
- <stop stop-color="#3EE7C4"/>
- <stop offset="0.55" stop-color="#59B6FF"/>
- <stop offset="1" stop-color="#B8F36B"/>
+ <linearGradient id="cardA" x1="751" y1="69" x2="912" y2="232" gradientUnits="userSpaceOnUse">
+ <stop stop-color="#F5FBFF"/>
+ <stop offset="1" stop-color="#D9ECF6"/>
</linearGradient>
- <linearGradient id="code" x1="880" y1="72" x2="1096" y2="252" gradientUnits="userSpaceOnUse">
- <stop stop-color="#1B2B48"/>
- <stop offset="1" stop-color="#10213A"/>
+ <linearGradient id="cardB" x1="903" y1="110" x2="1078" y2="301" gradientUnits="userSpaceOnUse">
+ <stop stop-color="#FFF3D3"/>
+ <stop offset="1" stop-color="#FFDDA5"/>
</linearGradient>
- <pattern id="grid" width="32" height="32" patternUnits="userSpaceOnUse">
- <path d="M32 0H0V32" stroke="white" stroke-opacity="0.08"/>
+ <linearGradient id="cardC" x1="787" y1="219" x2="965" y2="351" gradientUnits="userSpaceOnUse">
+ <stop stop-color="#E4F8E7"/>
+ <stop offset="1" stop-color="#B9E7D2"/>
+ </linearGradient>
+ <pattern id="grid" width="36" height="36" patternUnits="userSpaceOnUse">
+ <path d="M36 0H0V36" stroke="#B9D4EA" stroke-opacity="0.08"/>
</pattern>
- <filter id="blur" x="-40" y="-40" width="1280" height="480" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
- <feGaussianBlur stdDeviation="32"/>
+ <filter id="softShadow" x="-20%" y="-20%" width="140%" height="150%" color-interpolation-filters="sRGB">
+ <feDropShadow dx="0" dy="18" stdDeviation="18" flood-color="#010713" flood-opacity="0.28"/>
</filter>
- <filter id="shadow" x="212" y="36" width="792" height="328" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
- <feOffset dy="12"/>
- <feGaussianBlur stdDeviation="18"/>
- <feColorMatrix type="matrix" values="0 0 0 0 0.0196 0 0 0 0 0.0706 0 0 0 0 0.149 0 0 0 0.32 0"/>
+ <filter id="smallShadow" x="-20%" y="-20%" width="140%" height="150%" color-interpolation-filters="sRGB">
+ <feDropShadow dx="0" dy="10" stdDeviation="10" flood-color="#04101B" flood-opacity="0.2"/>
</filter>
+ <clipPath id="clipCardA">
+ <rect x="728" y="70" width="174" height="220" rx="24"/>
+ </clipPath>
+ <clipPath id="clipCardB">
+ <rect x="878" y="110" width="184" height="214" rx="24"/>
+ </clipPath>
+ <clipPath id="clipCardC">
+ <rect x="770" y="228" width="178" height="104" rx="22"/>
+ </clipPath>
</defs>
- <rect width="1200" height="400" rx="28" fill="url(#bg)"/>
- <rect width="1200" height="400" rx="28" fill="url(#grid)"/>
+ <rect width="1200" height="400" rx="32" fill="url(#bg)"/>
+ <rect width="1200" height="400" rx="32" fill="url(#grid)"/>
- <g filter="url(#blur)">
- <circle cx="192" cy="80" r="112" fill="#38D6FF" fill-opacity="0.18"/>
- <circle cx="1000" cy="346" r="132" fill="#8DFF6A" fill-opacity="0.16"/>
- <circle cx="854" cy="72" r="96" fill="#4DF3C5" fill-opacity="0.14"/>
- </g>
+ <path d="M58 312C226 248 360 259 514 318C654 372 820 368 1058 282" stroke="#7DEDD6" stroke-opacity="0.18" stroke-width="2"/>
+ <path d="M94 88C248 126 392 121 540 74C698 24 887 44 1108 138" stroke="#9BBFFF" stroke-opacity="0.16" stroke-width="2"/>
+ <path d="M72 356H1128" stroke="#FFFFFF" stroke-opacity="0.08"/>
- <g opacity="0.9">
- <path d="M42 320C196 252 366 242 520 286" stroke="#6BE7FF" stroke-opacity="0.2" stroke-width="2"/>
- <path d="M666 80C802 22 956 34 1140 124" stroke="#7CFFB1" stroke-opacity="0.22" stroke-width="2"/>
- <path d="M28 120C168 150 246 132 334 86" stroke="#9EF3FF" stroke-opacity="0.18" stroke-width="2"/>
+ <g filter="url(#softShadow)">
+ <rect x="76" y="56" width="650" height="288" rx="30" fill="#0A1B2D" fill-opacity="0.88" stroke="#FFFFFF" stroke-opacity="0.1"/>
+ <path d="M78 110H724" stroke="#FFFFFF" stroke-opacity="0.07"/>
</g>
- <g filter="url(#shadow)">
- <rect x="236" y="54" width="732" height="292" rx="26" fill="url(#panel)" stroke="white" stroke-opacity="0.1"/>
+ <g>
+ <rect x="112" y="86" width="186" height="34" rx="17" fill="#102A42" stroke="#68E8D0" stroke-opacity="0.42"/>
+ <text x="132" y="108" fill="#B8FFF1" font-family="'SF Pro Display','PingFang SC','Microsoft YaHei',sans-serif" font-size="14" font-weight="800" letter-spacing="1.6">PROMPT AS CODE</text>
</g>
- <rect x="268" y="82" width="166" height="30" rx="15" fill="#122741" stroke="#64DDFD" stroke-opacity="0.35"/>
- <text x="286" y="102" fill="#A9EFFF" font-family="'SF Pro Display','PingFang SC','Microsoft YaHei',sans-serif" font-size="14" font-weight="700" letter-spacing="1.4">PROMPT AS CODE</text>
+ <text x="112" y="171" fill="#F7FBFF" font-family="'SF Pro Display','PingFang SC','Microsoft YaHei',sans-serif" font-size="50" font-weight="850">GPT-Image2</text>
+ <text x="112" y="218" fill="#69EED8" font-family="'SF Pro Display','PingFang SC','Microsoft YaHei',sans-serif" font-size="32" font-weight="760">工业级提示词引擎与模板库</text>
+ <text x="112" y="255" fill="#BFD2E5" font-family="'SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif" font-size="18" font-weight="500">把社区案例逆向成可复用协议,让图像生成从灵感走向系统工程。</text>
- <text x="268" y="154" fill="white" font-family="'SF Pro Display','PingFang SC','Microsoft YaHei',sans-serif" font-size="46" font-weight="800">GPT-Image2</text>
- <text x="268" y="203" fill="url(#accent)" font-family="'SF Pro Display','PingFang SC','Microsoft YaHei',sans-serif" font-size="34" font-weight="750">工业级提示词引擎与模板库</text>
- <text x="268" y="240" fill="#C4D6EA" font-family="'SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif" font-size="18" font-weight="500">
- 将零散灵感重构为可调用协议,把图像生成从“抽卡”推进到“系统工程”。
- </text>
-
- <g>
- <rect x="268" y="272" width="160" height="42" rx="14" fill="#0F2139" stroke="#52D6F5" stroke-opacity="0.45"/>
- <circle cx="290" cy="293" r="6" fill="#44E6C8"/>
- <text x="306" y="298" fill="#E8F7FF" font-family="'SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif" font-size="17" font-weight="700">329 个重构案例</text>
+ <g filter="url(#smallShadow)">
+ <rect x="112" y="286" width="154" height="42" rx="14" fill="#F7FBFF"/>
+ <text x="132" y="313" fill="#0B2538" font-family="'SF Pro Display','PingFang SC','Microsoft YaHei',sans-serif" font-size="19" font-weight="850">370+ 案例</text>
</g>
- <g>
- <rect x="442" y="272" width="162" height="42" rx="14" fill="#0F2139" stroke="#7BEA83" stroke-opacity="0.4"/>
- <rect x="462" y="286" width="12" height="12" rx="3" fill="#97F27E"/>
- <text x="484" y="298" fill="#E8F7FF" font-family="'SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif" font-size="17" font-weight="700">Schema 驱动</text>
+ <g filter="url(#smallShadow)">
+ <rect x="278" y="286" width="160" height="42" rx="14" fill="#0E3246" stroke="#73EBD5" stroke-opacity="0.42"/>
+ <text x="300" y="313" fill="#E9FFFA" font-family="'SF Pro Display','PingFang SC','Microsoft YaHei',sans-serif" font-size="19" font-weight="800">20+ 模板</text>
</g>
- <g>
- <rect x="618" y="272" width="170" height="42" rx="14" fill="#0F2139" stroke="#8AB8FF" stroke-opacity="0.4"/>
- <path d="M639 298H654" stroke="#84B8FF" stroke-width="3" stroke-linecap="round"/>
- <path d="M647 290V306" stroke="#84B8FF" stroke-width="3" stroke-linecap="round"/>
- <text x="666" y="298" fill="#E8F7FF" font-family="'SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif" font-size="17" font-weight="700">自动化工作流</text>
+ <g filter="url(#smallShadow)">
+ <rect x="450" y="286" width="188" height="42" rx="14" fill="#122B3F" stroke="#9DBFFF" stroke-opacity="0.34"/>
+ <text x="472" y="313" fill="#EAF3FF" font-family="'SF Pro Display','PingFang SC','Microsoft YaHei',sans-serif" font-size="18" font-weight="760">Schema 驱动</text>
</g>
- <g>
- <rect x="846" y="82" width="92" height="28" rx="14" fill="#142845"/>
- <text x="865" y="100" fill="#8EEBFF" font-family="'IBM Plex Mono','SFMono-Regular',monospace" font-size="13" font-weight="700">JSON / YAML</text>
+ <g filter="url(#softShadow)">
+ <rect x="728" y="70" width="174" height="220" rx="24" fill="url(#cardA)"/>
+ <g clip-path="url(#clipCardA)">
+ <rect x="728" y="70" width="174" height="54" fill="#102A42"/>
+ <text x="750" y="104" fill="#DDF7FF" font-family="'SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif" font-size="16" font-weight="760">Case Gallery</text>
+ <rect x="750" y="146" width="130" height="20" rx="10" fill="#BDE4F4"/>
+ <rect x="750" y="180" width="94" height="12" rx="6" fill="#8EBED4"/>
+ <rect x="750" y="202" width="118" height="12" rx="6" fill="#8EBED4"/>
+ <rect x="750" y="224" width="84" height="12" rx="6" fill="#8EBED4"/>
+ <path d="M856 261C824 250 798 253 764 270" stroke="#0F7C88" stroke-opacity="0.42" stroke-width="6" stroke-linecap="round"/>
+ <circle cx="864" cy="154" r="18" fill="#F2D479"/>
+ </g>
</g>
- <g>
- <rect x="818" y="124" width="114" height="150" rx="18" fill="#0E1E33" stroke="#4EE2C3" stroke-opacity="0.24"/>
- <text x="838" y="149" fill="#6DF0D3" font-family="'IBM Plex Mono','SFMono-Regular',monospace" font-size="15" font-weight="700">{</text>
- <text x="842" y="173" fill="#D7E7F9" font-family="'IBM Plex Mono','SFMono-Regular',monospace" font-size="12">"subject":</text>
- <text x="842" y="194" fill="#8DB9FF" font-family="'IBM Plex Mono','SFMono-Regular',monospace" font-size="12">"lighting":</text>
- <text x="842" y="215" fill="#8DF4D6" font-family="'IBM Plex Mono','SFMono-Regular',monospace" font-size="12">"layout":</text>
- <text x="842" y="236" fill="#F1C27A" font-family="'IBM Plex Mono','SFMono-Regular',monospace" font-size="12">"material":</text>
- <text x="838" y="261" fill="#6DF0D3" font-family="'IBM Plex Mono','SFMono-Regular',monospace" font-size="15" font-weight="700">}</text>
+ <g filter="url(#softShadow)">
+ <rect x="878" y="110" width="184" height="214" rx="24" fill="url(#cardB)"/>
+ <g clip-path="url(#clipCardB)">
+ <rect x="902" y="136" width="136" height="88" rx="18" fill="#0B2538"/>
+ <path d="M924 193L952 164L976 188L994 171L1020 203H924Z" fill="#7EE8D2"/>
+ <circle cx="1006" cy="154" r="10" fill="#FFD86B"/>
+ <text x="902" y="252" fill="#17283A" font-family="'SF Pro Display','PingFang SC','Microsoft YaHei',sans-serif" font-size="18" font-weight="850">Visual Output</text>
+ <rect x="902" y="270" width="120" height="10" rx="5" fill="#C58D49" fill-opacity="0.42"/>
+ <rect x="902" y="290" width="94" height="10" rx="5" fill="#C58D49" fill-opacity="0.42"/>
+ </g>
+ </g>
+
+ <g filter="url(#softShadow)">
+ <rect x="770" y="228" width="178" height="104" rx="22" fill="url(#cardC)"/>
+ <g clip-path="url(#clipCardC)">
+ <text x="792" y="258" fill="#123527" font-family="'IBM Plex Mono','SFMono-Regular',monospace" font-size="14" font-weight="800">{ prompt }</text>
+ <rect x="792" y="276" width="116" height="8" rx="4" fill="#2D9C83" fill-opacity="0.5"/>
+ <rect x="792" y="294" width="82" height="8" rx="4" fill="#2D9C83" fill-opacity="0.36"/>
+ <rect x="792" y="312" width="130" height="8" rx="4" fill="#2D9C83" fill-opacity="0.28"/>
+ </g>
</g>
<g>
- <rect x="948" y="124" width="164" height="150" rx="18" fill="url(#code)" stroke="#94BCFF" stroke-opacity="0.22"/>
- <rect x="968" y="146" width="124" height="18" rx="9" fill="#152A47"/>
- <circle cx="980" cy="155" r="3" fill="#46E2C7"/>
- <rect x="990" y="152" width="38" height="6" rx="3" fill="#59B7FF"/>
- <rect x="968" y="178" width="84" height="10" rx="5" fill="#1B3558"/>
- <rect x="968" y="198" width="122" height="10" rx="5" fill="#1B3558"/>
- <rect x="968" y="218" width="104" height="10" rx="5" fill="#1B3558"/>
- <rect x="968" y="238" width="136" height="10" rx="5" fill="#1B3558"/>
- <text x="968" y="295" fill="#D4E6F7" font-family="'SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif" font-size="15" font-weight="650">结构化视觉组件</text>
- <text x="968" y="316" fill="#88A9C9" font-family="'SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif" font-size="12">Composable • Stable • Readable</text>
+ <path d="M720 202C742 190 744 178 750 156" stroke="#75EBD5" stroke-width="3" stroke-linecap="round"/>
+ <path d="M720 202C742 218 754 246 772 280" stroke="#F2D479" stroke-width="3" stroke-linecap="round"/>
+ <path d="M720 202C772 202 826 202 878 216" stroke="#9DBFFF" stroke-width="3" stroke-linecap="round"/>
+ <circle cx="720" cy="202" r="8" fill="#F7FBFF"/>
+ <circle cx="750" cy="156" r="6" fill="#75EBD5"/>
+ <circle cx="772" cy="280" r="6" fill="#F2D479"/>
+ <circle cx="878" cy="216" r="6" fill="#9DBFFF"/>
</g>
- <g opacity="0.55">
- <rect x="818" y="296" width="294" height="18" rx="9" fill="#10233D"/>
- <rect x="818" y="296" width="182" height="18" rx="9" fill="url(#accent)"/>
- <text x="822" y="343" fill="#90A9C6" font-family="'IBM Plex Mono','SFMono-Regular',monospace" font-size="12">prompt_engine.confidence = 0.98</text>
+ <g opacity="0.72">
+ <rect x="1000" y="342" width="88" height="18" rx="9" fill="#17334A"/>
+ <rect x="1000" y="342" width="58" height="18" rx="9" fill="#75EBD5"/>
+ <text x="730" y="360" fill="#86A5BD" font-family="'IBM Plex Mono','SFMono-Regular',monospace" font-size="12">cases.reverse_engineered → reusable_templates</text>
</g>
</svg>