infery
← All models

Mirelo SFX2.0

sfx2.0

Text to Speechby Mirelo AI

Generates synchronized soundtracks from an input video and returns them as audio files. Supports text guidance, negative prompts, multiple samples, preservation of existing speech, and selectable audio formats.

Details

Accepts
text

Pricing

Price
1.25 cr / second

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seed—Seed for generation. -1 or None for random.
durationnumberSeconds of sound to generate, at least 1 s, clamped to the video's length. Over 10 s generates in 10 s windows. A video shorter than 1 s answers 400.
video_urlrequiredstringVideo URL to add sound to.
num_samplesintegerNumber of variations to generate.
text_prompt—Optional text prompt guiding generation.
negative_prompt—Sounds to keep out of the result, as a short comma-separated list.
preserve_speechbooleanKeep the speech in the input's audio and generate the rest of the soundtrack around it. False generates sound effects only and suppresses speech.
upload_audio_formatstringenum: wav, mp3, aac, flacAudio format to return

Output

FieldTypeDescription
audioarrayEach generated soundtrack as an audio file, without the video
modelstring