apimaxDocs
DocsPricingConsole
API ReferenceIntegration GuideUser GuideChangelog

Music Series

POST[Core] Music GenerationPOSTCover SongsPOSTGenerate Sound EffectsPOSTExtend SongsPOSTConcatenate Extend Clips into a SongPOSTSong StemsPOSTAdd InstrumentalPOSTAdd Vocals

Image Series

Video series

Task Management

Error Code ReferenceQuery Task StatusGET

Account Management

Query Quota UsageGET

Docs / Music Series / Suno / Task submission

Task submissionPOSTSunoSOUNDAsync Tasks

Generate Sound Effects

Generate a sound effect; a task ID is returned asynchronously.

POSThttps://api.apimax.ai/v1/music/sound
Try it
Bearer API KeyJSONServer-side call

Purpose#

Generate short sound effects with POST /v1/music/sound.

Request Fields#

FieldTypeRequiredDescription
promptstringYesDescription of the sound effect, such as ocean waves, footsteps, or a button chime
gpt_description_promptstringNoAdditional description of the sound effect's atmosphere and details
titlestringNoSound effect title
tagsstringNoSound effect tags
make_instrumentalbooleanNoWhether to use instrumental-only mode; defaults to false
callback_urlstringNoHTTPS URL that receives a notification when the task completes or fails

Request Example#

bash
curl -X POST 'https://api.apimax.ai/v1/music/sound' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Ocean waves rolling onto a quiet beach",
    "title": "Calm Sea",
    "tags": "ocean, ambience",
    "callback_url": "https://your-app.example/music-callback"
  }'

Submission Response#

A successful submission returns the task ID immediately:

json
{
  "code": "success",
  "message": "",
  "data": "task_01KABCDEF0123456789XYZ"
}
FieldTypeDescription
codestringAlways success on success
messagestringUsually an empty string on success
datastringTask ID used to query the result

Query the Task Result#

Only single-task queries by task ID are supported:

bash
curl 'https://api.apimax.ai/v1/tasks/task_01KABCDEF0123456789XYZ' \
  -H "Authorization: Bearer $API_KEY"

Task status transitions in the following order:

queued → in_progress → completed / failed

statusDescriptionTerminal
queuedTask created, waiting to be processedNo
in_progressTask is being processedNo
completedTask finished; the result is in dataYes
failedTask failed; the reason is in errorYes

Poll every 2-5 seconds and stop once the status reaches completed or failed. If callback_url is set, you can also wait for the callback notification.

Example completed response:

json
{
  "id": "task_01KABCDEF0123456789XYZ",
  "object": "task",
  "type": "music",
  "platform": "music",
  "status": "completed",
  "progress": 100,
  "model": "suno_sound",
  "data": [
    {
      "id": "track_001",
      "audio_url": "https://media.example/result.mp3",
      "image_url": "https://media.example/cover.jpg",
      "title": "Calm Sea",
      "duration": 214.5,
      "model_name": "suno_sound"
    }
  ]
}

During in_progress, previewable audio may be returned early, but you should keep polling until the task reaches a terminal status.

Next steps

All docs
Upsample Style TagsPolish and expand style tags and lyrics into a fuller style description.Get Style Inspiration SuggestionsGet random style or inspiration suggestions from the Suno upstream.Method 1: Create a Voice from an Existing SongCreate a vocal voice directly from a song clip already generated in this pool.Upload AudioImport user audio as a Suno-owned clip; returns an async upload task ID. With copyright=true the request switches to the copyright pipeline.Get MIDIRetrieve a MIDI file for a clip generated by this service.Get Lyrics TimingGet the lyric alignment timing of a generated clip.
On this page
OverviewPurposeRequest FieldsRequest ExampleSubmission ResponseQuery the Task ResultNext steps
API

POST /v1/music/sound