“Turn your AI-generated audio into a perfectly looping masterpiece — auto-detected, prompt-powered, and smooth as magic.”
sansaar_1
(Higher fidelity)sansaar_1_lite
(Quicker processing)🛈 The parameters below define the request body for this API.
Parameter | Type | Required? | Description |
---|---|---|---|
prompt | string | ✅ Required | Text description of the music. |
duration | int | ⚠️ Optional | Track length (15s , 30s , 60s , 180s ). |
model | string | ⚠️ Optional | "sansaar_1" (HQ) or "sansaar_1_lite" (Faster). |
loop | bool | ⚠️ Optional | Whether the music should loop. |
loopCount | int | ✅ Required | Number of times the trimmed part should loop. |
Parameter | Type | Required? | Description |
---|---|---|---|
prompt | string | ✅ Required | Text description of the music. |
styleOfMusic | string | ✅ Required | Preferred style. Select one from supported styles listed below. |
audioUrl | string | ⚠️ Optional | URL to a reference audio file for influence. |
loopCount | int | ✅ Required | Number of times to loop the detected seamless segment. |
Parameter | Type | Required? | Description |
---|---|---|---|
lyrics | string | ✅ Required | Lyrics to be converted into a song. |
styleOfMusic | string | ⚠️ Optional (Either styleOfMusic or audioUrl must be present) | Preferred style. Select one from supported styles listed above. |
audioUrl | string | ⚠️ Optional (Either styleOfMusic or audioUrl must be present) | URL to a reference audio file for influence. |
loopCount | int | ✅ Required | Number of times to loop the detected seamless segment. |