Instruction Following and Thinking Mode: モデルは「思考」でき(ウェブ検索、計画、複数バリアントの生成、自己チェック)、キャラクターの一貫性、絵コンテ、データ駆動のインフォグラフィックのような高度な出力に適します。ChatGPT の有料ユーザーに提供。1 つのプロンプトから最大 8 枚の一貫した画像生成を強化します。
Editing and Fidelity: 画像編集でのディテール保持が強化され、画像間の編集でも高忠実度で入力を扱います。
Image 1: person in a room.Image 2: dog reference.Place the dog from Image 2 next to the person in Image 1.Keep the room, camera angle, and lighting unchanged.Match scale, perspective, and shadow.
Add this exact text, verbatim:"Fresh and clean"Typography: bold sans-serif, centered, high contrast, clean kerning.No extra characters, no second instance of the text.
カスタム base URL を指定して、標準の OpenAI Python SDK(もしくは互換クライアント)を使用します:
from openai import OpenAI
client = OpenAI(
api_key="YOUR_COMETAPI_KEY",
base_url="https://api.cometapi.com/v1"
)
response = client.images.generate(
model="gpt-image-2", # or specific snapshot
prompt="Your detailed prompt here",
size="1792x1024", # flexible resolution
quality="high",
n=1 # number of images
)
print(response.data[0].url) # or b64_json for direct data
Scene: Clean white studio background with subtle gradient. Subject: Modern wireless earbuds in matte black and silver, floating dynamically. Details: High-end product photography, reflective surfaces, precise shadows. Text: Headline "Experience Crystal Clear Sound" in bold sans-serif, subhead "$129 - Limited Offer" in smaller font. Style: Photorealistic, commercial product shot, 16:9 aspect ratio. Constraints: No people, exact text only, high resolution for web use.
2. UI/UX Mockups and App Screenshots
Use Case: モバイル/ウェブ UI の迅速なプロトタイピング。
Example Prompt:
Create a high-fidelity iOS app screenshot for a fitness tracking app. Screen: Dark mode dashboard showing steps: 12,458, heart rate 72 bpm, calories 487. UI Elements: Bottom navigation bar with icons labeled "Home", "Stats", "Profile". Text: All labels in SF Pro font, exact numbers as specified. Style: Realistic smartphone frame, subtle bevel, clean modern design. Resolution: 1170x2532 (iPhone-like).
3. Infographics and Data Visuals
Use Case: 正確な統計を含むプロフェッショナルなレポートやプレゼン用ビジュアル。
Example Prompt (with Thinking for data verification):
Thinking: Plan a clean infographic on AI adoption rates 2025-2026. Generate an infographic: Title "AI Growth Statistics 2026". Sections with icons and bars: "Enterprises using AI: 78%", source labels. Color palette: Blues and greens, modern flat design with subtle gradients. Exact text and numbers only. High readability at 2K resolution.
4. Manga/Comic Pages or Storyboards
Use Case: コマをまたいで一貫したキャラクター表現。
Example Prompt:
Generate a 4-panel manga page in black-and-white ink style. Consistent character: Young female detective with short black hair, trench coat. Panel 1: Close-up surprised expression, speech bubble "The clue was right here!". Panel 2-4: [describe actions sequentially]. Maintain exact character design across all panels, Japanese manga style, speech bubbles with exact text.