Official ACE-Step 1.5 models WebGPU Native

ACE-Step v1.5 WebGPU

AI music generation, directly in your browser.

A TypeScript package that brings ACE-Step 1.5 to browser apps. Turn prompts and lyrics into 48 kHz stereo music, transform existing audio, and build your own music workflows. Model inference runs locally on your GPU through WebGPU.

Generate and edit music

Create tracks from text and lyrics, cover existing audio, or repaint a selected region. Base models also support stem extraction and completion.

Run models in the browser

Load official Hugging Face checkpoints directly. TypeScript coordinates text conditioning, diffusion sampling, and audio decoding on your GPU with WebGPU.

Build with TypeScript

Install the package and call its inference APIs from your app. Choose Turbo, SFT, or Base models, with optional language-model planning and inference adapters.

System requirements

Browser

WebGPU support

Use a WebGPU-capable browser with hardware acceleration enabled. Serve your app over HTTPS or localhost.

2B models · Turbo, Base, SFT

4 GB VRAM minimum

Start with short clips. Leave the optional language model unloaded on smaller GPUs.

XL models · 4B

12 GB VRAM minimum

DiT weights load one layer at a time and are released automatically after use.

Longer tracks, larger batches, and optional language models need more memory. These minimums are planning guidance; actual memory use depends on your settings and browser. Upstream GPU guide ↗

Model checkpoints download on first use and can be several gigabytes. The adapter check below verifies WebGPU features and buffer limits; it cannot measure available VRAM.

Use the engine in your app

Full documentation ↗

Install the package, request a WebGPU device, and generate your first track. Use the guides below to build generation and audio editing into your application.

Quick start: generate and play a track

Add an <audio id="player" controls></audio> to your page. Call await generateTrack(player) from your Generate button and retain the returned cleanup function. Call it when replacing the track or removing the player.

TypeScript

            
          

Try the interactive demo

Choose a model, explore its methods, and copy the TypeScript code into your app. Leave a field empty to use the default shown in its placeholder.

⚡

WebGPU Adapter Status

Probing GPU…

Inspecting WebGPU capabilities and hardware limits…

View WebGPU Hardware Limits
⚙️

AceStepWebGpu.create

48 kHz Stereo • DiT 24-Layer
No engine yet: the first call creates one.
engine.capabilities
💾
Local Model Cache: Enabled 0 B on disk
Saves model metadata and downloaded weights to disk (CachedModelSource).
engine.loadLm() — 5 Hz LM not loaded

With an LM loaded, generate plan the song first (thinking), and the 5 Hz LM methods run.

engine.addLora() — LoRA / LoKr adapters none loaded
🎵

Methods

Upstream suggested steps: Turbo 8, Base 50, SFT 50 (including XL). Upstream step guide ↗
The call this runs