{
  "title": "Header Image Generation",
  "video_id": "_KkSB7rl21E",
  "published": "2023-10-15T14:06:23+0000",
  "complexity": "Normal",
  "old_url": "https://workflows-of-ai.com/workflow/header-image-generation",
  "description": "Generate a header image for a Drupal article: OpenAI writes an image description from the text and DreamStudio creates the picture.",
  "subtitle": "Have OpenAI describe an image for each article and DreamStudio paint it, so every post gets a header image.",
  "summary": "A plain text field uses OpenAI to write a one-sentence visual description of the article, since the full text would not fit a Stable Diffusion prompt. An image field then sends that description to DreamStudio with a realistic style and short depth of field. The example turns a pound cake recipe into a food photo.",
  "categories": [
    "Drupal AI"
  ],
  "intro_html": "<p>An article's transformation into a visual representation begins with utilizing the AI Interpolator OpenAI module. The text of the article is fed into this module, and OpenAI's algorithms analyze it to create a comprehensive image description. This description encapsulates the core themes and elements of the article, providing a detailed visualization prompt.</p><p>This image description is then used as a prompt for the AI Interpolator DreamStudio module. DreamStudio takes the detailed description and, leveraging its image generation capabilities, creates a visual representation that aligns with the themes and content of the article. The generated image serves as a visually appealing and relevant header, enhancing the article's presentation and engagement for readers.</p>",
  "intro_added": false,
  "chapters": [
    "0:00 Why generate header images",
    "1:43 Adding the image description field",
    "2:32 Writing the OpenAI prompt",
    "4:30 The DreamStudio image field",
    "5:32 The generated pound cake image"
  ],
  "corrections": [
    [
      "mid Journey",
      "Midjourney"
    ],
    [
      "stable diffusion",
      "Stable Diffusion"
    ],
    [
      "dream Studio",
      "DreamStudio"
    ],
    [
      "Dro ball",
      "Drupal"
    ],
    [
      "open AI",
      "OpenAI"
    ],
    [
      "dolly3",
      "DALL-E 3"
    ]
  ],
  "ai_note": "The video and the introduction are Marcus's own, first published on workflows-of-ai.com. AI wrote the subtitle, the summary and the video chapters from the transcript, and corrected misheard names in YouTube's automatic captions."
}