Add suno mp4 (#261)

This commit is contained in:
HCode authored and GitHub committed 2025-08-17 22:17:27 +08:00
1 parent b7a68e4656
commit 665b26d5fb
79 files changed
+2340 -1526

No files matched your search

+2
View File
@@ -4,6 +4,7 @@ export interface IFluxConfig {
prompt?: string;
aspect_ratio?: string;
model?: string;
image_url?: string;
quality?: number;
callback_url?: string;
}
@@ -12,6 +13,7 @@ export interface IFluxGenerateRequest {
action?: string;
prompt?: string;
model?: string;
image_url?: string;
callback_url?: string;
mirror?: boolean;
}
+15
View File
@@ -77,6 +77,11 @@ export interface ISunoAudioRequest {
style?: string;
}
export interface ISunoMp4Request {
callback_url?: string;
audio_id?: string;
}
export interface ISunoLyricRequest {
prompt?: string;
}
@@ -113,6 +118,10 @@ export interface ISunoUploadAudio {
audio_id?: string;
}
export interface ISunoMP4 {
video_url?: string;
}
export interface ISunoAudioResponse {
success?: boolean;
task_id: string;
@@ -131,6 +140,12 @@ export interface ISunoUploadResponse {
data: ISunoUploadAudio;
}
export interface ISunoMp4Response {
success?: boolean;
task_id: string;
data: ISunoMP4;
}
export interface ISunoTask {
map(arg0: (song: any) => any): any;
id: string;