File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export interface AudioInfo {
28
28
}
29
29
30
30
class SunoApi {
31
- private static BASE_URL : string = 'https://studio-api.suno.ai ' ;
31
+ private static BASE_URL : string = 'https://studio-api.prod. suno.com ' ;
32
32
private static CLERK_BASE_URL : string = 'https://clerk.suno.com' ;
33
33
private static JSDELIVR_BASE_URL : string = 'https://data.jsdelivr.com' ;
34
34
@@ -237,9 +237,10 @@ class SunoApi {
237
237
) : Promise < AudioInfo [ ] > {
238
238
await this . keepAlive ( false ) ;
239
239
const payload : any = {
240
- make_instrumental : make_instrumental == true ,
240
+ make_instrumental : make_instrumental ,
241
241
mv : model || DEFAULT_MODEL ,
242
- prompt : ''
242
+ prompt : '' ,
243
+ generation_type : 'TEXT'
243
244
} ;
244
245
if ( isCustom ) {
245
246
payload . tags = tags ;
You can’t perform that action at this time.
0 commit comments