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).
- Go to platform.openai.com/api-keys
- Create a new API key
- Add $5 of credit (this covers 100+ images)
- Set it in your terminal:
export OPENAI_API_KEY="sk-..."
Download the Course
2 minPick 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:
Claude will clone the repo for you.
Option B: Git clone (Terminal)
Option C: Download ZIP (No terminal needed)
- Go to github.com/anmolgupta824/ai-native-pm
- Click the green "Code" button → "Download ZIP"
- Unzip the downloaded file
Open Claude Code
1 minOpen Claude Code in the module folder:
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.
Start Your First Lesson
10 minOnce Claude Code is open, just say:
The Teacher Mode will:
Introduce what DALL-E is and why PMs need image generation
Walk you through OpenAI API key setup
Teach prompt engineering with real-world examples
Give you hands-on exercises generating actual images
Quiz you to reinforce your understanding
Track your progress across all 6 lessons
Continue Through the Course
Work through all 6 lessons at your own pace:
Welcome & Setup
10 minPrompt Fundamentals
20 minProduct Mockups & Wireframes
20 minPresentation & Pitch Visuals
15 minSocial Media & Marketing Assets
15 minAdvanced Techniques & Workflows
20 minTips 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