> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daydream.live/llms.txt
> Use this file to discover all available pages before exploring further.

# AI app generation

> Learn how to use AI tools to one-shot a StreamDiffusion-powered app

## Overview

This guide shows how to “one shot” an app using an AI coding assistant. You’ll copy a single set of instructions, open your preferred AI tool, and let it scaffold and wire everything up.

<Info>
  You’ll paste a single, comprehensive prompt. We’ve included quick‑launch links that prefill the prompt for tools that support it.
</Info>

## Prerequisites

* **AI tool account**: Claude, ChatGPT, Gemini, or another assistant.
* **Local dev environment**: Git, Node.js, and your editor of choice.
* **Daydream API key**: See [Authentication](/api/authentication) if your app will call the Daydream API.

## Steps

<Steps>
  <Step title="Select from the one of the examples below">
    Select from an example to get started.
  </Step>

  <Step title="Copy the one‑shot instructions">
    Copy the prompt below. Replace the placeholder for the API key.
  </Step>

  <Step title="Open your AI coding tool">
    Use the quick‑launch buttons below to open a new chat with the prompt prefilled (where supported) or paste it manually.
  </Step>

  <Step title="Run and iterate">
    Ask the assistant to execute the steps, generate files, run installs, and fix any issues. Approve tool actions if your assistant supports them.
  </Step>
</Steps>

## Select From the Examples Below

<Columns cols={2}>
  <Card title="Webcam StreamDiffusion" icon="link" href="/oneshot-examples/webcam-streamdiffusion">
    Webcam Livestream with StreamDiffusion
  </Card>

  <Card title="DrawCanvas" icon="link" href="/oneshot-examples/drawcanvas">
    DrawCanvas
  </Card>

  <Card title="FluidCanvas" icon="link" href="/oneshot-examples/fluidcanvas">
    FluidCanvas
  </Card>

  <Card title="Audio-Reactive" icon="link" href="/oneshot-examples/audio-reactive">
    Audio-Reactive
  </Card>
</Columns>
