Merge pull request #188 from tmirkovic/fix-song-extend
Fix errors when extending song
This commit is contained in:
commit
c82e4c30b1
@ -368,6 +368,7 @@ class SunoApi {
|
||||
title: string = '',
|
||||
model?: string
|
||||
): Promise<AudioInfo> {
|
||||
await this.keepAlive(false);
|
||||
const response = await this.client.post(
|
||||
`${SunoApi.BASE_URL}/api/generate/v2/`,
|
||||
{
|
||||
@ -376,6 +377,7 @@ class SunoApi {
|
||||
mv: model || DEFAULT_MODEL,
|
||||
prompt: prompt,
|
||||
tags: tags,
|
||||
task: 'extend',
|
||||
title: title
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user