Replace Comfy YuE with standalone YuEGP profile 1

This commit is contained in:
Towsty
2026-09-07 20:24:47 -05:00
parent eeff12cdab
commit c2b6032e49
33 changed files with 976 additions and 294 deletions
+7
View File
@@ -81,6 +81,7 @@ export interface LibraryTrack {
createdAt: number
filename: string
ext: string
yueProfile?: 1 | 3
engine?: string
samplerName?: string
scheduler?: string
@@ -1767,6 +1768,10 @@ export function getTrack(owner: string, id: string) {
return track
}
export function findYueGpTrack(owner: string, jobId: string) {
return readCatalog(owner).tracks.find(track => track.comfyFilename === `yuegp-${jobId}.wav`)
}
export async function saveTrack(params: {
ownerKey: string
folderId: string
@@ -1780,6 +1785,7 @@ export async function saveTrack(params: {
instrumental: boolean
audio: Buffer
ext?: string
yueProfile?: 1 | 3
engine?: string
samplerName?: string
scheduler?: string
@@ -1805,6 +1811,7 @@ export async function saveTrack(params: {
filename: `audio.${ext}`,
ext,
engine: params.engine,
yueProfile: params.yueProfile,
samplerName: params.samplerName,
scheduler: params.scheduler,
lyricsStrength: params.lyricsStrength,