Generating Images and Icons for Your App with AI
Generated images can make a small app look finished, or make it look like a collage. The difference is a style sentence, a few icon rules and sensible file sizes.

Key takeaways
- Write one style sentence (medium, palette, mood, detail level) and reuse it for every image so the set looks designed, not collected.
- An app icon should be one simple shape on a plain background, readable at the size of a fingernail, with no words.
- Images the agent makes while building are part of your app; images your users create while using the app need an AI feature in the app itself.
You can generate app icons, illustrations, backgrounds and other artwork with AI by describing what you need and a consistent style for it. On Startbase, the agent designs an app icon when it creates a new app, and generates images on request (hero illustrations, empty-state art, backgrounds, logos), then puts them to use in the project. The hard part is not getting one good image. It is getting ten that look like they belong together.
Where generated images earn their place
Not every screen needs artwork. Images do the most work in a few specific places:
- The app icon. The single most-seen image of your product, on home screens, browser tabs and link previews.
- Empty states. A small illustration on a screen with no data yet makes the moment feel intended rather than broken.
- Onboarding and landing pages. A hero image sets the mood in one glance.
- Category or section art. Cards for recipe types, course topics or game modes are easier to scan with a picture.
- Game art. Characters, backgrounds and items. For games, generated art is often the whole visual identity.
Places they usually do not help: decorating every card with a stock-like photo, backgrounds behind text that hurt readability, and anything that should be real (photos of your actual products, your team, your venue). Real photos of real things build more trust than generated ones.
The style sentence: one line that keeps a set consistent
Generated images look random when every request describes the style differently. Fix that with one style sentence covering four things: the medium (flat vector, watercolor, 3D clay, pixel art, ink line), the palette (ideally your app's colors), the mood, and the level of detail. Then repeat it in every image request, or put it in project knowledge so the agent applies it automatically.
Style for all app illustrations: flat vector with soft grain, rounded shapes, limited palette of warm off-white, deep green #2F6B4F and terracotta #C9643B, friendly and calm, simple scenes with one subject and lots of empty space, no text in images. Now generate an empty-state illustration for the Saved plants screen (a single potted fern on a windowsill) and an onboarding hero (a person watering a row of plants on a balcony), and use them on those screens.
App icons: rules that survive small sizes
An icon is seen at tiny sizes, next to dozens of other icons. The rules follow from that:
- 01One idea, one shape. A leaf, a speech bubble, a stylized letter. Not a scene.
- 02No words. Text is unreadable at icon size. A single letter can work if it is the shape.
- 03Strong contrast. A bold shape on a plain or simple gradient background. Test it at the size of a fingernail.
- 04Distinct from neighbors. Look at the icons of apps in your category and choose a color and shape that stand apart. Game icons follow the same rules; see how to name your game and design its icon.
- 05Consistent with the app. Use the app's accent color so the icon and the interface feel related.
On Startbase, the agent designs the icon when it creates a new app and wires it into the project. You can ask it to replace the icon whenever you like: “Make the app icon a single white leaf on the deep green accent, flat, no gradients.”
Reviewing a generated image before it ships
Generated images can carry small errors that are easy to miss in a thumbnail and obvious at full size. Before keeping one, open it large and check:
- Hands, faces and text. Extra fingers, warped faces and garbled letters are the classic giveaways. Simple scenes with no text avoid most of them.
- Style drift. Put the new image next to the others on the same screen. If it looks like it came from a different app, regenerate with the style sentence.
- Crop at every size. A hero image that looks great on desktop may lose its subject when cropped for phones. Check the Phone view.
- Meaning. Does the image say the right thing? A celebratory illustration on an error screen feels wrong, however nice it looks.
File formats, sizes and alt text
Generated images are often large. Large images slow pages down, especially on phones. Practical defaults:
- Use WebP for illustrations and photos, and SVG for simple icons and logos when possible.
- Keep most images under about 200 KB. Hero images can be larger, but compress them.
- Give every image width and height so the page does not jump while it loads.
- Write descriptive alt text for images that carry meaning, so screen readers and search engines understand them.
Static images belong in your project's public folder. Images your users upload belong in file storage (Backend, Storage, when Startbase Cloud is on). The docs page on working with images covers both.
Build-time images versus images your users create
There are two very different things people mean by “AI images in my app”:
- Images made while you build. Icons, illustrations and backgrounds the agent generates and saves into the project. Every visitor sees the same files. These use Build credits on Startbase.
- Images your users generate while using the app. An avatar maker, a product mockup tool, a story illustrator. This is an AI feature inside your app. Startbase Cloud includes an App AI gateway with a generateImage helper, so your app can generate images without its own API key once the gateway is enabled.
The second kind needs product thinking: limits per user, what happens while an image is generating, and moderation of what people ask for. Our guide to adding AI features to your app covers that side.
A note on game art
Games lean on generated art more than apps do, and consistency matters even more because characters appear in many poses. The same style sentence approach works. For Startbase games, the Assets tab lets you browse the game's images, audio and 3D models, and in the World Editor, Make one creates a model from a sentence: a textured 3D model at real size in a 3D game, or a sprite in the game's art style in a 2D game. Sound is covered separately in generating sound effects and music with AI.
Rights and judgment
Do not ask for images in the style of a named living artist, or containing other companies' logos, characters or trademarks. Beyond the legal risk, it makes your product look derivative. If your business depends on exclusive rights to its artwork (a children's book brand, a mascot you will trademark), read the terms of the generation tools involved and consider commissioning an illustrator for the core character.
Frequently asked questions
Can AI make my app icon?
Yes. On Startbase the agent designs an icon when it creates a new app, and replaces it whenever you ask. Keep the request simple: one shape, your accent color, no text, readable at small sizes.
How do I keep AI-generated images consistent?
Use one style sentence for every image, covering medium, palette, mood and detail level, and put it in project knowledge. For recurring characters, describe them in exactly the same words every time, and reuse existing images where you can.
Do generated images cost extra?
On Startbase, images, app icons and audio the agent generates use Build credits, the same balance as other agent work. There is no separate creative-credit balance.

