Text to SFX

Create async job

Start an async text-to-sfx v1.6 generation job. Returns immediately with a job_id. Poll the job status endpoint until status is succeeded or errored. Supports up to 10 minutes (600,000 ms) with loop: true.

post/v2/text-to-sfx/v1.6/jobs

Request

  • Base URL: https://api.mirelo.ai
  • URL: https://api.mirelo.ai/v2/text-to-sfx/v1.6/jobs
  • Auth: HTTP bearer

Request body

OR

Example request

{
  "prompt": "rain falling on leaves",
  "seed": 42,
  "output_format": "mp3"
}

Response

Job accepted

job_idstring uuid required

Unique identifier for the async job

job_urlstring required

Relative URL to poll for job status, e.g. /v2/text-to-sfx/{version}/jobs/{job_id}. Append to your API base URL to form the full polling URL.

estimated_msinteger required

Estimated completion time in milliseconds

estimated_completion_atstring date-time required

ISO 8601 estimated completion timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.