Design a text-to-image generation service (like Midjourney / DALL·E) serving 2 million users who submit prompts and receive generated images.
The service should:
- •Accept a prompt (+ optional params: size, style, seed) and return images
- •Handle generations that take seconds to tens of seconds on GPUs
- •Show progress / queue position and deliver results when ready
- •Enforce safety (NSFW / disallowed content) on both prompt and output
What you'll be assessed on
GPU-bound async job processing, queueing & autoscaling, result delivery, cost under expensive hardware, and content safety.