continue writing the song from a specified timestamp by extending the lyrics. It intelligently continues and expands the existing music clip while maintaining consistent style and emotion. mureka-8 supports selecting either head or tail extension via extend_type.
Request
Authorization
Header Params
Body Params application/jsonRequired
Example
{"lyrics":"My heart races every time I think of you. This bittersweet feeling — so real, yet so sweet. La la la la... I want to see you.","fileUrl":"https://example.com/input.mp3","extendAt":8000,"extendType":"tail"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location'https://www.runninghub.ai/openapi/v2/mureka-ai/mureka-v8/extend-song' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data'{
"lyrics": "My heart races every time I think of you. This bittersweet feeling — so real, yet so sweet. La la la la... I want to see you.",
"fileUrl": "https://example.com/input.mp3",
"extendAt": 8000,
"extendType": "tail"
}'