Skip to content
Documentation

HTTP API

JSON in, JSON out, one bearer key per account. The same endpoints the web app uses for its own job pages.

Authentication

Create a key at /account/keys. Send it as a bearer token. Keys are shown once and stored hashed, so a lost key is revoked and replaced, never recovered.

curl https://makemeshes.com/api/v1/me -H "Authorization: Bearer mm_live_yourkeyhere"

Every request is limited to 120 per minute per key. Over that you get a 429 with retry_after in the body.

Submit a job

POST /api/v1/jobs
curl -X POST https://makemeshes.com/api/v1/jobs \
  -H "Authorization: Bearer mm_live_yourkeyhere" \
  -H "Content-Type: application/json" \
  -d '{"type":"texture","prompt":"rusted ship hull plate, 2 metre tile"}'

Body fields: type is sprite, texture or mesh. prompt is 3 to 600 characters. Nothing else is required.

{
  "job": {
    "id": "0f2b1c4e-7a51-4d3e-9a2b-3c4d5e6f7a8b",
    "type": "texture",
    "status": "queued",
    "progress": 0,
    "prompt": "rusted ship hull plate, 2 metre tile",
    "credits_cost": 1,
    "created_at": "2026-11-28T10:04:11.221Z",
    "download_url": null,
    "preview_url": null
  },
  "credits_left": 59,
  "next": "Poll /api/v1/jobs/0f2b... until status is complete or failed."
}

Credits are held at submission. If the render fails they come back automatically, including when the GPU box dies mid render.

Poll a job

GET /api/v1/jobs/{id}

Status moves queued then running then complete or failed. Polling every two seconds is polite; every 250 milliseconds is not.

curl https://makemeshes.com/api/v1/jobs/0f2b1c4e-7a51-4d3e-9a2b-3c4d5e6f7a8b \
  -H "Authorization: Bearer mm_live_yourkeyhere"

When the job is complete the same object carries download_url and preview_url. Those are signed links into a private bucket, valid for one hour.

List jobs

GET /api/v1/jobs?limit=20

Newest first. limit is 1 to 100 and defaults to 20.

List assets

GET /api/v1/assets?limit=20

Only files that finished rendering. Each entry has a signed download_url, the filename, the content type and the size in bytes.

Account

GET /api/v1/me

Email, display name, plan, credits and invites remaining, plus the key's own name and prefix so a script can check which key it is holding.

Errors

Errors are JSON with an error.code and a sentence you can show a human.

{"error":{"code":"cannot_submit","message":"This needs 3 credits and the account has 1."}}
StatusWhenWhat to do
400Bad type, short prompt, malformed JSONFix the body.
401Missing, wrong or revoked keyCreate a new key.
402Not enough creditsWait for a refund or an admin top up.
404Job or asset is not on this accountCheck the id.
429Rate limit, daily quota or too many concurrent jobsBack off and retry.

Quotas

  • 3 jobs queued or running at once per account.
  • 40 jobs per 24 hours per account.
  • 120 API requests per minute per key.

OpenAPI

/openapi.json describes every endpoint above, including the error shape. Point a client generator at it instead of reading this page twice.

All documentation