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 a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.

stringidrequired

Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.

stringstatusrequired

Current public run status.

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

Optional<string>model

Public SandBase model name used for this run.

Optional<array<object>>outputs

Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.

Optional<object>error

Present only for failed or timeout runs. Contains a public error type and sanitized message.

Optional<string>error.type

Stable public error category.

Optional<string>error.message

Sanitized error message safe to show to clients.

Optional<object>usage

Usage details when available.

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