📌 Explore this guide to understand how to integrate and utilize our APIs efficiently.

🔐Authentication

All API requests require authentication using Bearer tokens. Please ensure your API key is included in the Authorization header:

Authorization: Bearer your_api_key_here

🚀 Available API Endpoints

To generate content, you must provide either audioUrl or prompt as input.

🎵 Generation Endpoints

  • Text to Music   POST /api/generate/text-to-music
  • AI Song Gen     POST /api/generate/ai-song-gen
  • Generate LyricsPOST /api/generate/generate-lyrics
  • Extend Music    POST /api/generate/extend-music

🤖 Assistant Endpoints

  • Chat AssistantPOST /api/assistant/chat
  • Voice AssistantPOST /api/assistant/voice

📊 Generation Status Endpoints

  • Generation StatusGET /status/generations/{message_id}
  • Generated ResultGET /generation/{userId}/{messageId}

🔄 Checking Generation Status

You can track the status of your generation request using the following endpoint:

GET /status/generations/{message_id}

This will return the current processing status of the given message_id.

📥 Retrieving Generated Content

Once a generation request is successfully completed, you can fetch the generated data using:

GET /generations/{userId}/{messageId}

Replace {userId} and {messageId} with the appropriate values to retrieve your generated content.


📘 For more details, refer to our full API reference documentation.