Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 765 Bytes

File metadata and controls

35 lines (22 loc) · 765 Bytes

ElevenLabs Music Playground (Next.js)

Enter a prompt, generate a music track with the ElevenLabs Music API, and play it back in the browser.

Setup

  1. Copy the environment file and add your API key:

    cp .env.example .env

    Then edit .env and paste your ElevenLabs API key.

  2. Install dependencies:

    pnpm install

The Music API is currently available to paid ElevenLabs users.

Run

pnpm run dev

Open http://localhost:3000 in your browser.

Usage

  • Enter the kind of music track you want to generate.
  • Click Generate music.
  • Wait for the request to finish, then play or download the generated track from the page.