Skip to content

Mirelo SFX1.6

POST/v1/run

Sfx1.6 Extend Audio by Mirelo - advanced AI model for audio-to-audio. Delivers high-quality results with fast inference, suitable for both creative and production workflows.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to mirelo/sfx1.6/extend-audio.

Default: mirelo/sfx1.6/extend-audio

Optional<string>audio

URL of the audio prefix to extend. The prefix duration must be 3–59 seconds; the total output (prefix + append_duration) is capped at 60 seconds.

Optional<integer>seed

Seed for generation. -1 or None for random.

Range: -1 to ∞

Optional<number>append_duration

How many seconds to add after the prefix. Total output = prefix duration + append_duration, capped at 60s. Minimum 1s, maximum 57s (60s cap minus the 3s prefix minimum).

Range: 1 to 57

Default: 10

Optional<string>upload_audio_format

Audio format for the returned files.

Allowed values: wav, mp3, aac, flac

Default: wav

Optional<boolean>ambience

When true, run the extend+loop path: extend the prefix and stitch the end back to the prefix start so the tile loops seamlessly. When false, run a one-shot extension.

Default: false

Optional<boolean>double_output

Only used when ambience=true: concatenate the loop with itself for a 2x-length output.

Default: false

Optional<integer>num_samples

Number of variations to generate.

Range: 1 to 4

Default: 1

Optional<string>text_prompt

Optional text prompt guiding the extension.

Response Schema

The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.

Optional<string>error

Error message if the task failed. Empty on success.

stringidrequired

Unique identifier for the generation task.

Optional<string>model

Model ID used for the prediction.

Optional<array>outputs

Array of generated content. Empty when status is not completed.

stringstatusrequired

Status of the task: pending, running, completed, failed, or timeout.

Allowed values: pending, running, completed, failed, timeout

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: audio-to-audio

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async