Every prompt from Chapter 5 of Talking to AI — Second Edition. Tap Copy on any prompt and paste it into your AI tool of choice. 8 prompts from this chapter.
Image Generation Prompt
A fluffy orange tabby cat sitting on a sunlit windowsill, soft morning light streaming through sheer curtains, shallow depth of field, warm tones, cozy indoor atmosphere, shot on 85mm lens, photorealistic.
The Image Generation Prompt Template
Purpose: Generate high-quality images from any AI image tool
[Subject with specific details: who/what, appearance, action, expression], [Medium: photography/oil painting/watercolor/digital illustration/3D render], [Style: photorealistic/impressionist/minimalist/cyberpunk/art nouveau], [Lighting: golden hour/studio/dramatic side light/soft natural/neon], [Composition: close-up/wide shot/bird's eye/rule of thirds/centered], [Mood: serene/dramatic/mysterious/warm/energetic]
Variables you can change
- Subject: Be as specific as possible about appearance and action
- Medium: Changes the entire visual approach
- Style: Reference specific art movements or artists
- Lighting: The single most impactful visual element after subject
- Composition: How the viewer sees the scene
- Mood: The emotional feel you want
- For Midjourney: add parameters like –ar 16:9 –stylize 100
- For Stable Diffusion: add negative prompt for quality control
- For Flux: keep it natural language, 12 to 25 words, no negatives
Code Generation Prompt: Email Validator
Write a Python 3.12 function called validate_email that takes a string and returns True if it is a valid email address. Use the email-validator library. Handle the case where the library is not installed by raising an ImportError with a helpful message. Include type hints.
The Code Generation Prompt Template
Purpose: Get high-quality, production-ready code from any AI coding tool
You are a senior [language] developer working on a [type of project]. Context: [Describe the project, its architecture, and relevant existing code] Task: [Describe exactly what you need built or fixed] Requirements: Language/Framework: [specific versions] Input: [what the code receives] Output: [what the code should return or produce] Error handling: [how errors should be managed] Style: [naming conventions, patterns, comment preferences] Constraints: [performance requirements, dependencies to use or avoid, compatibility needs]
Variables you can change
- Language: Python, JavaScript, TypeScript, Java, Go, Rust, etc.
- Project type: web app, API, mobile app, data pipeline, CLI tool
- Architecture: microservices, monolith, serverless, event-driven
- Style: camelCase vs snake_case, functional vs OOP, verbose vs concise
- Error handling: try/catch, Result types, error codes, custom exceptions
Multimodal: Living Room Redesign
Look at this photo of my living room. The couch is against the window and the bookshelf blocks the hallway. Suggest three alternative furniture arrangements that improve flow and maximize natural light.
Multimodal: Biology Diagram Explanation
Explain this diagram to me step by step. I understand the first part about cell division but I get lost at the meiosis stage.
Video Generation Prompt
Sweeping drone shot of a lone astronaut planting a flag on a dusty asteroid, rings of a gas giant visible in the sky, 70mm cinematic look with chiaroscuro lighting.
Music Generation Prompt
Lo-fi indie-pop, 88 to 95 BPM, acoustic guitar fingerpicking, intimate vocal, warm tape saturation.