Skip to main content

Generate Instrumental Music (v5)

  • The API supports both streaming and synchronous responses

Endpoints

  • POST /v5/generate/music - streaming
  • POST /v5/generate/music/sync - synchronous

Request Parameters

Example Request

Code Examples - Streaming

Code Examples - Synchronous

Streaming Response

Fields

🛈 The fields below are used in the chunks sent by SSE during the streaming process.

Synchronous Response

Sample Synchronous Output

Possible Errors

Rate Limit Exceeded:
Insufficient Balance:
Invalid Prompt:
NSFW Content Detected:
Service Unavailable: