{"openapi":"3.1.0","info":{"title":"Melody Maker","description":"Music notation toolkit: renders ABC or LilyPond into engraved sheet music (PNG + PDF), a MIDI file, an MP3 audio performance with real instrument sounds, MusicXML and a musical analysis. Sheet music is attached as a zip (openaiFileResponse) so ChatGPT can display it with Code Interpreter.","version":"2.0.0"},"servers":[{"url":"https://cybrix.ai/music","description":"Melody Maker API"}],"paths":{"/health":{"get":{"tags":["meta"],"summary":"Service health check","operationId":"health","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-openai-isConsequential":false}},"/score":{"post":{"tags":["music"],"summary":"Engrave notation and produce sheet music, MIDI, MP3 audio, MusicXML and analysis","description":"Renders ABC or LilyPond. Returns image_url (PNG), pdf_url, midi_url, mp3_url, musicxml_url, analysis and warnings, and attaches the files.","operationId":"render_score","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoreRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-openai-isConsequential":false}}},"components":{"schemas":{"ScoreRequest":{"properties":{"notation":{"type":"string","title":"Notation","description":"ABC (X: T: M: L: K: header then bars) or LilyPond source."},"format":{"type":"string","enum":["auto","abc","lilypond"],"title":"Format","description":"Input language; auto-detected by default.","default":"auto"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Used for file names when the notation has no title."},"transpose":{"type":"integer","maximum":24.0,"minimum":-24.0,"title":"Transpose","description":"Semitones to transpose (ABC only).","default":0},"audio":{"type":"boolean","title":"Audio","description":"Also render an MP3 with real instrument sounds.","default":true},"accompaniment":{"type":"boolean","title":"Accompaniment","description":"ABC: play chord symbols as backing in the MIDI/MP3.","default":true}},"type":"object","required":["notation"],"title":"ScoreRequest"}}}}