mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
feat: 支持suno:#suno+prompt或#创作歌曲+prompt
This commit is contained in:
parent
63edc9403c
commit
eea0748de7
7 changed files with 268 additions and 2 deletions
11
client/test/SunoClientTest.js
Normal file
11
client/test/SunoClientTest.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { SunoClient } from '../SunoClient.js'
|
||||
|
||||
async function test () {
|
||||
const options = {
|
||||
}
|
||||
let client = new SunoClient(options)
|
||||
let res = await client.createSong('guacamole')
|
||||
console.log(res)
|
||||
}
|
||||
|
||||
test()
|
||||
Loading…
Add table
Add a link
Reference in a new issue