Skip to content

Mirelo SFX1.6

POST/v1/run

Sfx1.6 Inpaint 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/inpaint-audio.

Default: mirelo/sfx1.6/inpaint-audio

Optional<string>audio

URL of the source audio. Maximum 10 seconds — longer clips are rejected. The model regenerates only the region defined by `segment`; everything outside it is preserved.

Optional<integer>seed

Seed for generation. -1 or None for random.

Range: -1 to ∞

Optional<string>text_prompt

Optional text prompt guiding the regenerated segment.

Optional<string>upload_audio_format

Audio format for the returned files.

Allowed values: wav, mp3, aac, flac

Default: wav

Optional<string>segment

Region [start_s, end_s] (in seconds, 1s ≤ start < end ≤ 10s, 1–8s span) to regenerate. The audio outside this region is preserved.

Optional<integer>num_samples

Number of variations to generate.

Range: 1 to 4

Default: 1

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