Music API FAQ & Troubleshooting
šµ Sonic API FAQ#
Start by testing all the features on the official Sonic platform to see the required parameters and their constraints.
Then, follow our documentation to test specific functionalities.
New accounts have 5 free test opportunities.
Set the custom_mode field to true
, and fill in the prompt
, title
, and tags
fields.
Set custom_mode to false
and fill in the gpt_description_prompt
field, which will contain your song description.
Use the custom_mode and make_instrumental fields:custom_mode controls whether the generation is custom.
make_instrumental controls whether the music is instrumental.
Set task_types
to extend_music.
Fill in the continue_clip_id
(the clip ID of the song you want to extend).
Fill in the continue_at
(the starting time point for extension in seconds).
Songs extended using extend_music only include the extended part.
To get the full song, use concat_music
as the task_type
and provide the continue_clip_id
of the extended clip.
This will merge the extended part with the original.
Use cover_music
as the task_type.
Set continue_clip_id
to the clip ID of the original song to be covered.
Use the create_persona API and provide:description
ā Persona style description
continue_clip_id
ā Clip ID of the original song used to create the persona
Use persona_music
as the task_type.
Provide the persona's ID in the persona_id
field.
Input the online song URL in the url
field.
Send the request. Within about 20 seconds, you will receive the clip ID.
ā ļø Note: Uploaded songs must be:
Use the lyrics API and input your lyrics description in the description
field.š¹ This feature consumes lyrics credits instead of regular credits.
1.
Upload your song using the upload API to get its clip ID.
2.
Use this clip ID to extend the song.
3.
Set task_type
to extend_upload_music instead of extend_music
.
1.
Upload your song using the upload API to get its clip ID.
2.
Use this clip ID to cover the song.
3.
Set task_type
to cover_upload_music instead of cover_music
.
š Now you are ready to explore all the features of the Sonic API!Modified atĀ 2025-02-11 03:20:45