A modern, dark-themed web interface for ACE-Step AI music generation.
- ๐จ Modern glassmorphism dark theme with purple accents
- ๐ฑ Fully responsive design
- ๐ต Music note logo with gradient
- ๐ Key icon for API settings
- ๐ GitHub link in header
- ๐ซ No blue tap/click highlights
- ๐ Custom styled scrollbars
- Sample Mode: AI generates caption, lyrics, and metadata from a simple description
- Manual Mode: Full control over all parameters
- Text-to-Music: Generate music from text descriptions
- Cover/Remix: Upload source audio and create covers or remixes
- Repaint: Regenerate specific time ranges within a track
6 visible + 8 more with "Show More" button:
- ๐ธ Funk Rock
- ๐ค Hip Hop (full song structure)
- ๐น Electronic
- ๐ค Heavy Metal
- โจ Synthpop
- โ Lo-Fi
- ๐ท Jazz
- ๐ค Country
- ๐ Dubstep
- ๐ฅ Drum & Bass
- ๐ป Phonk
- ๐ค Post-Punk
- ๐ป Symphonic Metal
- ๐ฎ Chiptune
- ๐พ Auto-saves generations to browser localStorage (up to 20)
- โฐ Timestamps for each generation
- ๐ Expandable caption and lyrics
- ๐๏ธ Delete individual generations
- ๐งน Clear All with confirmation modal (red "Yes" button)
- ๐ง Built-in audio player
- ๐ Auto-cleanup when storage quota exceeded
- Hover over โ icons for detailed explanations of each parameter
- Worker Mode (Rate Limited): Uses shared Cloudflare Worker - API key hidden from users
- Custom API Key: Users can enter their own ACE-Step API key
- Animated loading state on generate button
- Status text with progress messages
- Toast notifications for success/error
- Full Open Graph meta tags
- Twitter Card support
- Canonical URL
- 1200x630 OG image support
- PWA-ready meta tags
๐ https://drbaph.is-a.dev/Ace-Step-Web/
- Go to dash.cloudflare.com โ Workers & Pages
- Create a new worker named
ace-step - Paste the code from
worker/index.js - Add secret variable:
ACESTEP_API_KEYwith your API key - Deploy
- Push this repo to GitHub
- Go to Settings โ Pages
- Source: GitHub Actions
- (Optional) Add custom domain in Custom domain field
- The workflow auto-deploys on push to
main
For custom domain, add a CNAME file with your domain:
drbaph.is-a.dev
# Python
python -m http.server 8000
# Node.js
npx serveOpen http://localhost:8000
- Go to dash.cloudflare.com โ Workers & Pages
- Click "Create" โ "Create Worker"
- Name it
ace-stepand deploy - Click "Edit code" and paste contents of
worker/index.js - Go to Settings โ Variables โ Add
ACESTEP_API_KEYas Secret - Save and Deploy
cd worker
npm install -g wrangler
wrangler login
wrangler deploy
wrangler secret put ACESTEP_API_KEY- Select "Sample Mode"
- Describe the music (e.g., "a funk rock song with groovy bass")
- Choose vocal language
- Toggle "Instrumental Only" if needed
- Click "Generate Music"
- Select "Manual Mode"
- Write caption (music style description)
- Add lyrics with
[Verse],[Chorus]tags - Adjust BPM, key, duration (or let AI decide)
- Click "Generate Music"
- Select "Cover / Remix" task type
- Upload source audio
- Adjust:
- Cover Strength: How much to transform (0 = clean, 1 = heavy)
- Remix Strength: How much original to preserve
- Optionally add reference audio for style guidance
- Generate
- Select "Repaint" task type
- Upload source audio
- Set start/end time for the section to regenerate
- Provide new caption/lyrics for that section
- Generate
| Parameter | Description |
|---|---|
| Sample Query | Natural language description for AI to generate everything |
| Caption | Music style / genre description |
| Lyrics | Song lyrics with [Verse], [Chorus] tags |
| Vocal Language | 50+ supported languages |
| BPM | Beats per minute (0 = auto) |
| Key | Musical key (e.g., C major) |
| Duration | Length in seconds (-1 = auto) |
| Time Signature | e.g., 4, 3, 6 |
| Parameter | Default | Description |
|---|---|---|
| Seed | -1 | Random seed (-1 = random) |
| Temperature | 0.85 | Sampling randomness |
| Thinking Mode | On | 5Hz LM audio code generation |
| CoT Caption | On | LLM rewrites caption via chain-of-thought |
| CoT Language | On | Auto-detect vocal language |
| LM CFG Scale | 2.0 | Classifier-free guidance |
| LM Top-P | 0.9 | Nucleus sampling |
| LM Top-K | 0 | Top-k sampling (0 = disabled) |
| Parameter | Default | Description |
|---|---|---|
| Guidance Scale | 7.0 | Diffusion guidance |
| Inference Steps | 8 | More steps = higher quality (turbo = 8) |
| Inference Method | ODE | ODE or SDE |
Acestep web browser/
โโโ index.html # Main HTML with full meta tags
โโโ CNAME # Custom domain for GitHub Pages
โโโ css/
โ โโโ styles.css # Dark theme styles
โโโ js/
โ โโโ app.js # Application logic
โโโ public/
โ โโโ favicon.svg # Browser favicon
โ โโโ og-image.jpg # 1200x630 social preview
โโโ worker/
โ โโโ index.js # Cloudflare Worker code
โ โโโ wrangler.toml # Worker config
โโโ .github/workflows/
โโโ deploy.yml # GitHub Pages auto-deploy
- Chrome/Edge (recommended)
- Firefox
- Safari
- Mobile browsers
- ACE-Step - AI music generation model
- ACE-Step-ComfyUI - Original ComfyUI nodes
MIT
