Table of Contents:
MagicPattern is a service that auto generates graphics like patterns & gradients.
The MagicPattern API allows you to integrate engaging patterns into your existing application via a simple REST API.
You can create patterns with your branding colors, choose between 11 different shape packs & customize their dimensions.
<https://api.magicpattern.design>
<aside> 💡 You can find the API key at the Account page on your dashboard.
</aside>
MagicPattern uses API keys to allow access to the API. You can authenticate your API calls in two ways:
Authorization: Bearer API_KEY
https://api.magicpattern.design/v1/generator?apiKey=API_KEY
<aside> ⚠️ Don't publicly expose your API key!
The API has monthly credit limits (1 credit = 1 generated graphic). Then if your key becomes available in the public, other people might use it and reduce your available limit.
If you think your API key is leaked, you can always regenerate a new one on your MagicPattern account page.
</aside>
The MagicPattern API uses the following status/error codes. The MagicPattern API rate limit is 60 requests per 60 seconds.
200
OK