API Documentation
Generate AI Song
πΆ Generate AI Song from Prompt
- This endpoint generates music from a text-based prompt using AI models.
Core Parameters
π The parameters below define the request body for this API.
Parameter | Type | Required? | Description |
---|---|---|---|
prompt | string | β Required | Text description of the music. |
styleOfMusic | string | β οΈ Optional | Preferred genre or style (e.g., jazz, rock). |
audioUrl | string | β οΈ Optional | URL to a reference audio file for influence. |
Request Body for Prompt to Song
Code Samples
Response
Sample Output
Possible Errors :
- If Rate Limits have been passed for User.
- If NSFW words are detected
- If Artist name is detected
π΅ Generate AI Song from Lyrics
This endpoint generates music from provided lyrics using AI models.
Core Parameters
π The parameters below define the request body for this API.
Parameter | Type | Required? | Description |
---|---|---|---|
lyrics | string | β Required | Lyrics to be converted into a song. |
audioUrl | string | β οΈ Optional | URL to a reference audio file for influence. |
Request Body for Prompt to Song
Code Samples
Response
Sample Output
Possible Errors :
- If Rate Limits have been passed for User.
- If NSFW words are detected
- If Artist name is detected