Arrange melodies for SATB choir, validate voice leading and export rehearsal parts.
Maintained by@paulopierrondi(verified)Also a maintainer?
Call this server's tools from your browser. Nothing to install.
Optional for discovery. To execute tools, enter Bearer followed by a space and your CantuStudio account token or scoped service key.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
GET /api/stats/arrangements; account JWT or service API key required.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http cantustudio https://cantustudio.app/api/mcp/
Headers
Authorization (optional, not in the config above): Optional for discovery. To execute tools, enter Bearer followed by a space and your CantuStudio account token or scoped service key.GET /api/stats/arrangements; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params | object |
{
"type": "object",
"$defs": {},
"properties": {
"params": {
"type": "object",
"required": [],
"properties": {}
}
}
}POST /api/arrangements/{arrangement_id}/auto-fix; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/operations/capabilities; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params | object |
{
"type": "object",
"$defs": {},
"properties": {
"params": {
"type": "object",
"required": [],
"properties": {}
}
}
}POST /api/arrangements; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "ArrangementCreate",
"required": [
"confirmed",
"key_signature",
"melody_notes",
"time_signature"
],
"properties": {
"style": {
"enum": [
"baroque",
"classical",
"contemporary",
"gospel",
"jazz",
"maestro",
"popular",
"renaissance",
"romantic"
],
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"title": {
"type": "string",
"title": "Title",
"default": "Sem título",
"maxLength": 200
},
"lyrics": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyrics"
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"is_shared": {
"type": "boolean",
"title": "Is Shared",
"default": false
},
"alto_voice": {
"anyOf": [
{
"type": "string",
"description": "JSON-serialized array of notes"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"duration"
],
"properties": {
"lyric": {
"type": [
"string",
"null"
]
},
"pitch": {
"type": [
"string",
"null"
]
},
"is_rest": {
"type": "boolean"
},
"duration": {
"type": "number",
"maximum": 16,
"exclusiveMinimum": 0
},
"syllabic": {
"enum": [
"single",
"begin",
"middle",
"end",
null
]
}
}
},
"maxItems": 4096
}
]
},
"bass_voice": {
"anyOf": [
{
"type": "string",
"description": "JSON-serialized array of notes"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"duration"
],
"properties": {
"lyric": {
"type": [
"string",
"null"
]
},
"pitch": {
"type": [
"string",
"null"
]
},
"is_rest": {
"type": "boolean"
},
"duration": {
"type": "number",
"maximum": 16,
"exclusiveMinimum": 0
},
"syllabic": {
"enum": [
"single",
"begin",
"middle",
"end",
null
]
}
}
},
"maxItems": 4096
}
]
},
"tenor_voice": {
"anyOf": [
{
"type": "string",
"description": "JSON-serialized array of notes"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"duration"
],
"properties": {
"lyric": {
"type": [
"string",
"null"
]
},
"pitch": {
"type": [
"string",
"null"
]
},
"is_rest": {
"type": "boolean"
},
"duration": {
"type": "number",
"maximum": 16,
"exclusiveMinimum": 0
},
"syllabic": {
"enum": [
"single",
"begin",
"middle",
"end",
null
]
}
}
},
"maxItems": 4096
}
]
},
"melody_notes": {
"anyOf": [
{
"type": "string",
"description": "JSON-serialized array of notes"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"duration"
],
"properties": {
"lyric": {
"type": [
"string",
"null"
]
},
"pitch": {
"type": [
"string",
"null"
]
},
"is_rest": {
"type": "boolean"
},
"duration": {
"type": "number",
"maximum": 16,
"exclusiveMinimum": 0
},
"syllabic": {
"enum": [
"single",
"begin",
"middle",
"end",
null
]
}
}
},
"maxItems": 4096
}
]
},
"key_signature": {
"type": "string",
"title": "Key Signature"
},
"soprano_voice": {
"anyOf": [
{
"type": "string",
"description": "JSON-serialized array of notes"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"duration"
],
"properties": {
"lyric": {
"type": [
"string",
"null"
]
},
"pitch": {
"type": [
"string",
"null"
]
},
"is_rest": {
"type": "boolean"
},
"duration": {
"type": "number",
"maximum": 16,
"exclusiveMinimum": 0
},
"syllabic": {
"enum": [
"single",
"begin",
"middle",
"end",
null
]
}
}
},
"maxItems": 4096
}
]
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"pattern": "^([1-9]|1[0-6])/(1|2|4|8|16|32)$"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
},
"musicxml_content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Musicxml Content"
},
"validation_warnings": {
"anyOf": [
{
"type": "string",
"maxLength": 200000
},
{
"type": "null"
}
],
"title": "Validation Warnings"
},
"voice_leading_score": {
"anyOf": [
{
"type": "integer",
"maximum": 100,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
}
}POST /api/batch-harmonize; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"BatchArrangementInput": {
"type": "object",
"title": "BatchArrangementInput",
"required": [
"melody_name",
"pitches",
"key"
],
"properties": {
"key": {
"type": "string",
"title": "Key"
},
"pitches": {
"type": "string",
"title": "Pitches"
},
"duration": {
"type": "number",
"title": "Duration",
"default": 1,
"exclusiveMinimum": 0
},
"melody_name": {
"type": "string",
"title": "Melody Name"
}
}
},
"BatchHarmonizeRequest": {
"type": "object",
"title": "BatchHarmonizeRequest",
"required": [
"arrangements"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"arrangements": {
"type": "array",
"items": {
"$ref": "#/$defs/BatchArrangementInput"
},
"title": "Arrangements",
"maxItems": 10,
"minItems": 1
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"default": "4/4"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
}
}
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "BatchHarmonizeRequest",
"required": [
"arrangements",
"confirmed"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangements": {
"type": "array",
"items": {
"$ref": "#/$defs/BatchArrangementInput"
},
"title": "Arrangements",
"maxItems": 10,
"minItems": 1
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"default": "4/4"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
}
}
}
}
}POST /api/harmonize-jobs; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"NoteInput": {
"type": "object",
"title": "NoteInput",
"required": [
"pitch",
"duration"
],
"properties": {
"tie": {
"anyOf": [
{
"enum": [
"start",
"stop",
"both"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Tie"
},
"lyric": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyric"
},
"pitch": {
"type": "string",
"title": "Pitch"
},
"extend": {
"type": "boolean",
"title": "Extend",
"default": false
},
"tuplet": {
"anyOf": [
{
"$ref": "#/$defs/TupletPosition"
},
{
"type": "null"
}
]
},
"verses": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Verses"
},
"fermata": {
"type": "boolean",
"title": "Fermata",
"default": false
},
"is_rest": {
"type": "boolean",
"title": "Is Rest",
"default": false
},
"duration": {
"type": "number",
"title": "Duration"
},
"syllabic": {
"anyOf": [
{
"enum": [
"single",
"begin",
"middle",
"end"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Syllabic"
}
}
},
"StyleZone": {
"type": "object",
"title": "StyleZone",
"required": [
"start_note",
"end_note",
"style"
],
"properties": {
"style": {
"type": "string",
"title": "Style"
},
"end_note": {
"type": "integer",
"title": "End Note"
},
"start_note": {
"type": "integer",
"title": "Start Note"
}
}
},
"TupletPosition": {
"type": "object",
"title": "TupletPosition",
"required": [
"actual",
"normal",
"position"
],
"properties": {
"actual": {
"type": "integer",
"title": "Actual",
"maximum": 9,
"minimum": 2
},
"normal": {
"type": "integer",
"title": "Normal",
"maximum": 2048,
"minimum": 1
},
"position": {
"type": "integer",
"title": "Position",
"minimum": 0
}
}
},
"HarmonizeRequest": {
"type": "object",
"title": "HarmonizeRequest",
"required": [
"melody",
"key_signature"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Title"
},
"lyrics": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyrics"
},
"melody": {
"type": "array",
"items": {
"$ref": "#/$defs/NoteInput"
},
"title": "Melody"
},
"emotion": {
"type": "string",
"title": "Emotion",
"default": "neutro"
},
"user_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "User Id"
},
"bed_mode": {
"enum": [
"llm",
"deterministic"
],
"type": "string",
"title": "Bed Mode",
"default": "llm"
},
"force_llm": {
"type": "boolean",
"title": "Force Llm",
"default": false
},
"meter_map": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Meter Map"
},
"complexity": {
"type": "string",
"title": "Complexity",
"default": "intermediate"
},
"key_fifths": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Key Fifths"
},
"note_range": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note Range"
},
"style_zones": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/StyleZone"
}
},
{
"type": "null"
}
],
"title": "Style Zones"
},
"user_chords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "User Chords"
},
"free_preview": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Free Preview"
},
"inner_motion": {
"enum": [
"simples",
"moderado",
"movido"
],
"type": "string",
"title": "Inner Motion",
"default": "simples"
},
"llm_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Llm Provider"
},
"melody_voice": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
],
"type": "string",
"title": "Melody Voice",
"default": "soprano"
},
"pickup_beats": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Pickup Beats"
},
"voice_motion": {
"enum": [
"simple",
"balanced",
"flowing"
],
"type": "string",
"title": "Voice Motion",
"default": "balanced"
},
"written_bars": {
"type": "boolean",
"title": "Written Bars",
"default": false
},
"final_cadence": {
"enum": [
"tonic",
"open"
],
"type": "string",
"title": "Final Cadence",
"default": "tonic"
},
"key_signature": {
"type": "string",
"title": "Key Signature"
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"default": "4/4"
},
"key_accidentals": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Key Accidentals"
},
"pickup_declared": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Pickup Declared"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
},
"complexity_level": {
"type": "integer",
"title": "Complexity Level",
"default": 2,
"maximum": 5,
"minimum": 1
},
"custom_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Custom Instruction"
},
"enable_harmonic_bed": {
"type": "boolean",
"title": "Enable Harmonic Bed",
"default": false
},
"composition_metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Composition Metadata"
}
}
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "HarmonizeRequest",
"required": [
"confirmed",
"key_signature",
"melody"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Title"
},
"lyrics": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyrics"
},
"melody": {
"type": "array",
"items": {
"$ref": "#/$defs/NoteInput"
},
"title": "Melody"
},
"emotion": {
"type": "string",
"title": "Emotion",
"default": "neutro"
},
"user_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "User Id"
},
"bed_mode": {
"enum": [
"llm",
"deterministic"
],
"type": "string",
"title": "Bed Mode",
"default": "llm"
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"force_llm": {
"type": "boolean",
"title": "Force Llm",
"default": false
},
"meter_map": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Meter Map"
},
"complexity": {
"type": "string",
"title": "Complexity",
"default": "intermediate"
},
"key_fifths": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Key Fifths"
},
"note_range": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note Range"
},
"style_zones": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/StyleZone"
}
},
{
"type": "null"
}
],
"title": "Style Zones"
},
"user_chords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "User Chords"
},
"free_preview": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Free Preview"
},
"inner_motion": {
"enum": [
"simples",
"moderado",
"movido"
],
"type": "string",
"title": "Inner Motion",
"default": "simples"
},
"llm_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Llm Provider"
},
"melody_voice": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
],
"type": "string",
"title": "Melody Voice",
"default": "soprano"
},
"pickup_beats": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Pickup Beats"
},
"voice_motion": {
"enum": [
"simple",
"balanced",
"flowing"
],
"type": "string",
"title": "Voice Motion",
"default": "balanced"
},
"written_bars": {
"type": "boolean",
"title": "Written Bars",
"default": false
},
"final_cadence": {
"enum": [
"tonic",
"open"
],
"type": "string",
"title": "Final Cadence",
"default": "tonic"
},
"key_signature": {
"type": "string",
"title": "Key Signature"
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"default": "4/4"
},
"key_accidentals": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Key Accidentals"
},
"pickup_declared": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Pickup Declared"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
},
"complexity_level": {
"type": "integer",
"title": "Complexity Level",
"default": 2,
"maximum": 5,
"minimum": 1
},
"custom_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Custom Instruction"
},
"enable_harmonic_bed": {
"type": "boolean",
"title": "Enable Harmonic Bed",
"default": false
},
"composition_metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Composition Metadata"
}
}
}
}
}DELETE /api/arrangements/{arrangement_id}; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}POST /api/diagnose/enharmonic; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params | object |
{
"type": "object",
"$defs": {},
"properties": {
"params": {
"type": "object",
"title": "Data",
"required": [],
"properties": {},
"additionalProperties": true
}
}
}GET /api/operations/discovery; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params | object |
{
"type": "object",
"$defs": {},
"properties": {
"params": {
"type": "object",
"required": [],
"properties": {}
}
}
}GET /api/batch-harmonize/{job_id}/download; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"title": "Job Id"
}
}
}
}
}GET /api/arrangements/{arrangement_id}/export/midi; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/arrangements/{arrangement_id}/export/midi-voice/{voice}; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed",
"voice"
],
"properties": {
"mode": {
"type": "string",
"title": "Mode",
"default": "solo"
},
"voice": {
"type": "string",
"title": "Voice"
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/arrangements/{arrangement_id}/export/musescore; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/arrangements/{arrangement_id}/export/musicxml; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"voice": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Voice"
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/arrangements/{arrangement_id}/export/pdf; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/arrangements/{arrangement_id}/export/rehearsal/{voice}; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed",
"voice"
],
"properties": {
"voice": {
"type": "string",
"title": "Voice"
},
"format": {
"type": "string",
"title": "Format",
"default": "midi",
"pattern": "^(midi|mp3)$"
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/multitrack/{arrangement_id}/export-stem/{voice}; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed",
"voice"
],
"properties": {
"voice": {
"type": "string",
"title": "Voice"
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}POST /api/arrangements/{arrangement_id}/fix-voice-leading; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/arrangements/{arrangement_id}; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id"
],
"properties": {
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/batch-harmonize/{job_id}; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"title": "Job Id"
}
}
}
}
}GET /api/scores/{arrangement_id}/fit-range; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id"
],
"properties": {
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/harmonize-jobs/{job_id}; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"title": "Job Id"
}
}
}
}
}GET /api/scores/{arrangement_id}; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id"
],
"properties": {
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}POST /api/harmonize; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"NoteInput": {
"type": "object",
"title": "NoteInput",
"required": [
"pitch",
"duration"
],
"properties": {
"tie": {
"anyOf": [
{
"enum": [
"start",
"stop",
"both"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Tie"
},
"lyric": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyric"
},
"pitch": {
"type": "string",
"title": "Pitch"
},
"extend": {
"type": "boolean",
"title": "Extend",
"default": false
},
"tuplet": {
"anyOf": [
{
"$ref": "#/$defs/TupletPosition"
},
{
"type": "null"
}
]
},
"verses": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Verses"
},
"fermata": {
"type": "boolean",
"title": "Fermata",
"default": false
},
"is_rest": {
"type": "boolean",
"title": "Is Rest",
"default": false
},
"duration": {
"type": "number",
"title": "Duration"
},
"syllabic": {
"anyOf": [
{
"enum": [
"single",
"begin",
"middle",
"end"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Syllabic"
}
}
},
"StyleZone": {
"type": "object",
"title": "StyleZone",
"required": [
"start_note",
"end_note",
"style"
],
"properties": {
"style": {
"type": "string",
"title": "Style"
},
"end_note": {
"type": "integer",
"title": "End Note"
},
"start_note": {
"type": "integer",
"title": "Start Note"
}
}
},
"TupletPosition": {
"type": "object",
"title": "TupletPosition",
"required": [
"actual",
"normal",
"position"
],
"properties": {
"actual": {
"type": "integer",
"title": "Actual",
"maximum": 9,
"minimum": 2
},
"normal": {
"type": "integer",
"title": "Normal",
"maximum": 2048,
"minimum": 1
},
"position": {
"type": "integer",
"title": "Position",
"minimum": 0
}
}
},
"HarmonizeRequest": {
"type": "object",
"title": "HarmonizeRequest",
"required": [
"melody",
"key_signature"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Title"
},
"lyrics": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyrics"
},
"melody": {
"type": "array",
"items": {
"$ref": "#/$defs/NoteInput"
},
"title": "Melody"
},
"emotion": {
"type": "string",
"title": "Emotion",
"default": "neutro"
},
"user_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "User Id"
},
"bed_mode": {
"enum": [
"llm",
"deterministic"
],
"type": "string",
"title": "Bed Mode",
"default": "llm"
},
"force_llm": {
"type": "boolean",
"title": "Force Llm",
"default": false
},
"meter_map": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Meter Map"
},
"complexity": {
"type": "string",
"title": "Complexity",
"default": "intermediate"
},
"key_fifths": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Key Fifths"
},
"note_range": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note Range"
},
"style_zones": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/StyleZone"
}
},
{
"type": "null"
}
],
"title": "Style Zones"
},
"user_chords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "User Chords"
},
"free_preview": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Free Preview"
},
"inner_motion": {
"enum": [
"simples",
"moderado",
"movido"
],
"type": "string",
"title": "Inner Motion",
"default": "simples"
},
"llm_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Llm Provider"
},
"melody_voice": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
],
"type": "string",
"title": "Melody Voice",
"default": "soprano"
},
"pickup_beats": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Pickup Beats"
},
"voice_motion": {
"enum": [
"simple",
"balanced",
"flowing"
],
"type": "string",
"title": "Voice Motion",
"default": "balanced"
},
"written_bars": {
"type": "boolean",
"title": "Written Bars",
"default": false
},
"final_cadence": {
"enum": [
"tonic",
"open"
],
"type": "string",
"title": "Final Cadence",
"default": "tonic"
},
"key_signature": {
"type": "string",
"title": "Key Signature"
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"default": "4/4"
},
"key_accidentals": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Key Accidentals"
},
"pickup_declared": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Pickup Declared"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
},
"complexity_level": {
"type": "integer",
"title": "Complexity Level",
"default": 2,
"maximum": 5,
"minimum": 1
},
"custom_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Custom Instruction"
},
"enable_harmonic_bed": {
"type": "boolean",
"title": "Enable Harmonic Bed",
"default": false
},
"composition_metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Composition Metadata"
}
}
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "HarmonizeRequest",
"required": [
"confirmed",
"key_signature",
"melody"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Title"
},
"lyrics": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyrics"
},
"melody": {
"type": "array",
"items": {
"$ref": "#/$defs/NoteInput"
},
"title": "Melody"
},
"compact": {
"type": "boolean",
"title": "Compact",
"default": false,
"description": "Omit bulky diagnostic fields (evaluation/expressive/wissler/harmonic_bed/llm_cost) for preview"
},
"emotion": {
"type": "string",
"title": "Emotion",
"default": "neutro"
},
"user_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "User Id"
},
"bed_mode": {
"enum": [
"llm",
"deterministic"
],
"type": "string",
"title": "Bed Mode",
"default": "llm"
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"force_llm": {
"type": "boolean",
"title": "Force Llm",
"default": false
},
"meter_map": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Meter Map"
},
"complexity": {
"type": "string",
"title": "Complexity",
"default": "intermediate"
},
"key_fifths": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Key Fifths"
},
"note_range": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note Range"
},
"style_zones": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/StyleZone"
}
},
{
"type": "null"
}
],
"title": "Style Zones"
},
"user_chords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "User Chords"
},
"free_preview": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Free Preview"
},
"inner_motion": {
"enum": [
"simples",
"moderado",
"movido"
],
"type": "string",
"title": "Inner Motion",
"default": "simples"
},
"llm_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Llm Provider"
},
"melody_voice": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
],
"type": "string",
"title": "Melody Voice",
"default": "soprano"
},
"pickup_beats": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Pickup Beats"
},
"voice_motion": {
"enum": [
"simple",
"balanced",
"flowing"
],
"type": "string",
"title": "Voice Motion",
"default": "balanced"
},
"written_bars": {
"type": "boolean",
"title": "Written Bars",
"default": false
},
"final_cadence": {
"enum": [
"tonic",
"open"
],
"type": "string",
"title": "Final Cadence",
"default": "tonic"
},
"key_signature": {
"type": "string",
"title": "Key Signature"
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"default": "4/4"
},
"key_accidentals": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Key Accidentals"
},
"pickup_declared": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Pickup Declared"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
},
"complexity_level": {
"type": "integer",
"title": "Complexity Level",
"default": 2,
"maximum": 5,
"minimum": 1
},
"custom_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Custom Instruction"
},
"enable_harmonic_bed": {
"type": "boolean",
"title": "Enable Harmonic Bed",
"default": false
},
"composition_metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Composition Metadata"
}
}
}
}
}GET /api/health; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params | object |
{
"type": "object",
"$defs": {},
"properties": {
"params": {
"type": "object",
"required": [],
"properties": {}
}
}
}GET /api/health/audio; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params | object |
{
"type": "object",
"$defs": {},
"properties": {
"params": {
"type": "object",
"required": [],
"properties": {}
}
}
}GET /api/health/liveness; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params | object |
{
"type": "object",
"$defs": {},
"properties": {
"params": {
"type": "object",
"required": [],
"properties": {}
}
}
}GET /api/health/omr; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params | object |
{
"type": "object",
"$defs": {},
"properties": {
"params": {
"type": "object",
"required": [],
"properties": {}
}
}
}POST /api/arrangements/{arrangement_id}/humanize; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
}
}
}
}GET /api/arrangements; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params | object |
{
"type": "object",
"$defs": {},
"properties": {
"params": {
"type": "object",
"required": [],
"properties": {
"q": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"title": "Q"
},
"sort": {
"anyOf": [
{
"type": "string",
"pattern": "^(recent|alphabetical)$"
},
{
"type": "null"
}
],
"title": "Sort"
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 12,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"default": 0,
"minimum": 0
},
"status": {
"anyOf": [
{
"type": "string",
"pattern": "^(draft|published|archived)$"
},
{
"type": "null"
}
],
"title": "Status"
}
}
}
}
}Exact request contract for a visible operation. Account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| operation* | string |
{
"type": "object",
"required": [
"operation"
],
"properties": {
"operation": {
"type": "string"
}
}
}POST /api/harmonize/plan; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"NoteInput": {
"type": "object",
"title": "NoteInput",
"required": [
"pitch",
"duration"
],
"properties": {
"tie": {
"anyOf": [
{
"enum": [
"start",
"stop",
"both"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Tie"
},
"lyric": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyric"
},
"pitch": {
"type": "string",
"title": "Pitch"
},
"extend": {
"type": "boolean",
"title": "Extend",
"default": false
},
"tuplet": {
"anyOf": [
{
"$ref": "#/$defs/TupletPosition"
},
{
"type": "null"
}
]
},
"verses": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Verses"
},
"fermata": {
"type": "boolean",
"title": "Fermata",
"default": false
},
"is_rest": {
"type": "boolean",
"title": "Is Rest",
"default": false
},
"duration": {
"type": "number",
"title": "Duration"
},
"syllabic": {
"anyOf": [
{
"enum": [
"single",
"begin",
"middle",
"end"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Syllabic"
}
}
},
"StyleZone": {
"type": "object",
"title": "StyleZone",
"required": [
"start_note",
"end_note",
"style"
],
"properties": {
"style": {
"type": "string",
"title": "Style"
},
"end_note": {
"type": "integer",
"title": "End Note"
},
"start_note": {
"type": "integer",
"title": "Start Note"
}
}
},
"TupletPosition": {
"type": "object",
"title": "TupletPosition",
"required": [
"actual",
"normal",
"position"
],
"properties": {
"actual": {
"type": "integer",
"title": "Actual",
"maximum": 9,
"minimum": 2
},
"normal": {
"type": "integer",
"title": "Normal",
"maximum": 2048,
"minimum": 1
},
"position": {
"type": "integer",
"title": "Position",
"minimum": 0
}
}
},
"HarmonizeRequest": {
"type": "object",
"title": "HarmonizeRequest",
"required": [
"melody",
"key_signature"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Title"
},
"lyrics": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyrics"
},
"melody": {
"type": "array",
"items": {
"$ref": "#/$defs/NoteInput"
},
"title": "Melody"
},
"emotion": {
"type": "string",
"title": "Emotion",
"default": "neutro"
},
"user_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "User Id"
},
"bed_mode": {
"enum": [
"llm",
"deterministic"
],
"type": "string",
"title": "Bed Mode",
"default": "llm"
},
"force_llm": {
"type": "boolean",
"title": "Force Llm",
"default": false
},
"meter_map": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Meter Map"
},
"complexity": {
"type": "string",
"title": "Complexity",
"default": "intermediate"
},
"key_fifths": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Key Fifths"
},
"note_range": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note Range"
},
"style_zones": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/StyleZone"
}
},
{
"type": "null"
}
],
"title": "Style Zones"
},
"user_chords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "User Chords"
},
"free_preview": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Free Preview"
},
"inner_motion": {
"enum": [
"simples",
"moderado",
"movido"
],
"type": "string",
"title": "Inner Motion",
"default": "simples"
},
"llm_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Llm Provider"
},
"melody_voice": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
],
"type": "string",
"title": "Melody Voice",
"default": "soprano"
},
"pickup_beats": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Pickup Beats"
},
"voice_motion": {
"enum": [
"simple",
"balanced",
"flowing"
],
"type": "string",
"title": "Voice Motion",
"default": "balanced"
},
"written_bars": {
"type": "boolean",
"title": "Written Bars",
"default": false
},
"final_cadence": {
"enum": [
"tonic",
"open"
],
"type": "string",
"title": "Final Cadence",
"default": "tonic"
},
"key_signature": {
"type": "string",
"title": "Key Signature"
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"default": "4/4"
},
"key_accidentals": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Key Accidentals"
},
"pickup_declared": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Pickup Declared"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
},
"complexity_level": {
"type": "integer",
"title": "Complexity Level",
"default": 2,
"maximum": 5,
"minimum": 1
},
"custom_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Custom Instruction"
},
"enable_harmonic_bed": {
"type": "boolean",
"title": "Enable Harmonic Bed",
"default": false
},
"composition_metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Composition Metadata"
}
}
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "HarmonizeRequest",
"required": [
"key_signature",
"melody"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Title"
},
"lyrics": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyrics"
},
"melody": {
"type": "array",
"items": {
"$ref": "#/$defs/NoteInput"
},
"title": "Melody"
},
"emotion": {
"type": "string",
"title": "Emotion",
"default": "neutro"
},
"user_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "User Id"
},
"bed_mode": {
"enum": [
"llm",
"deterministic"
],
"type": "string",
"title": "Bed Mode",
"default": "llm"
},
"force_llm": {
"type": "boolean",
"title": "Force Llm",
"default": false
},
"meter_map": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Meter Map"
},
"complexity": {
"type": "string",
"title": "Complexity",
"default": "intermediate"
},
"key_fifths": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Key Fifths"
},
"note_range": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note Range"
},
"style_zones": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/StyleZone"
}
},
{
"type": "null"
}
],
"title": "Style Zones"
},
"user_chords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "User Chords"
},
"free_preview": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Free Preview"
},
"inner_motion": {
"enum": [
"simples",
"moderado",
"movido"
],
"type": "string",
"title": "Inner Motion",
"default": "simples"
},
"llm_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Llm Provider"
},
"melody_voice": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
],
"type": "string",
"title": "Melody Voice",
"default": "soprano"
},
"pickup_beats": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Pickup Beats"
},
"voice_motion": {
"enum": [
"simple",
"balanced",
"flowing"
],
"type": "string",
"title": "Voice Motion",
"default": "balanced"
},
"written_bars": {
"type": "boolean",
"title": "Written Bars",
"default": false
},
"final_cadence": {
"enum": [
"tonic",
"open"
],
"type": "string",
"title": "Final Cadence",
"default": "tonic"
},
"key_signature": {
"type": "string",
"title": "Key Signature"
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"default": "4/4"
},
"key_accidentals": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Key Accidentals"
},
"pickup_declared": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Pickup Declared"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
},
"complexity_level": {
"type": "integer",
"title": "Complexity Level",
"default": 2,
"maximum": 5,
"minimum": 1
},
"custom_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Custom Instruction"
},
"enable_harmonic_bed": {
"type": "boolean",
"title": "Enable Harmonic Bed",
"default": false
},
"composition_metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Composition Metadata"
}
}
}
}
}POST /api/arrangements/{arrangement_id}/rechord; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"RechordRequest": {
"type": "object",
"title": "RechordRequest",
"required": [
"chord_plan",
"apply"
],
"properties": {
"apply": {
"type": "boolean",
"title": "Apply"
},
"chord_plan": {
"type": "array",
"items": {
"type": "string"
},
"title": "Chord Plan",
"maxItems": 4096,
"minItems": 1
},
"expected_source_revision": {
"anyOf": [
{
"type": "string",
"maxLength": 64,
"minLength": 1
},
{
"type": "null"
}
],
"title": "Expected Source Revision"
}
},
"additionalProperties": false
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "RechordRequest",
"required": [
"apply",
"arrangement_id",
"chord_plan",
"confirmed"
],
"properties": {
"apply": {
"type": "boolean",
"title": "Apply"
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"chord_plan": {
"type": "array",
"items": {
"type": "string"
},
"title": "Chord Plan",
"maxItems": 4096,
"minItems": 1
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
},
"expected_source_revision": {
"anyOf": [
{
"type": "string",
"maxLength": 64,
"minLength": 1
},
{
"type": "null"
}
],
"title": "Expected Source Revision"
}
},
"additionalProperties": false
}
}
}POST /api/harmonize/recognize; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"NoteInput": {
"type": "object",
"title": "NoteInput",
"required": [
"pitch",
"duration"
],
"properties": {
"tie": {
"anyOf": [
{
"enum": [
"start",
"stop",
"both"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Tie"
},
"lyric": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyric"
},
"pitch": {
"type": "string",
"title": "Pitch"
},
"extend": {
"type": "boolean",
"title": "Extend",
"default": false
},
"tuplet": {
"anyOf": [
{
"$ref": "#/$defs/TupletPosition"
},
{
"type": "null"
}
]
},
"verses": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Verses"
},
"fermata": {
"type": "boolean",
"title": "Fermata",
"default": false
},
"is_rest": {
"type": "boolean",
"title": "Is Rest",
"default": false
},
"duration": {
"type": "number",
"title": "Duration"
},
"syllabic": {
"anyOf": [
{
"enum": [
"single",
"begin",
"middle",
"end"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Syllabic"
}
}
},
"StyleZone": {
"type": "object",
"title": "StyleZone",
"required": [
"start_note",
"end_note",
"style"
],
"properties": {
"style": {
"type": "string",
"title": "Style"
},
"end_note": {
"type": "integer",
"title": "End Note"
},
"start_note": {
"type": "integer",
"title": "Start Note"
}
}
},
"TupletPosition": {
"type": "object",
"title": "TupletPosition",
"required": [
"actual",
"normal",
"position"
],
"properties": {
"actual": {
"type": "integer",
"title": "Actual",
"maximum": 9,
"minimum": 2
},
"normal": {
"type": "integer",
"title": "Normal",
"maximum": 2048,
"minimum": 1
},
"position": {
"type": "integer",
"title": "Position",
"minimum": 0
}
}
},
"HarmonizeRequest": {
"type": "object",
"title": "HarmonizeRequest",
"required": [
"melody",
"key_signature"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Title"
},
"lyrics": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyrics"
},
"melody": {
"type": "array",
"items": {
"$ref": "#/$defs/NoteInput"
},
"title": "Melody"
},
"emotion": {
"type": "string",
"title": "Emotion",
"default": "neutro"
},
"user_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "User Id"
},
"bed_mode": {
"enum": [
"llm",
"deterministic"
],
"type": "string",
"title": "Bed Mode",
"default": "llm"
},
"force_llm": {
"type": "boolean",
"title": "Force Llm",
"default": false
},
"meter_map": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Meter Map"
},
"complexity": {
"type": "string",
"title": "Complexity",
"default": "intermediate"
},
"key_fifths": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Key Fifths"
},
"note_range": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note Range"
},
"style_zones": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/StyleZone"
}
},
{
"type": "null"
}
],
"title": "Style Zones"
},
"user_chords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "User Chords"
},
"free_preview": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Free Preview"
},
"inner_motion": {
"enum": [
"simples",
"moderado",
"movido"
],
"type": "string",
"title": "Inner Motion",
"default": "simples"
},
"llm_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Llm Provider"
},
"melody_voice": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
],
"type": "string",
"title": "Melody Voice",
"default": "soprano"
},
"pickup_beats": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Pickup Beats"
},
"voice_motion": {
"enum": [
"simple",
"balanced",
"flowing"
],
"type": "string",
"title": "Voice Motion",
"default": "balanced"
},
"written_bars": {
"type": "boolean",
"title": "Written Bars",
"default": false
},
"final_cadence": {
"enum": [
"tonic",
"open"
],
"type": "string",
"title": "Final Cadence",
"default": "tonic"
},
"key_signature": {
"type": "string",
"title": "Key Signature"
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"default": "4/4"
},
"key_accidentals": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Key Accidentals"
},
"pickup_declared": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Pickup Declared"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
},
"complexity_level": {
"type": "integer",
"title": "Complexity Level",
"default": 2,
"maximum": 5,
"minimum": 1
},
"custom_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Custom Instruction"
},
"enable_harmonic_bed": {
"type": "boolean",
"title": "Enable Harmonic Bed",
"default": false
},
"composition_metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Composition Metadata"
}
}
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "HarmonizeRequest",
"required": [
"key_signature",
"melody"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "classical"
},
"tempo": {
"type": "integer",
"title": "Tempo",
"default": 80,
"maximum": 200,
"minimum": 40
},
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Title"
},
"lyrics": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyrics"
},
"melody": {
"type": "array",
"items": {
"$ref": "#/$defs/NoteInput"
},
"title": "Melody"
},
"emotion": {
"type": "string",
"title": "Emotion",
"default": "neutro"
},
"user_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "User Id"
},
"bed_mode": {
"enum": [
"llm",
"deterministic"
],
"type": "string",
"title": "Bed Mode",
"default": "llm"
},
"force_llm": {
"type": "boolean",
"title": "Force Llm",
"default": false
},
"meter_map": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Meter Map"
},
"complexity": {
"type": "string",
"title": "Complexity",
"default": "intermediate"
},
"key_fifths": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Key Fifths"
},
"note_range": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note Range"
},
"style_zones": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/StyleZone"
}
},
{
"type": "null"
}
],
"title": "Style Zones"
},
"user_chords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "User Chords"
},
"free_preview": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Free Preview"
},
"inner_motion": {
"enum": [
"simples",
"moderado",
"movido"
],
"type": "string",
"title": "Inner Motion",
"default": "simples"
},
"llm_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Llm Provider"
},
"melody_voice": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
],
"type": "string",
"title": "Melody Voice",
"default": "soprano"
},
"pickup_beats": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Pickup Beats"
},
"voice_motion": {
"enum": [
"simple",
"balanced",
"flowing"
],
"type": "string",
"title": "Voice Motion",
"default": "balanced"
},
"written_bars": {
"type": "boolean",
"title": "Written Bars",
"default": false
},
"final_cadence": {
"enum": [
"tonic",
"open"
],
"type": "string",
"title": "Final Cadence",
"default": "tonic"
},
"key_signature": {
"type": "string",
"title": "Key Signature"
},
"time_signature": {
"type": "string",
"title": "Time Signature",
"default": "4/4"
},
"key_accidentals": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Key Accidentals"
},
"pickup_declared": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Pickup Declared"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
},
"complexity_level": {
"type": "integer",
"title": "Complexity Level",
"default": 2,
"maximum": 5,
"minimum": 1
},
"custom_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Custom Instruction"
},
"enable_harmonic_bed": {
"type": "boolean",
"title": "Enable Harmonic Bed",
"default": false
},
"composition_metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Composition Metadata"
}
}
}
}
}POST /api/arrangements/{arrangement_id}/refine; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "Data",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
},
"additionalProperties": true
}
}
}POST /api/arrangements/{arrangement_id}/regenerate-region; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "Data",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
}
},
"additionalProperties": true
}
}
}POST /api/arrangements/{arrangement_id}/reharmonize-region; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"ReharmonizeRegionRequest": {
"type": "object",
"title": "ReharmonizeRegionRequest",
"required": [
"start_measure",
"end_measure"
],
"properties": {
"style_hint": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
],
"title": "Style Hint"
},
"end_measure": {
"type": "integer",
"title": "End Measure",
"minimum": 0
},
"start_measure": {
"type": "integer",
"title": "Start Measure",
"minimum": 0
},
"expected_source_revision": {
"anyOf": [
{
"type": "string",
"maxLength": 64,
"minLength": 1
},
{
"type": "null"
}
],
"title": "Expected Source Revision"
}
},
"additionalProperties": false
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "ReharmonizeRegionRequest",
"required": [
"arrangement_id",
"confirmed",
"end_measure",
"start_measure"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"style_hint": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
],
"title": "Style Hint"
},
"end_measure": {
"type": "integer",
"title": "End Measure",
"minimum": 0
},
"start_measure": {
"type": "integer",
"title": "Start Measure",
"minimum": 0
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
},
"expected_source_revision": {
"anyOf": [
{
"type": "string",
"maxLength": 64,
"minLength": 1
},
{
"type": "null"
}
],
"title": "Expected Source Revision"
}
},
"additionalProperties": false
}
}
}POST /api/score-ingestion/convert; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"Body_convert_score_api_score_ingestion_convert_post": {
"type": "object",
"title": "Body_convert_score_api_score_ingestion_convert_post",
"required": [
"file"
],
"properties": {
"file": {
"type": "string",
"title": "File",
"contentMediaType": "application/octet-stream"
}
}
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "Body_convert_score_api_score_ingestion_convert_post",
"required": [
"confirmed",
"file_base64",
"file_name"
],
"properties": {
"mode": {
"type": "string",
"title": "Mode",
"default": "auto",
"pattern": "^(melody|full|auto)$"
},
"debug": {
"type": "boolean",
"title": "Debug",
"default": false,
"description": "Include intermediate artifacts in response"
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"file_name": {
"type": "string"
},
"file_base64": {
"type": "string",
"maxLength": 2796204,
"description": "Base64 file bytes, max 2 MiB decoded; HTTP JSON body max 4 MiB"
}
}
}
}
}PUT /api/arrangements/{arrangement_id}; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"anyOf": [
{
"required": [
"alto_voice"
]
},
{
"required": [
"bass_voice"
]
},
{
"required": [
"chord_symbols"
]
},
{
"required": [
"is_shared"
]
},
{
"required": [
"key_signature"
]
},
{
"required": [
"musicxml_content"
]
},
{
"required": [
"soprano_voice"
]
},
{
"required": [
"tenor_voice"
]
},
{
"required": [
"title"
]
},
{
"required": [
"validation_warnings"
]
},
{
"required": [
"voice_leading_score"
]
}
],
"title": "ArrangementUpdate",
"required": [
"arrangement_id",
"confirmed"
],
"properties": {
"title": {
"type": "string",
"title": "Title",
"default": "Sem título",
"maxLength": 200
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"is_shared": {
"type": "boolean",
"title": "Is Shared",
"default": false
},
"alto_voice": {
"anyOf": [
{
"type": "string",
"description": "JSON-serialized array of notes"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"duration"
],
"properties": {
"lyric": {
"type": [
"string",
"null"
]
},
"pitch": {
"type": [
"string",
"null"
]
},
"is_rest": {
"type": "boolean"
},
"duration": {
"type": "number",
"maximum": 16,
"exclusiveMinimum": 0
},
"syllabic": {
"enum": [
"single",
"begin",
"middle",
"end",
null
]
}
}
},
"maxItems": 4096
}
]
},
"bass_voice": {
"anyOf": [
{
"type": "string",
"description": "JSON-serialized array of notes"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"duration"
],
"properties": {
"lyric": {
"type": [
"string",
"null"
]
},
"pitch": {
"type": [
"string",
"null"
]
},
"is_rest": {
"type": "boolean"
},
"duration": {
"type": "number",
"maximum": 16,
"exclusiveMinimum": 0
},
"syllabic": {
"enum": [
"single",
"begin",
"middle",
"end",
null
]
}
}
},
"maxItems": 4096
}
]
},
"tenor_voice": {
"anyOf": [
{
"type": "string",
"description": "JSON-serialized array of notes"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"duration"
],
"properties": {
"lyric": {
"type": [
"string",
"null"
]
},
"pitch": {
"type": [
"string",
"null"
]
},
"is_rest": {
"type": "boolean"
},
"duration": {
"type": "number",
"maximum": 16,
"exclusiveMinimum": 0
},
"syllabic": {
"enum": [
"single",
"begin",
"middle",
"end",
null
]
}
}
},
"maxItems": 4096
}
]
},
"chord_symbols": {
"type": "array",
"items": {
"type": "object",
"required": [
"onset",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"onset": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 4000,
"description": "Final chord symbols (quarter-note onset, text); written into the stored MusicXML"
},
"key_signature": {
"type": "string",
"title": "Key Signature"
},
"soprano_voice": {
"anyOf": [
{
"type": "string",
"description": "JSON-serialized array of notes"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"duration"
],
"properties": {
"lyric": {
"type": [
"string",
"null"
]
},
"pitch": {
"type": [
"string",
"null"
]
},
"is_rest": {
"type": "boolean"
},
"duration": {
"type": "number",
"maximum": 16,
"exclusiveMinimum": 0
},
"syllabic": {
"enum": [
"single",
"begin",
"middle",
"end",
null
]
}
}
},
"maxItems": 4096
}
]
},
"arrangement_id": {
"type": "integer",
"title": "Arrangement Id"
},
"musicxml_content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Musicxml Content"
},
"expected_revision": {
"type": [
"string",
"null"
],
"description": "Revision read from GET; stale revision returns 412"
},
"regenerate_musicxml": {
"type": "boolean",
"default": false
},
"validation_warnings": {
"anyOf": [
{
"type": "string",
"maxLength": 200000
},
{
"type": "null"
}
],
"title": "Validation Warnings"
},
"voice_leading_score": {
"anyOf": [
{
"type": "integer",
"maximum": 100,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
}
}POST /api/upload-melody; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"Body_upload_melody_api_upload_melody_post": {
"type": "object",
"title": "Body_upload_melody_api_upload_melody_post",
"required": [
"file"
],
"properties": {
"file": {
"type": "string",
"title": "File",
"contentMediaType": "application/octet-stream"
}
}
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "Body_upload_melody_api_upload_melody_post",
"required": [
"confirmed",
"file_base64",
"file_name"
],
"properties": {
"confirmed": {
"type": "boolean",
"const": true,
"description": "Explicit execution confirmation"
},
"file_name": {
"type": "string"
},
"file_base64": {
"type": "string",
"maxLength": 2796204,
"description": "Base64 file bytes, max 2 MiB decoded; HTTP JSON body max 4 MiB"
},
"llm_provider": {
"type": "string",
"title": "Llm Provider",
"default": "gemini"
},
"measure_range": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Measure Range"
},
"meter_changes": {
"enum": [
"first",
"map"
],
"type": "string",
"title": "Meter Changes",
"default": "first"
},
"soprano_profile": {
"enum": [
"standard",
"wide"
],
"type": "string",
"title": "Soprano Profile",
"default": "standard"
},
"transpose_octaves": {
"type": "integer",
"title": "Transpose Octaves",
"default": 0,
"maximum": 3,
"minimum": -3
}
}
}
}
}GET /api/usage/stats; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params | object |
{
"type": "object",
"$defs": {},
"properties": {
"params": {
"type": "object",
"required": [],
"properties": {}
}
}
}POST /api/operations/validate-musicxml; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"MusicXMLValidationBody": {
"type": "object",
"title": "MusicXMLValidationBody",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"title": "Xml",
"maxLength": 2000000,
"minLength": 1
}
},
"additionalProperties": false
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "MusicXMLValidationBody",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"title": "Xml",
"maxLength": 2000000,
"minLength": 1
}
},
"additionalProperties": false
}
}
}POST /api/operations/validate-satb; account JWT or service API key required.
| Argument | Type | Description |
|---|---|---|
| params* | object |
{
"type": "object",
"$defs": {
"TupletPosition": {
"type": "object",
"title": "TupletPosition",
"required": [
"actual",
"normal",
"position"
],
"properties": {
"actual": {
"type": "integer",
"title": "Actual",
"maximum": 9,
"minimum": 2
},
"normal": {
"type": "integer",
"title": "Normal",
"maximum": 2048,
"minimum": 1
},
"position": {
"type": "integer",
"title": "Position",
"minimum": 0
}
}
},
"GateContextBody": {
"type": "object",
"title": "GateContextBody",
"properties": {
"stage": {
"type": "string",
"title": "Stage",
"default": "final",
"maxLength": 128
},
"meter_map": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"maxItems": 256
},
{
"type": "null"
}
],
"title": "Meter Map"
},
"raw_stage": {
"type": "string",
"title": "Raw Stage",
"default": "unknown",
"maxLength": 128
},
"raw_counts": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
{
"type": "null"
}
],
"title": "Raw Counts"
},
"chord_track": {
"anyOf": [
{
"type": "array",
"items": {},
"maxItems": 2000
},
{
"type": "null"
}
],
"title": "Chord Track"
},
"output_mode": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"title": "Output Mode"
},
"pickup_beats": {
"anyOf": [
{
"type": "number",
"maximum": 64,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Pickup Beats"
},
"declared_mode": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"title": "Declared Mode"
},
"chord_time_unit": {
"enum": [
"quarter_length",
"metric_beat"
],
"type": "string",
"title": "Chord Time Unit",
"default": "quarter_length"
},
"reference_voice": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
],
"type": "string",
"title": "Reference Voice",
"default": "soprano"
},
"pickup_provenance": {
"type": "string",
"title": "Pickup Provenance",
"default": "unknown",
"maxLength": 128
},
"output_pickup_beats": {
"anyOf": [
{
"type": "number",
"maximum": 64,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Output Pickup Beats"
},
"output_mode_provenance": {
"type": "string",
"title": "Output Mode Provenance",
"default": "unknown",
"maxLength": 128
}
},
"additionalProperties": false
},
"SATBValidationBody": {
"type": "object",
"title": "SATBValidationBody",
"required": [
"satb",
"melody_ref",
"key"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"maxLength": 128,
"minLength": 1
},
"satb": {
"type": "object",
"title": "Satb",
"propertyNames": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
]
},
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/$defs/OperationalNoteInput"
}
}
},
"tier": {
"type": "string",
"title": "Tier",
"default": "free",
"maxLength": 32
},
"style": {
"type": "string",
"title": "Style",
"default": "classical",
"maxLength": 128
},
"context": {
"$ref": "#/$defs/GateContextBody"
},
"time_sig": {
"type": "string",
"title": "Time Sig",
"default": "4/4",
"maxLength": 16,
"minLength": 3
},
"melody_ref": {
"type": "array",
"items": {
"$ref": "#/$defs/OperationalNoteInput"
},
"title": "Melody Ref",
"maxItems": 2000,
"minItems": 1
}
},
"additionalProperties": false
},
"OperationalNoteInput": {
"type": "object",
"title": "OperationalNoteInput",
"required": [
"pitch",
"duration"
],
"properties": {
"tie": {
"anyOf": [
{
"enum": [
"start",
"stop",
"both"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Tie"
},
"lyric": {
"anyOf": [
{
"type": "string",
"maxLength": 2048
},
{
"type": "null"
}
],
"title": "Lyric"
},
"pitch": {
"type": "string",
"title": "Pitch",
"maxLength": 64,
"minLength": 1
},
"extend": {
"type": "boolean",
"title": "Extend",
"default": false
},
"tuplet": {
"anyOf": [
{
"$ref": "#/$defs/TupletPosition"
},
{
"type": "null"
}
]
},
"verses": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Verses"
},
"fermata": {
"type": "boolean",
"title": "Fermata",
"default": false
},
"is_rest": {
"type": "boolean",
"title": "Is Rest",
"default": false
},
"duration": {
"type": "number",
"title": "Duration"
},
"syllabic": {
"anyOf": [
{
"enum": [
"single",
"begin",
"middle",
"end"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Syllabic"
}
}
}
},
"required": [
"params"
],
"properties": {
"params": {
"type": "object",
"title": "SATBValidationBody",
"required": [
"key",
"melody_ref",
"satb"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"maxLength": 128,
"minLength": 1
},
"satb": {
"type": "object",
"title": "Satb",
"propertyNames": {
"enum": [
"soprano",
"alto",
"tenor",
"bass"
]
},
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/$defs/OperationalNoteInput"
}
}
},
"tier": {
"type": "string",
"title": "Tier",
"default": "free",
"maxLength": 32
},
"style": {
"type": "string",
"title": "Style",
"default": "classical",
"maxLength": 128
},
"context": {
"$ref": "#/$defs/GateContextBody"
},
"time_sig": {
"type": "string",
"title": "Time Sig",
"default": "4/4",
"maxLength": 16,
"minLength": 3
},
"melody_ref": {
"type": "array",
"items": {
"$ref": "#/$defs/OperationalNoteInput"
},
"title": "Melody Ref",
"maxItems": 2000,
"minItems": 1
}
},
"additionalProperties": false
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 23, 2026.