Preflight
Apply max(1, round(seconds × 2.5)) to the caller-supplied duration_ms, subtract eligible paid detection credits when instrument_detection_id is supplied, and return that credit estimate with the estimated processing time. This route does not download the audio, start a transcription, reserve a detection, or deduct credits. The create routes validate the source and bill the server-probed media duration, so the final charge can differ when duration_ms does not match the file.
Request
- Base URL: https://api.mirelo.ai
- URL: https://api.mirelo.ai/v2/audio-to-midi/v1.0/preflight
- Auth: HTTP bearer
Query parameters
Caller-supplied estimate of the input duration in milliseconds (max 1,800,000). Priced as submitted, without downloading the audio; the create routes bill the server-probed duration instead.
Optional paid instrument detection to include in the estimate. Eligible credits reduce this quote without reserving or consuming the detection. Create validates the source before applying those credits.
Response
Credit cost and ETA
Changes
No recorded changes to this operation across all 1 revision of this API.