Neural Analog API endpoint
Audio to MIDI Transcription API
Queue an audio-to-MIDI transcription for an original track, stem, restored version, or mastered version.
post/transcribeQueue audio-to-MIDI transcription on a T4 GPU.
Convert an original track, stem, restored version, or mastered version into a polyphonic MIDI transcription.
Use POST /transcribe, poll GET /status/transcription/{id}, then download the MIDI file with GET /download/transcription/{id}.
Parameters
x-api-keyRequest Body
audio_idParent audio asset ID.
stem_idOptional source stem ID.
upscaled_idOptional restored-version source ID.
mastered_idOptional mastered-version source ID.
temporary_mix_keyShort-lived Current Main Mix or Current All Stems Mix R2 source key.
selectionOptional time range from the selected source to transcribe.
modelAudio-to-MIDI transcription model.
Default: "muscriptor-large"
instrument_modeHow instrument tracks are chosen and arranged. Omitted requests keep the legacy behavior inferred from instruments.
instrumentsOptional instrument guidance. Leave empty to let MuScriptor detect instruments automatically.
Example: ["piano","bass"]
quantize_precisionNote start and release quantization grid. Null preserves the transcription timing.
Audio to MIDI Transcription Model
Use muscriptor-large in the model field for polyphonic audio-to-MIDI transcription. Leave instruments empty for automatic detection.
muscriptor-largeMuScriptor largeTranscribes polyphonic audio into instrument-colored MIDI notes.
Example
import os
import requests
response = requests.post(
"https://api.neuralanalog.com/transcribe",
headers={"X-API-Key": os.environ["NEURALANALOG_API_KEY"]},
json={
"audio_id": "00000000-0000-0000-0000-000000000000",
"model": "muscriptor-large",
"instruments": [
"piano",
"bass",
],
},
)
print(response.json())Success Response
idID of the queued transcription.
Example: "d66cf940-bf26-45bb-80f7-332f26b6859a"
statusQueueing status for the transcription job.
Example: "starting"
messageHuman-readable queueing result.
Example: "MIDI transcription started successfully"