The Stable API uses API keys to authenticate requests.

Since we’re still in beta, you’ll have to reach out to us at [email protected] to create, view, and otherwise manage your API keys. Don’t worry, you’ll be able to configure everything yourself in the future!

Your API keys grant permissions to your account and should be treated like a password — keep them secure! Do not share your API keys on public GitHub pages, client-side codes, etc.

Authentication to the Stable API is performed via the x-api-key header. Provide your API Key as the value for the x-api-key header when sending a request.


curl -H "x-api-key: {your-api-key}"