Skip to content

Commit 65c4a3f

Browse files
author
Raylan LIN
committed
fix(types): MusicRequest model type to string, remove duplicate is_instrumental/lyrics_optimizer
1 parent 92213aa commit 65c4a3f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/types/api.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export interface VideoTaskResponse {
229229
// ---- Music ----
230230

231231
export interface MusicRequest {
232-
model: 'music-2.5' | 'music-2.5+';
232+
model: string;
233233
prompt?: string;
234234
lyrics?: string;
235235
is_instrumental?: boolean;
@@ -246,8 +246,6 @@ export interface MusicRequest {
246246
output_format?: 'url' | 'hex';
247247
stream?: boolean;
248248
aigc_watermark?: boolean;
249-
lyrics_optimizer?: boolean;
250-
is_instrumental?: boolean;
251249
}
252250

253251
export interface MusicResponse {

0 commit comments

Comments
 (0)