Mirelo SFX1.6
/v1/runSfx1.6 by Mirelo - generate music, sound effects, and audio from text descriptions with AI. Create original compositions, ambient sounds, and audio content for any creative project.
Request body
Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.
Model identifier. Set to mirelo/sfx1.6/text-to-audio.
Default: mirelo/sfx1.6/text-to-audio
Duration of the generated audio in seconds.
Range: 0.1 to 60
Default: 10
Seed for generation. -1 or None for random.
Range: -1 to ∞
Audio format for the returned files.
Allowed values: wav, mp3, aac, flac
Default: wav
When true, generate a seamlessly loopable ambience tile (room tone, rain, drones, etc.). When false, generate a generic text-conditioned SFX of `duration` seconds.
Default: false
Only used when ambience=true: concatenate the loop with itself for a 2x-length output.
Default: false
Number of variations to generate.
Range: 1 to 4
Default: 1
Text prompt for the generated audio.
Response Schema
The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.
Error message if the task failed. Empty on success.
Unique identifier for the generation task.
Model ID used for the prediction.
Array of generated content. Empty when status is not completed.
Status of the task: pending, running, completed, failed, or timeout.
Allowed values: pending, running, completed, failed, timeout
Model capabilities
Capabilities declared by the model registry.
Default: text-to-audio
Execution mode declared by the model registry.
Default: async

