infery
← All models

Mureka Song Editing

api-song

Text to Speechby Mureka

Rewrites a selected time region of a generated song or uploaded audio using replacement lyrics.

Details

Accepts
text

Pricing

Price
12.5 cr / request

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
lyricsrequiredstringReplacement lyrics for the selected region.
song_id—Generated song ID from song_id in a /generate/song response. Provide exactly one of song_id or upload_audio_id.
edit_endrequiredintegerEnd of the region to rewrite in milliseconds. The region must be at least three seconds long.
edit_startrequiredintegerStart of the region to rewrite in milliseconds.
upload_audio_id—Audio ID returned by /files/upload with purpose='audio'. Provide exactly one of song_id or upload_audio_id.
enable_safety_checkerbooleanAuthorized callers may set false to request relaxed screening.

Output

FieldTypeDescription
audio—The generated audio file.
song_id—Reusable identifier for this audio. Pass it to endpoints that accept song_id.
duration—Duration of the generated audio in milliseconds, when available.
lyrics_sections—Timed lyric sections for the generated audio, when available.