Back to Module 2
Module 2Free2 hours

Get Started: AI Image Generation

Choose your path based on your experience level.

New to Claude Code? Install it first (5 min)

Prerequisite: OpenAI API Key

This module requires an OpenAI API key to generate images. You only pay for images you create (~$0.04 each).

  1. Go to platform.openai.com/api-keys
  2. Create a new API key
  3. Add $5 of credit (this covers 100+ images)
  4. Set it in your terminal: export OPENAI_API_KEY="sk-..."
1

Download the Course

2 min

Pick one of three options — they all do the same thing:

Option A: Ask Claude to do it (Easiest)

Open Claude Code in the folder where you want the course, and paste:

Download the AI Image Generation Course. Clone https://github.com/anmolgupta824/ai-native-pm.git

Claude will clone the repo for you.

Option B: Git clone (Terminal)

git clone https://github.com/anmolgupta824/ai-native-pm.git

Option C: Download ZIP (No terminal needed)

  1. Go to github.com/anmolgupta824/ai-native-pm
  2. Click the green "Code" button → "Download ZIP"
  3. Unzip the downloaded file
2

Open Claude Code

1 min

Open Claude Code in the module folder:

cd ai-native-pm/modules/module-2-image-gen && claude

First-time note: You'll see a prompt "New MCP server found in .mcp.json: image-gen-teacher-mode" — pick option 1 ("Use this and all future MCP servers in this project"). This is a one-time security check.

3

Start Your First Lesson

10 min

Once Claude Code is open, just say:

Start the course

The Teacher Mode will:

1

Introduce what DALL-E is and why PMs need image generation

2

Walk you through OpenAI API key setup

3

Teach prompt engineering with real-world examples

4

Give you hands-on exercises generating actual images

5

Quiz you to reinforce your understanding

6

Track your progress across all 6 lessons

4

Continue Through the Course

Work through all 6 lessons at your own pace:

1

Welcome & Setup

10 min
2

Prompt Fundamentals

20 min
3

Product Mockups & Wireframes

20 min
4

Presentation & Pitch Visuals

15 min
5

Social Media & Marketing Assets

15 min
6

Advanced Techniques & Workflows

20 min

Tips for Success

  • Start with Lesson 1 even if you have used DALL-E before — it sets up the PM-specific workflow.
  • Do the exercises! Generating actual images is where learning sticks.
  • Have a real product or feature in mind. The lessons work best with real examples.
  • Budget about $1-2 in OpenAI credits for the full course. Most exercises cost $0.04-0.08 each.

Troubleshooting

"command not found: claude"

Claude Code isn't installed. Go to Module 0 to install it.

"OPENAI_API_KEY not set"

Set your API key: export OPENAI_API_KEY="sk-..." in your terminal. Get a key at platform.openai.com/api-keys.

Claude doesn't seem to know the curriculum

Make sure you opened Claude Code inside the modules/module-2-image-gen folder. The CLAUDE.md file must be in your working directory.

Lessons feel too fast

Use the explain_concept tool to dive deeper into any topic. Ask Claude to explain in more detail.

Exercises cost too much

Set generateImages: false to preview prompts without generating. Only generate the ones you want (~$0.04 each).

Time Breakdown

2 min

Download

1 min

Open

10 min

Lesson 1

2 hrs

Full Course