New: Complete Beginner's Guide to Coding is now available in Premium
Updated: Indian Govt Exam roadmaps now include salary breakdowns & timelines
Tip: Use the Career Hub to explore all career paths in one place
Prompt Examples

Examples of AI Prompts — With Real Outputs

The best way to learn prompt engineering is by seeing real examples. This page shows exactly what to type (input) and what AI produces (output) — so you understand what makes a good prompt vs a bad one.

Input Shown Output Shown Bad vs Good Why It Works

How to Read These Examples

Each example shows: the exact prompt (green box) → the AI output (blue box) → why it works (yellow box). Study the pattern — specific prompts produce specific results. For a full library of copy-paste prompts, see our AI Prompts List. For frameworks and techniques, see 80+ Prompt Samples.

Bad Prompt vs Good Prompt

❌ Bad Prompt

"Write about marketing"

→ Generic 500-word essay that helps no one

✅ Good Prompt

"Act as a digital marketing expert. Write 5 Instagram Reel ideas for a chai brand targeting college students in Delhi. Include hook, content, and CTA."

→ Specific, actionable, ready-to-use ideas

Example 1 — Writing Input + Output
PROMPT (What you type):
Act as a senior copywriter. Write a product description for wireless earbuds (₹1,999) targeting college students in India. Highlight: 30-hour battery, bass boost, IPX5 waterproof. Tone: casual and energetic. Max 80 words.
AI OUTPUT (What you get):
🎧 Your lectures just got a soundtrack upgrade. These wireless earbuds deliver 30 hours of non-stop bass that hits different — whether you're grinding at the library or sweating at the gym (IPX5 waterproof, bring on the rain). One charge lasts your entire week. No more "low battery" anxiety between classes. At ₹1,999, this is the upgrade your playlist has been waiting for.
💡 Why this works: Specific audience (college students), clear constraints (80 words, casual tone), and product details give AI everything it needs to produce targeted copy.
Example 2 — SEO Input + Output
PROMPT (What you type):
Generate 5 SEO meta titles for a page about "best laptops under 50000 in India 2026". Rules: under 60 characters, include keyword in first 3 words, use numbers or power words.
AI OUTPUT (What you get):
1. Best Laptops Under 50000 — Top 10 Picks India 2026 2. Best Laptops Under ₹50K: 8 Tested & Ranked (2026) 3. Best Laptops Under 50000 for Students & Work 2026 4. Best Laptops Under 50000 — Expert Reviews India 5. Best Laptops Under ₹50,000: Complete Buying Guide
💡 Why this works: Clear rules (character limit, keyword position, power words) produce titles that are both SEO-optimized and click-worthy.
Example 3 — Coding Input + Output
PROMPT (What you type):
Write a Python function that takes a list of student dictionaries (name, marks) and returns: top scorer, average marks, and students who failed (marks < 40). Include type hints and docstring.
AI OUTPUT (What you get):
def analyze_students(students: list[dict]) -> dict: """Analyze student performance. Returns top scorer, average, and failed students.""" if not students: return {"top": None, "average": 0, "failed": []} top = max(students, key=lambda s: s["marks"]) avg = sum(s["marks"] for s in students) / len(students) failed = [s["name"] for s in students if s["marks"] < 40] return {"top": top["name"], "average": round(avg, 1), "failed": failed}
💡 Why this works: Specifying input format (list of dicts), expected output, and code quality requirements (type hints, docstring) produces production-ready code.
Example 4 — Business Input + Output
PROMPT (What you type):
Create a SWOT analysis for a new cloud kitchen starting in Bangalore in 2026. Format as 4 sections with 4 bullet points each.
AI OUTPUT (What you get):
STRENGTHS: • Low overhead — no dine-in space needed • Bangalore has 1Cr+ professionals ordering daily • Test multiple cuisines without separate restaurants • Data-driven menu via delivery app analytics WEAKNESSES: • 30% commission to Zomato/Swiggy • No brand visibility (customers see app, not you) • Quality control harder without direct feedback • 5000+ cloud kitchens = high competition OPPORTUNITIES: • Health food niche growing 40% YoY • Corporate meal subscriptions (B2B) • Own app for direct orders (save commission) • Multi-location expansion with same brand THREATS: • Aggregator policy changes kill margins • FSSAI regulations tightening • Established brands entering cloud kitchens • Rising ingredient costs (inflation)
💡 Why this works: Specific business type, location, year, and format request produces a genuinely useful strategic analysis — not generic advice.
Example 5 — Education Input + Output
PROMPT (What you type):
Explain photosynthesis to a Class 7 student using a pizza-making analogy. Under 100 words. End with a fun fact.
AI OUTPUT (What you get):
Imagine a plant is a pizza chef! ☀️ Sunlight is the oven, 💧 water is the dough, and CO₂ from air is the topping. The plant's leaves (kitchen) combine these ingredients to make glucose (the pizza!) — which is the plant's food. Oxygen is released as the "steam" from cooking. Just like a chef needs all ingredients + an oven, plants need sunlight + water + CO₂ to make food. 🍕 Fun fact: One large tree produces enough oxygen for 4 people to breathe for a year!
💡 Why this works: Specifying student level, analogy type, word limit, and format (end with fun fact) produces engaging, age-appropriate educational content.
Example 6 — Email Input + Output
PROMPT (What you type):
Write a follow-up email to a client who hasn't responded in 5 days about a ₹2.5 lakh website redesign proposal. Professional but not pushy. Under 80 words. Include soft deadline.
AI OUTPUT (What you get):
Subject: Quick check-in — Website Redesign Proposal Hi [Name], Hope you're doing well! Just checking if you had a chance to review the redesign proposal I sent last Tuesday. I'd love to answer any questions or adjust the scope if needed. Since our design team's calendar fills up quickly for June, it would be great to confirm by Friday so we can lock in your timeline. No pressure — happy to chat whenever works. Best, [Your Name]
💡 Why this works: Context (5 days, ₹2.5L), tone (not pushy), word limit, and soft deadline produce a perfectly balanced professional follow-up.
5 Rules

1. Be specific — details = better output

2. Set constraints — word limit, tone, format

3. Give context — who, what, why

4. Show examples — AI follows patterns

5. Iterate — refine the output

Keywords
examples of ai prompts prompt examples chatgpt output prompt engineering ai before after good vs bad prompts

Complete Prompt Engineering Toolkit

You've seen how good prompts produce great results. Now build your own prompt library: our AI Prompts List gives you 50+ ready-to-copy templates across 7 categories — just replace the brackets and paste. For advanced techniques like RACE framework, Chain of Thought, and Few-Shot Learning — plus 80+ detailed prompts with pro tips — explore our comprehensive AI Prompt Samples guide. These three pages together cover everything from beginner to expert-level prompt engineering for ChatGPT, Gemini, and Claude in 2026.