Every request to the MuseAI API must include your API key.
Last updated: August 2026
Send your API key in the Authorization header:
Authorization: Bearer sk_museai_xxxxxxxxxxxxKeys are bound to your account and consume your credit balance. Never share keys, and rotate them from Settings if you suspect a leak.
All errors return JSON with a message field:
{
"success": false,
"message": "Insufficient credits. You have 0 credits, 1 required.",
"errors": null
}