LearnAI
Module 6 · AI for pictures (Pro) · Lesson 1/4
← Back to catalog
Task

Anatomy of a prompt for a picture

Collect a detailed image prompt in parts. Return JSON {"subject": "...", "style": "...", "lighting": "...", "composition": "...", "full_prompt": "..."}.

Unlock access to submit solutions for instant AI review.Start for free
Image generation (Midjourney, DALL·E)
💡 A bit of theory

A strong prompt for a picture = subject + style + lighting + composition. Break down the idea into these parts - the generator will understand you more accurately than from a simple “cat at the laptop.”

How it's graded · passing score 70

  • 1Valid JSON without text around it30%
  • 2There are subject, style, lighting, composition, full_prompt40%
  • 3The parts are meaningful, full_prompt unites them30%
Your promptClaude ⌄