What you'll learn in this article

  • What "building an app with AI" actually means
  • The prompt for building the AI TV Audio Guide

Tell the AI what kind of app you want — in as much detail as possible

I'll take a careful look at which AI tool to use in the next installment. Before that, let's look at what kind of instructions you need to give an AI in order to get an app. Even if you already ask questions on ChatGPT and the like every day, "instructions for building an app" are quite different from a one-off question, so please read all the way through.

Picture yourself using the app

How would the app you want actually be used? Try to picture a concrete scenario in your head.

Imagine your ideal way of using the app in as much detail as you can
Imagine your ideal way of using the app in as much detail as you can

That's exactly how I worked out the specifications for this app — by imagining it in use. From there, it's just a matter of turning that picture into written instructions. Do your best to describe it, and if you're not confident in your writing, you can even have the AI polish the text itself. The more detail you provide, the less work you'll have to do later.

Here's an example.

I'd like you to build an iPhone app. When I point my phone's camera at a TV screen, it should give a short spoken description of the scene showing on the screen, so that a person with a visual impairment can understand what's going on. The app is called "Scene Narrator."
First, the user taps a large button to start recording video. Until the phone is properly aimed at the TV screen, guide the user by voice on how to adjust it (for example, "Please tilt it up a little"). Once the position is right, say "Please hold it there," and then start describing the scenes.
Keep the scene descriptions as short as possible. Describe a scene when the setting changes significantly. For example, if a conversation continues in the same room, stay quiet even if the camera cuts between shots. But when the setting changes substantially — say, to a shopping mall — give a spoken description.
Also, this app will be installed on my own iPhone and used both at home and on TVs when I'm out.
Since it will be used by people with visual impairments, please make recognition errors as unlikely as possible.

I started building the AI TV Audio Guide from roughly that level of prompt myself. For an app with simple features, that much explanation is enough — you can finish the rest through back-and-forth with the AI.

That said, for this audio guide app specifically, I wouldn't recommend starting from there unless you have engineering experience. Here's why:

  • It's hard to answer the AI's questions about how to incorporate an image recognition service
  • It's hard to give good instructions for the framing/alignment process
  • It's hard to fine-tune the timing of scene detection
  • …and so on

The single most important skill in developing an app with AI is the "conversation skill" of giving the AI instructions for improvements and fixes. To help you build that conversation skill first, I'm sharing a prompt that produces a nearly finished app in one shot (what people call a "one-shot" prompt). Copy and paste it as-is and generate your first version. I'll explain exactly how to do that in the next installment.