Skip to documentation

Generate a sound effect

sound.any.generate
Depends on model

Choose a sound model and its supported output specifications.

  • suno-v6 Async / $0.025 / 1 request
  • text-to-sound-v2 Sync / 5 s / $0.011 / 1 request
Unit price$0.025 / 1 request
Try in the console

Request parameters

ParameterTypeDescription
modelRequired
string

suno-v6

suno-v6
Default: "suno-v6"
promptRequired
string

Generation prompt

Minimum length: 1Up to 3000 characters
output_format
string

mp3

mp3
Default: "mp3"

Response data

Business data is in execution.result.data. Executions also include status, final cost and an Anyuse request ID.

ParameterTypeDescription
audio_base64
string

Inline audio when available.

files
array

Output files. Each item has url and kind; download url with the same Bearer credential. Links can expire.

files[].kindRequired
string

files[].kind

files[].urlRequired
string

files[].url

files[].content_type
string

files[].content_type

files[].duration
number | string

files[].duration

files[].duration_seconds
number | string

files[].duration_seconds

files[].file_size
number | string

files[].file_size

files[].filename
string

files[].filename

files[].height
number | string

files[].height

files[].size
number | string

files[].size

files[].width
number | string

files[].width

mime_type
string

Media type of inline audio.

Execution states and recovery

Submission returns a task ID. Query the execution for the final result. Polling of submitted upstream tasks resumes after a service restart.
Execution states and recovery