<aside> ⚠️ Access to the MagicPattern API access is still in alpha testing and only the PRO accounts are eligible for up to 1000 credits per month. For more credits, reach out at email@example.com
For now, the geometric patterns tool is available via the API. More tools will be supported in the future.
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.
<aside> 💡 You can find the API key at the Account page on your dashboard.
MagicPattern uses API keys to allow access to the API. You can authenticate your API calls in two ways:
Authorization: Bearer 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.
The MagicPattern API uses the following status/error codes. The MagicPattern API rate limit is 60 requests per 60 seconds.