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

Base URL
https://api.prisx.tech

Every 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

  1. Create a key. Open the console, create an API key and copy it. It is shown once.
  2. Post a song. Send the audio to POST /v1/charts. You get back a chart job with an id, and the cost is charged straight away.
  3. Poll and download. Poll GET /v1/charts/{id} every 5 to 10 seconds until status is succeeded, then fetch /content for the zip.
curl
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.zip

The 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.