Turn a song into a chart. Audio in, maimai DX chart out.
The PrisX AI API takes an audio file and returns a playable maidata.txt, the simai chart format, for the difficulties you ask for. It is a plain HTTPS and JSON API: upload a song, poll the job, download a zip.
The model
Charts are written by MPR 2.0, which is two models working in turn. MPR Aria 2.0 decides when notes happen. MPR Sonata 2.0 v2.1 then decides what each note is and where it goes on the ring. An optional HandSim 2.0 reranking step is available but experimental, and is off by default. See Models.
Base URL
https://api.prisx.techEvery endpoint lives under /v1. Requests are authenticated with an API key (see Authentication) and responses are JSON, except the final download, which is a zip.
Access
The API is a closed beta. Access is open to members of the PrisX Discord server who hold the beta role. Sign in to the console with Discord and the platform checks your membership; the check is repeated daily, so losing the role also ends API access.
Quick start
- Create a key. Open the console, create an API key and copy it. It is shown once.
- Post a song. Send the audio to
POST /v1/charts. You get back a chart job with anid, and the cost is charged straight away. - Poll and download. Poll
GET /v1/charts/{id}every 5 to 10 seconds untilstatusissucceeded, then fetch/contentfor the zip.
export PRISX_API_KEY="prx-..."
# 1. create a MASTER chart
curl https://api.prisx.tech/v1/charts \
-H "x-api-key: $PRISX_API_KEY" \
-F audio=@song.mp3
# 2. poll (use the id from step 1)
curl https://api.prisx.tech/v1/charts/chart_... \
-H "x-api-key: $PRISX_API_KEY"
# 3. download the zip once status is "succeeded"
curl https://api.prisx.tech/v1/charts/chart_.../content \
-H "x-api-key: $PRISX_API_KEY" -o chart.zipThe Charts page has the full reference with Python and JavaScript examples.
What to expect
Charts are research output. MPR can produce patterns that are awkward to play, or that cannot be played at all, and quality varies from song to song. Treat a result as a draft to play through and edit, not a finished chart. A typical three-minute song takes a few minutes to generate.