Add suno upload (#164)

This commit is contained in:
HCode authored and GitHub committed 2025-01-20 13:08:51 +08:00
1 parent ea8a77b010
commit f0e5ec6f5e
59 files changed
+1334 -747

No files matched your search

+14
View File
@@ -81,6 +81,10 @@ export interface ISunoLyricRequest {
prompt?: string;
}
export interface ISunoUploadRequest {
audio_url?: string;
}
export interface ISunoAudio {
id?: string;
lyric?: string;
@@ -104,6 +108,10 @@ export interface ISunoAudioLyric {
title?: string;
}
export interface ISunoUploadAudio {
audio_id?: string;
}
export interface ISunoAudioResponse {
success?: boolean;
task_id: string;
@@ -116,6 +124,12 @@ export interface ISunoLyricResponse {
data: ISunoAudioLyric;
}
export interface ISunoUploadResponse {
success?: boolean;
task_id: string;
data: ISunoUploadAudio;
}
export interface ISunoTask {
map(arg0: (song: any) => any): any;
id: string;