Skip to main content
This section covers FAQs regarding our API. If you haven’t found the answer to your question here, please have a look at our knowledge base or please feel free to contact our support team.

How do I get an API key?

Start by creating an account. Then create an API key by logging in to your account’s page. You can find more information about how to get started here.

Why isn’t my API key working?

If you are trying to use your API key in an application or custom integration, the API key may seem invalid for a variety of reasons. As a good first troubleshooting step, confirm the validity of your API key by logging into your account.
  • Confirm your account has sufficient credits available (by visiting the billing page).
  • Verify your API key is correct: some characters may appear the same (O and 0), so it is recommended to copy and paste the key rather than retyping it.
  • Try creating a new API key.

How many requests can I send per second when calling the API?

This API is rate-limited to 150 requests every 10 seconds. If you exceed this limit, you will receive a 429 response and be timed out for 60 seconds. If you find this limit too restrictive, please reach out to us via this form.

Can I use the API outputs for commercial purposes?

Yes, you can use the outputs generated by our APIs for commercial purposes, as long as the output doesn’t violate any copyrights. You can read more in the Stability AI Terms of Service.

Where can I find uptime and status information for the API?

API uptime and status information is available on Stability AI API Status Page.

How do I get usage statistics for my account or API keys?

Stay tuned! This is a planned feature.

Can I switch to an invoice-based payment?

For large credit purchases and Enterprise deals, please contact our sales team.

What are your policies regarding privacy and terms of service?

Usage of the API is subject to the Stability AI Terms of Service, Acceptable Use Policy, and Privacy Policy.

What are your terms and conditions for promotion codes?

Promotion Code(s) are valid for a fixed amount of time displayed in the promotion, and may only be redeemed for the purchase of Stability AI API credits. Stability AI reserves the right to exclude certain products and services from Promotion Code(s) at our sole discretion. Promotion Code(s) cannot be combined with other discounts, offers, or promotions. One redemption per individual or organization. Promotion Code(s) are not valid on previously purchased or current Stability API credits and may not be purchased, have no cash value, and are not redeemable for cash or other credits. Promotion Code(s) are strictly non-transferable and may not be shared (including posted on any public forum, social media, a discount code aggregation site), duplicated, resold, auctioned, or traded. Stability AI reserves the right to modify or discontinue the Promotion Code(s) at any time. Your use and redemption of the Promotion Code(s) is subject to our Terms of Service and Privacy Policy. You acknowledge and agree that Promotional Code(s) you redeem may only provide a discount for Stability AI credits.
If you haven’t found the answer to your question here, please feel free to contact support.