Back to home

Authentication

Every request to the MuseAI API must include your API key.

Last updated: August 2026

Bearer tokens

Send your API key in the Authorization header:

Authorization: Bearer sk_museai_xxxxxxxxxxxx

Keys are bound to your account and consume your credit balance. Never share keys, and rotate them from Settings if you suspect a leak.

Rate limits

Free20 req/min5 credits/day
Starter60 req/min100 credits
Pro120 req/min500 credits
Scale300 req/min2000 credits

Errors

All errors return JSON with a message field:

{
  "success": false,
  "message": "Insufficient credits. You have 0 credits, 1 required.",
  "errors": null
}