# Build AI Apps with GPT-5 (with one prompt)
<!--
ref: @content/youtube/sirio-berati/build-ai-apps-with-gpt-5-with-one-prompt
tags: [GPT-5, vibe coding, Cursor, OpenAI API, Netlify, web apps, menu analysis, text-to-speech]
version: 2
updated_at: 2026-11-24T06:09:31.347Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=V_LQnT6cWvs)**

# Build AI Apps with GPT-5 (with one prompt)

*Synthesized from Sirio on sirio-berati, 2025-08-14.*

Sirio presents this solo tutorial, building a restaurant-menu analyzer that runs in the browser. The video moves from a ChatGPT-generated prototype to a locally run and then deployed version.

## Core Thesis
Sirio argues that GPT-5 can produce a first-pass app from one descriptive prompt, but the prototype in ChatGPT's sandbox is a mock. Making it work takes a second step: download the project, open it in an AI coding editor (Cursor), supply an OpenAI API key, and fix the failures. He then deploys the result to Netlify so it runs on a phone.

## Key Insights
- **Prompt rewrite first.** He asks ChatGPT to rewrite his idea as a better prompt for an app-building agent, then appends "please build it in the canvas" so the sandbox produces a runnable demo rather than instructions.
- **The sandbox is a mock.** Camera and upload features do not work in the generated demo, so the project is downloaded and finished in Cursor's agent mode.
- **Feature set.** A photo of a menu is analyzed by GPT-5 for healthiest options, estimated calories, macronutrients, total bill, and a spoken explanation from OpenAI text-to-speech. A hunger-level setting changes the calorie target.
- **API key handling.** The key goes into a saved environment file and is wired into the image-analysis request. An error on "analyze" was the missing key.
- **Large images time out.** He advises a small image file, because large uploads time out; analysis takes about one to two minutes.
- **Deployment.** The Netlify CLI deploys the project to a public URL in one command, after selecting a team and naming the project.
- **Caution.** He admits he accepted Cursor's file edits without reading them, and says non-coders cannot know what generated code does.

## Actionable Takeaways
1. Ask the chat model for a rewritten, structured prompt, then add an explicit instruction to build a runnable artifact.
2. Download the generated project and finish it in a coding agent with file access, since sandbox previews lack camera, upload and dependency support.
3. Store the OpenAI key in an environment file and reference it from the request code, not from the front end.
4. Resize menu photos before analysis to avoid request timeouts.
5. Review the agent's file changes before accepting them, especially for non-coders.

## Notable Quotes
> "Once everything is done, I'll ask cursor to run the server continuously." — Sirio

> "Give me the links to your projects right in the comments." — Sirio

---

*Related: `@content/youtube/yifan-bth/getting-cursor-ai-to-review-its-own-code` · `@content/youtube/yifan-bth/unlocking-cursor-ai-top-8-hidden-features` · `@content/youtube/yifan-bth/how-i-use-ai-git-to-code-3x-faster-real-dev-workflow-with-cursor` · `@content/youtube/yifan-bth/5x-your-cursor-ai-coding-quality-with-these-pro-tips` · `@content/youtube/yifan-bth/the-ultimate-prototyping-workflow-cursor-ai-replit`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*