Skip to main content

Chapter 2: Image Generation (DALL-E, Midjourney)

AI That Creates Pictures​

Imagine describing a picture in words, and seconds later, seeing that exact picture. That's what image generation AI does!


What Is Image Generation AI?​

Image generation AI creates pictures from text descriptions. You type what you want to see, and the AI draws it.

Example:

You type: "A golden retriever wearing a space suit on the moon"

AI creates: An image of exactly that!

This image never existed before - the AI created it just for you.


The Major Image AI Tools​

1. DALL-E (by OpenAI)​

What it is: OpenAI's image generation tool, integrated with ChatGPT Plus.

Best for:

  • Quick image generation
  • Realistic images
  • Integration with ChatGPT
  • Editing existing images

How to access: Through ChatGPT Plus ($20/month) or the API

Strengths:

  • Easy to use
  • Good at following instructions
  • Can edit parts of images
  • Understands complex requests

2. Midjourney​

What it is: A popular AI art generator known for beautiful, artistic images.

Best for:

  • Artistic and creative images
  • High-quality visuals
  • Fantasy and concept art
  • Professional-looking results

How to access: Through Discord (a chat app)

Strengths:

  • Stunning artistic quality
  • Great for creative projects
  • Active community
  • Many style options

Note: Requires a Discord account and basic subscription ($10/month minimum)


3. Stable Diffusion​

What it is: Open-source image generation that anyone can use and modify.

Best for:

  • Technical users
  • Custom implementations
  • Running on your own computer
  • Complete control over the AI

How to access: Can be run locally or through various websites

Strengths:

  • Free and open-source
  • Can run without internet
  • Highly customizable
  • No usage limits (on your own computer)

Comparing Image AI Tools​

FeatureDALL-EMidjourneyStable Diffusion
Ease of useEasiestMediumMost complex
QualityHighHighestVariable
CostChatGPT Plus ($20)From $10/monthFree (if local)
Best forGeneral useArtistic workTechnical users
StyleRealisticArtisticFlexible

How to Describe What You Want​

The text description you give to the AI is called a "prompt." Better prompts = better images!

Basic Prompt Structure​

Subject + Style + Details

Examples​

Bad prompt:

"A cat"

Better prompt:

"A fluffy orange cat sleeping on a cozy armchair, soft lighting, realistic photo"

Even better prompt:

"A fluffy orange Persian cat peacefully sleeping on a vintage green velvet armchair, warm afternoon sunlight streaming through a window, cozy living room, realistic photography style"


What Can You Create?​

Art and Illustration​

  • Book covers
  • Digital art
  • Concept art
  • Character designs

Business and Marketing​

  • Social media graphics
  • Product mockups
  • Presentation visuals
  • Logo concepts (with editing)

Personal Projects​

  • Unique profile pictures
  • Custom wallpapers
  • Creative gifts
  • Visualization of ideas

Design and Prototyping​

  • Interior design concepts
  • Fashion designs
  • Architecture visualization
  • Product concepts

Image AI Limitations​

What Image AI Struggles With
  • Text in images - Often creates gibberish letters
  • Hands and fingers - May look wrong (though improving!)
  • Specific people - Cannot reliably create famous faces
  • Exact replicas - Cannot copy a specific photo exactly
  • Counting objects - May not get the exact number right
  • Complex instructions - Too many details can confuse it

Practical Tips​

Getting Better Results​

  1. Be descriptive - More details = more accurate results
  2. Specify the style - "watercolor," "photorealistic," "anime style"
  3. Include lighting - "soft light," "dramatic shadows," "sunset"
  4. Mention composition - "close-up," "wide angle," "from above"

Example Improvements​

Instead of...Try...
"A dog""A golden retriever playing in a park, sunny day"
"A city""Tokyo at night, neon lights, rain-wet streets, cinematic"
"Food""Gourmet burger on a wooden board, restaurant lighting, food photography"

Important Considerations​

Using AI images:

  • ✅ Personal projects are generally fine
  • ⚠️ Commercial use may have restrictions
  • ⚠️ Check each platform's terms of service
  • ❌ Don't claim AI art is human-made

Creating certain content:

  • ❌ Real people without permission
  • ❌ Misleading or fake news images
  • ❌ Harmful or illegal content
  • ❌ Copyrighted characters (may be restricted)

Getting Started​

DALL-E (Easiest)​

  1. Subscribe to ChatGPT Plus ($20/month)
  2. Open ChatGPT
  3. Ask it to create an image
  4. Example: "Create an image of a cozy cabin in the woods during winter"

Midjourney​

  1. Create a Discord account
  2. Join the Midjourney Discord server
  3. Subscribe (from $10/month)
  4. Use the /imagine command with your description

Free Options​

  • Bing Image Creator (uses DALL-E, free)
  • Canva's AI image generator (limited free)
  • Leonardo.ai (free tier available)

Quick Check ✓​

  1. What are the three main image AI tools?
  2. Why does Midjourney require Discord?
  3. What does image AI struggle with?

Key Takeaways​

✅ DALL-E, Midjourney, and Stable Diffusion are the main image AIs

✅ You create images by describing them in text

✅ More detailed prompts = better results

✅ Image AI struggles with text and hands

✅ Consider copyright and ethics when using AI images


Next Up​

Let's explore AI for audio, video, and code!

👉 Chapter 3: Audio, Video, and Code Generation