Skip to main content
POST

授權

Authorization
string
header
必填

使用 Bearer Token 認證。 格式: Authorization: Bearer sk-xxxxxx

主體

application/json
model
enum<string>
必填

固定傳 suno_music

可用選項:
suno_music
範例:

"suno_music"

prompt
string
必填

在提示詞描述模式下,作為音樂風格、情緒和場景;在歌詞高級模式下,可作為歌詞相容欄位。

upstream_model
string

生成引擎選擇值;預設為 suno-v5.5,顯式傳入 suno-v5 可保留舊版。

範例:

"suno-v5.5"

music_model
string

upstream_model 的相容別名。

engine
string

upstream_model 的相容別名。

model_id

model_id 的 camelCase 相容欄位。

modelId

model_id 的 camelCase 相容欄位。

gpt_description_prompt
string

描述模式提示詞相容欄位。

extraParams
object

MiniMax Speech 2.8 HD 的語音參數;是 extraParams 的 snake_case 相容欄位。

extra_params
object

MiniMax Speech 2.8 HD 的語音參數;是 extraParams 的 snake_case 相容欄位。

voice
string

MiniMax Speech 2.8 HD 音色,可覆蓋 extraParams.voice

output_format
string

MiniMax Speech 2.8 HD 輸出格式。

outputFormat
string

output_format 的 camelCase 相容欄位。

sample_rate
integer

MiniMax Speech 2.8 HD 取樣率。

sampleRate
integer

sample_rate 的 camelCase 相容欄位。

speed
number

語速,預設 1。

volume
number

音量,預設為 1。

pitch
number

音調,預設為 0。

make_instrumental
boolean
預設值:false

是否生成純伴奏。

light_music
boolean

是否依輕音樂/背景音樂方向生成。

pure_music
boolean

是否按純音樂方向生成。

custom_mode
boolean

是否使用自訂模式。

customMode
boolean

custom_mode 的 camelCase 相容欄位。

title
string

歌曲標題。

tags
string

風格標籤,例如 electro pop, female vocal

style
string

風格相容欄位。

genre
string

曲風相容欄位。

genres
string

曲風相容欄位。

lyrics
string

歌詞內容。

lyric
string

lyrics 相容別名。

custom_lyrics
string

lyrics 相容別名。

customLyrics
string

lyrics 相容別名。

回應

200 - application/json

OK

code
string

成功時為 success

範例:

"success"

message
string

錯誤或提示資訊。

data
object

任務 ID,用於後續查詢。