メインコンテンツへスキップ
POST
/
producer
/
audios
Producer Audios
curl --request POST \
  --url https://api.acedata.cloud/producer/audios \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "lyric": "[Verse]\nWoke up with the sun in my eyes\nNo clouds above just blue in the skies\nShoes on my feet I’m ready to run\nEvery step feels like a loaded gun\n[Chorus]\nHappy days are rolling in\nLet the joy beneath my skin\nNo more shadows no more lies\nJust the truth that lifts me high\n[Verse 2]\nDancing through the city streets\nA rhythm pounding in my heartbeat\nStrangers smile it’s catching on\nThis world’s a stage we’re all a song\n[Chorus]\nHappy days are rolling in\nLet the joy beneath my skin\nNo more shadows no more lies\nJust the truth that lifts me high\n[Bridge]\nThrow your worries out the door\nLet them sink to the ocean floor\nWe’re alive and it’s enough\nLife is messy but it’s love\n[Chorus]\nHappy days are rolling in\nLet the joy beneath my skin\nNo more shadows no more lies\nJust the truth that lifts me high",
  "action": "generate",
  "prompt": "A song for Christmas",
  "model": "FUZZ-2.0 Pro",
  "title": "<string>",
  "custom": true,
  "audio_id": "<string>",
  "continue_at": false,
  "callback_url": "<string>",
  "seed": "<string>",
  "instrumental": false,
  "sound_strength": false,
  "lyrics_strength": false,
  "weirdness": false,
  "replace_section_end": false,
  "replace_section_start": false
}
'
{
  "data": [
    {
      "id": "75d8e08f-b25f-450e-9496-7b52e393098b",
      "lyric": "[Verse]\nSleigh bells ringin', choirs singin'\nSnowflakes fallin', presents glistenin' (glistenin')\nIn the air, there's a feeling of joy\nSpreadin' love to every girl and boy\n[Verse 2]\nCandles glowin', fire cracklin'\nStockings hangin', children wrappin'\nWith a smile, they unwrap their surprise\nIn their hearts, the magic never dies\n[Chorus]\nJingle all the way (jingle all the way)\nIn the winter wonderland, we play (oh-oh)\nHear the carols echo through the night (echo through the night)\nMerry Christmas, oh what a delight (oh-oh-oh)",
      "model": "chirp-v3",
      "style": "pop upbeat",
      "title": "Jingle All the Way",
      "prompt": "a christmas song",
      "audio_url": "https://audiopipe.suno.ai/?item_id=75d8e08f-b25f-450e-9496-7b52e393098b",
      "image_url": "https://cdn1.suno.ai/image_75d8e08f-b25f-450e-9496-7b52e393098b.png",
      "video_url": "",
      "created_at": "2024-04-03T11:54:30.424Z"
    },
    {
      "id": "e639fefd-bbd3-4858-b16d-45e7d4aa9313",
      "lyric": "[Verse]\nSleigh bells ringin', choirs singin'\nSnowflakes fallin', presents glistenin' (glistenin')\nIn the air, there's a feeling of joy\nSpreadin' love to every girl and boy\n[Verse 2]\nCandles glowin', fire cracklin'\nStockings hangin', children wrappin'\nWith a smile, they unwrap their surprise\nIn their hearts, the magic never dies\n[Chorus]\nJingle all the way (jingle all the way)\nIn the winter wonderland, we play (oh-oh)\nHear the carols echo through the night (echo through the night)\nMerry Christmas, oh what a delight (oh-oh-oh)",
      "model": "chirp-v3",
      "style": "pop upbeat",
      "title": "Jingle All the Way",
      "prompt": "a christmas song",
      "audio_url": "https://audiopipe.suno.ai/?item_id=e639fefd-bbd3-4858-b16d-45e7d4aa9313",
      "image_url": "https://cdn1.suno.ai/image_e639fefd-bbd3-4858-b16d-45e7d4aa9313.png",
      "video_url": "",
      "created_at": "2024-04-03T11:54:30.424Z"
    }
  ],
  "success": true
}

承認

Authorization
string
header
必須

ヘッダー

accept
enum<string>

Specifies the format of the response from the server.

利用可能なオプション:
application/json

ボディ

application/json
lyric
string
必須

The lyrics which used to generate the audio.

:

"[Verse]\nWoke up with the sun in my eyes\nNo clouds above just blue in the skies\nShoes on my feet I’m ready to run\nEvery step feels like a loaded gun\n[Chorus]\nHappy days are rolling in\nLet the joy beneath my skin\nNo more shadows no more lies\nJust the truth that lifts me high\n[Verse 2]\nDancing through the city streets\nA rhythm pounding in my heartbeat\nStrangers smile it’s catching on\nThis world’s a stage we’re all a song\n[Chorus]\nHappy days are rolling in\nLet the joy beneath my skin\nNo more shadows no more lies\nJust the truth that lifts me high\n[Bridge]\nThrow your worries out the door\nLet them sink to the ocean floor\nWe’re alive and it’s enough\nLife is messy but it’s love\n[Chorus]\nHappy days are rolling in\nLet the joy beneath my skin\nNo more shadows no more lies\nJust the truth that lifts me high"

action
enum<string>
必須

The action to generate the audio. If generate, the audio will be generated from the prompt.

利用可能なオプション:
generate,
cover,
extend,
variation,
swap_vocals,
swap_instrumentals,
replace_section,
stems
:

"generate"

prompt
string
必須

The prompt which used to generate the music audio and the prompt must be less than or equal 200

:

"A song for Christmas"

model
enum<string>

The model adopted for generating music is FUZZ-2.0 by default.

利用可能なオプション:
FUZZ-2.0 Pro,
FUZZ-2.0,
FUZZ-2.0 Raw,
FUZZ-1.1 Pro,
FUZZ-1.0 Pro,
FUZZ-1.0,
FUZZ-1.1,
FUZZ-0.8
title
string

The title when generating the song.

custom
boolean

The flag indicates the music audio is custom or not, if true, the audio will be generated from the lyric, otherwise, the audio will be generated from the prompt

audio_id
string

The only id of the reference song.

continue_at
number
デフォルト:false

Decide where to start writing the song based on this parameter.

callback_url
string

The callback URL which will be called when the video is generated

seed
string

The seed for the audio generation

instrumental
boolean
デフォルト:false

If true, the generated audio will be instrumental only without lyrics.

sound_strength
number
デフォルト:false

The intensity of the audio prompt words can be selected between 0.2 and 1, with a default of 0.5.

lyrics_strength
number
デフォルト:false

The intensity of lyrics indicates the degree of influence of lyrics on audio generation and can be selected between 0 and 1, with a default of 0.5.

weirdness
number
デフォルト:false

The style uniqueness can be selected between 0 and 1, with a default of 0.5.

replace_section_end
number
デフォルト:false

Set the final time of the replacement fragment according to this parameter.

replace_section_start
number
デフォルト:false

Set the start time of the replacement fragment according to this parameter.

レスポンス

OK, the request is successful.

data
object

The output music items generated from the prompt

success
boolean

The flag indicates the request is successful or not