Перейти к основному содержанию
POST
/
suno
/
v1
/
sounds
cURL
curl --request POST \
  --url https://api.ttapi.io/suno/v1/sounds \
  --header 'Content-Type: application/json' \
  --header 'TT-API-KEY: <api-key>' \
  --data '
{
  "sound": "<string>",
  "mv": "chirp-v5",
  "type": "one-shot",
  "bpm": 123,
  "key": "C",
  "isStorage": false,
  "hookUrl": "<string>"
}
'
{
  "status": "SUCCESS",
  "message": "success",
  "data": {
    "job_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  }
}

Авторизации

TT-API-KEY
string
header
обязательно

Вы можете получить API-ключ в TTAPI Dashboard.

Тело

application/json
sound
string
обязательно

描述你想要的声音

mv
string
по умолчанию:chirp-v5
обязательно

使用模型 目前只支持 chirp-v5

type
enum<string>
по умолчанию:one-shot
обязательно

音效类型, one-shot=单拍音效、loop=循环音效

Доступные опции:
one-shot,
loop
bpm
integer

每分钟节拍数, 可选值:300 ≥ bpm ≥ 1

key
enum<string>

音调

Доступные опции:
C,
C#,
Cm,
C#m,
D,
D#,
Dm,
D#m,
F,
F#,
Fm,
F#m,
G,
G#,
Gm,
G#m,
A,
A#,
Am,
A#m,
B,
B#,
Bm,
B#m
isStorage
boolean
по умолчанию:false

Whether to store the generated audio.

  • true: The audio will be stored and a TTAPI CDN URL will be returned
  • false: The original source URL will be returned
hookUrl
string

URL обратного уведомления

Ответ

Запрос выполнен успешно

status
string
обязательно
Пример:

"SUCCESS"

message
string
обязательно
Пример:

"success"

data
object
обязательно
Пример:
{
"job_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
Last modified on March 25, 2026