UI 与界面类生图案例。风格/场景:信息图,写实,科技,商业,社媒。实现方式为单步骤:直接使用提示词由 GPT-Image-2 生成,效果见效果图。案例来源:@HumanOS_v2 https://x.com/HumanOS_v2


使用 GPT-Image-2 按提示词直接生成
{
"type": "scientific optical setup diagram",
"main_setup": {
"base": "optical breadboard table with grid of mounting holes",
"beam": "red laser beam passing horizontally through all components",
"top_grouping_brackets": [
"{argument name=\"first component group\" default=\"Dual Modulation\"}",
"4f Relay Optics",
"Imaging Optics",
"Detection"
],
"components_left_to_right": [
{ "name": "Laser", "label": "{argument name=\"laser wavelength\" default=\"λ = 632.8 nm\"}", "appearance": "black rectangular box" },
{ "name": "SLM1", "label": "(Phase / Pol. Mod.)", "appearance": "black square device on post" },
{ "name": "Lens L1", "label": "(f1)", "appearance": "lens in black ring mount" },
{ "name": "Iris", "label": "Fourier Plane (Pupil Plane) / (Higher Orders Filtered)", "appearance": "black ring mount with dashed line above" },
{ "name": "HWP", "label": "(λ/2)", "appearance": "purple-tinted optic in black ring mount" },
{ "name": "Lens L2", "label": "(f1)", "appearance": "lens in black ring mount" },
{ "name": "SLM2", "label": "(Phase / Pol. Mod.)", "appearance": "black square device on post" },
{ "name": "Lens L3", "label": "(f2)", "appearance": "lens in black ring mount" },
{ "name": "Lens L4", "label": "(f2)", "appearance": "lens in black ring mount" },
{ "name": "Linear Polarizer", "label": "(Global Analyzer)", "appearance": "lens in black ring mount" },
{ "name": "Polarization Camera", "label": "POLARIZATION CAMERA", "appearance": "blue and black box camera" }
]
},
"inset_diagram": {
"position": "bottom right, dashed border",
"title": "{argument name=\"inset title\" default=\"Polarization Camera Micro-Polarizer Array\"} (Per-Pixel Analyzer)",
"visuals": "4x4 grid of colored squares with white directional arrows",
"legend_count": 4,
"legend_labels": [
"red right-arrow 0° (H)",
"green up-arrow 90° (V)",
"blue diagonal-arrow 45° (D)",
"yellow diagonal-arrow 135° (A)"
]
},
"bottom_caption": {
"figure_number": "Fig. 5.",
"title": "{argument name=\"setup title\" default=\"Ellipsography Hardware Setup.\"}",
"description": "{argument name=\"figure caption\" default=\"Our prototype display system employs a dual-modulation configuration to achieve simultaneous control of phase and polarization. A 4f relay optics setup transfers the modulated wavefront...\"}"
}
}生成结果见效果展示
使用模型:OpenAI GPT-Image-2
适用模型:OpenAI GPT-Image-2