Add ACE-Step music generation to the studio and library.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-02 23:58:18 -05:00
co-authored by Cursor
parent c79cca39ae
commit 5555155884
25 changed files with 2157 additions and 44 deletions
+6 -2
View File
@@ -52,12 +52,16 @@ export async function ensureGenerationNotifyPermission() {
}
}
export async function notifyGenerationComplete(kind: 'video' | 'image' = 'video') {
export async function notifyGenerationComplete(kind: 'video' | 'image' | 'music' = 'video') {
if (!generationNotifySupported() || !generationNotifyPref()) return
if (Notification.permission !== 'granted') return
if (typeof document !== 'undefined' && !document.hidden && document.hasFocus()) return
const title = appName()
const body = kind === 'image' ? 'Image generation is complete.' : 'Generation is complete.'
const body = kind === 'image'
? 'Image generation is complete.'
: kind === 'music'
? 'Music generation is complete.'
: 'Generation is complete.'
const options: NotificationOptions = {
body,
icon: appIcon(),