Suno
Suno Generate Music
Use DeerAPI to call the Suno Generate Music endpoint with request details, response details, examples, and an OpenAPI playground.
POST
cURL
Overview
Use this endpoint to call the Suno Generate Music workflow through DeerAPI. The API reference on this page shows the request schema, response schema, authentication requirements, and runnable examples for the configured endpoint.Before you start
Use the DeerAPI base URL and pass your API Key in theAuthorization header:
Model selection
Choose a current model ID from the live pricing page. Model availability changes over time, so avoid copying a model ID from an old project without checking the live list first.Implementation notes
- Use the OpenAPI playground for the exact request fields accepted by this endpoint.
- Keep API Keys on the server side when you build production applications.
- Log the request ID from failed calls so support can investigate the request.
- Retry
429,500, and503responses with exponential backoff.
Authorizations
Use a DeerAPI API Key as a Bearer token.
Body
application/json
Lyrics (custom mode only)
Whether to generate instrumental only. Set to true for instrumental.
Excluded style tags
Style tags (custom mode only)
Model version
Available options:
chirp-v3.0, chirp-v3.5, chirp-v4, chirp-auk, chirp-bluejay, chirp-crow Title (custom mode only)
Callback URL: https://example.com/callback
Inspiration prompt (inspiration mode only)
Required for extending uploaded audio.
Clip ID of the song to extend.
Float. Position in seconds to continue from.
Task ID for operations on a previous task.