gpt-image-2-content-only-pattern.md 2.91 KB

GPT Image 2 Content-Only Pattern

Problem

GPT Image 2 hallucinates fictional content when generating infographics from structured data. It invents:

  • Fake dates (e.g., "1880")
  • Non-existent sections (e.g., "International News", "Editorial", "Advertisement")
  • Fictional quotes and testimonials
  • Market data that doesn't exist in source

Solution: CRITICAL RULES Section

Always prepend this to the prompt:

CRITICAL RULES:
- ONLY use the content provided below
- DO NOT add fictional sections like "1880", "International News", "Editorial", "Advertisement", "Testimony", "Market Briefing"
- ONLY include sections that have actual content
- Use the EXACT dates and titles provided - do not invent dates

Why This Works

GPT Image 2 is trained on general image generation patterns. When asked for a "newspaper", it defaults to typical newspaper sections (editorial, ads, international news) even if those don't exist in the source data. The CRITICAL RULES explicitly override this default behavior.

Full Prompt Template

Create a front-page Victorian newspaper poster.

CRITICAL RULES:
- ONLY use the content provided below
- DO NOT add fictional sections like "1880", "International News", "Editorial", "Advertisement", "Testimony", "Market Briefing"
- ONLY include sections that have actual content
- Use the EXACT dates and titles provided - do not invent dates

Style:
1880 Victorian newspaper
19th century financial times
The Economist cover
engraving illustration
woodcut etching
vintage printing press
old yellow paper
aged newspaper texture
ink engraving
black and white line art

Content (ONLY use this, do not add fictional content):

Masthead: "AI AGI 日报"
Date: "{actual_date}"
Headline: "{actual_headline}"

Hero Story:
Title: {actual_title}
Summary: {actual_summary}

News Articles:
{actual_news_items}

Key Quotes:
{actual_quotes}

Trend Analysis:
Title: {actual_trend_title}
Summary: {actual_trend_summary}

Layout:
- Large masthead "AI AGI 日报" on top
- Main headline in Chinese
- Hero story section with title and summary
- News articles in columns
- Key quotes section
- Trend analysis section

Main Illustration:
- Server rack shaking hands with printing press
- Engraving style
- US dollar bill engraving detail
- Woodcut illustration
- Centerpiece illustration

Mood:
Historical, authoritative, intellectual, industrial revolution

Color:
Sepia paper, black ink only

Aspect ratio: 1:1

Verification

After generation, verify the image contains ONLY:

  • ✅ Actual dates from source data
  • ✅ Actual article titles
  • ✅ Actual quotes from source
  • ✅ Actual trend analysis
  • ❌ NO "1880" or other invented dates
  • ❌ NO "International News" section
  • ❌ NO "Editorial" section
  • ❌ NO "Advertisement" section

User Feedback

User explicitly corrected: "不要自己乱写虚构内容" (don't make up fictional content). This pattern is now mandatory for all content-based infographic generation.