Loading...
Loading...
Compare original and translation side by side
gpt-image-1.5gpt-image-1.5scripts/image_gen.pyscripts/image_gen.pytmp/imagegen/output/imagegen/--out--out-dirtmp/imagegen/output/imagegen/--out--out-diruvuv pip install openai pillowuvpython3 -m pip install openai pillowuvuv pip install openai pillowuvpython3 -m pip install openai pillowOPENAI_API_KEYOPENAI_API_KEYOPENAI_API_KEYOPENAI_API_KEYgpt-image-1.5gpt-image-1-miniOPENAI_API_KEYopenaiclient.images.edit(...)scripts/image_gen.pyscripts/image_gen.pygpt-image-1-minigpt-image-1.5OPENAI_API_KEYopenaiclient.images.edit(...)scripts/image_gen.pyscripts/image_gen.pyUse case: <taxonomy slug>
Asset type: <where the asset will be used>
Primary request: <user's main prompt>
Scene/background: <environment>
Subject: <main subject>
Style/medium: <photo/illustration/3D/etc>
Composition/framing: <wide/close/top-down; placement>
Lighting/mood: <lighting + mood>
Color palette: <palette notes>
Materials/textures: <surface details>
Quality: <low/medium/high/auto>
Input fidelity (edits): <low/high>
Text (verbatim): "<exact text>"
Constraints: <must keep/must avoid>
Avoid: <negative constraints>references/sample-prompts.md用例:<分类标识>
资产类型:<资产用途>
核心请求:<用户的主要提示词>
场景/背景:<环境>
主体:<核心对象>
风格/媒介:<照片/插画/3D等>
构图/取景:<宽幅/特写/俯视;布局>
光线/氛围:<光线+氛围>
调色板:<调色板说明>
材质/纹理:<表面细节>
质量:<低/中/高/自动>
输入保真度(编辑):<低/高>
文本(原文):"<精确文本>"
约束:<必须保留/必须避免>
避免:<负向约束>references/sample-prompts.mdUse case: stylized-concept
Asset type: landing page hero
Primary request: a minimal hero image of a ceramic coffee mug
Style/medium: clean product photography
Composition/framing: centered product, generous negative space on the right
Lighting/mood: soft studio lighting
Constraints: no logos, no text, no watermark用例:stylized-concept
资产类型:着陆页首屏图
核心请求:一个简约的陶瓷咖啡杯首屏图
风格/媒介:简洁产品摄影
构图/取景:产品居中,右侧留有充足留白
光线/氛围:柔和工作室灯光
约束:无标志、无文本、无水印Use case: precise-object-edit
Asset type: product photo background replacement
Primary request: replace the background with a warm sunset gradient
Constraints: change only the background; keep the product and its edges unchanged; no text; no watermark用例:precise-object-edit
资产类型:产品照片背景替换
核心请求:将背景替换为暖色调日落渐变
约束:仅修改背景;保持产品及其边缘不变;无文本;无水印references/prompting.mdreferences/sample-prompts.mdreferences/prompting.mdreferences/sample-prompts.mdreferences/sample-prompts.mdreferences/sample-prompts.mdreferences/cli.mdreferences/image-api.mdreferences/codex-network.mdreferences/cli.mdreferences/image-api.mdreferences/codex-network.mdreferences/cli.mdscripts/image_gen.pyreferences/image-api.mdreferences/prompting.mdreferences/sample-prompts.mdreferences/codex-network.mdreferences/cli.mdscripts/image_gen.pyreferences/image-api.mdreferences/prompting.mdreferences/sample-prompts.mdreferences/codex-network.md