Antrol AI

Create your own icons with AI.

·2 min read

Antrol AI generates icons with AI in seconds. Pick a style and colors, describe the idea, and download the result. I built it alone to learn the whole life of a SaaS, from the idea to a self-hosted deploy.

My first SaaS project, with 0 users haha.

Antrol AI

The challenge

Image generators can make icons, but most people don't know how to write a prompt that gives a clean, consistent result. And I had never shipped a paid product end to end, with payments, storage and my own hosting.

The solution

A minimal app with a guided flow instead of a blank prompt. Choose a style and colors, describe the icon, and the app writes the prompt, generates the image and keeps it in your collection.

Features

  • Guided generation

    Pick a style and colors, and the app writes a better prompt for you.

  • Colors that fit

    Choose exact colors for each icon with a color picker.

  • Gallery and collections

    Browse public icons and keep your own in collections.

  • Credits

    Buy credits with Stripe and spend them on each generation.

  • Nine languages

    English, Portuguese, Spanish, Chinese, Japanese and more.

  • Self-hosted

    Runs on my own server, with a CDN to keep the site fast.

/projects/antrol-ai/a.webp-image-0/projects/antrol-ai/b.webp-image-1/projects/antrol-ai/c.webp-image-2/projects/antrol-ai/d.webp-image-3

Stack

  • App: Next.js 14 with the App Router and Server Actions, React, TypeScript, Zod, React Hook Form.
  • AI: OpenAI DALL-E 3, with Sharp and Pica to resize the generated images.
  • Data and auth: Postgres with Prisma, and Auth.js with the Prisma adapter.
  • Payments and storage: Stripe for credits, and S3 for the generated icons.
  • Interface: Tailwind, Radix, Framer Motion, and next-international for nine languages.
  • Infrastructure: self-hosted on my own server behind a CDN, with Sentry and PostHog.