Go to website
Topics related to using the cloudlayer.io API.
How do I create an image with the API?
To create an image using one of our image endpoints, you must send an HTTP POST request to the corresponding endpoint. Since we have many endpoints that generate images, you will need to find the correct one for your scenario. For in-depth documentation on using the API, check out our API Reference documentation.. For an example of using the API checkout, our Examples section in our documentation..
What is an API Credit?
An API credit is what you get charged for using our service. Most API calls are a single API Credit, so 1 API Credit equals 1 API Call in most cases. However, some calls cost additional API Credits, so please take a look at our documentation to understand those situations. In addition, taking a look at the job details shows you the API Credit cost for the job.
Where do I get my API key?
You can obtain your API Key from the API Keys section in settings.
What is a webhook?
Every API request can be passed in a webhook where the completed response will be sent upon completion. This URL must be an HTTPS endpoint and publicly accessible via the internet.
Why is the asset not returned in the response?
The asset is only returned in the response if storage is explicitly disabled. The asset object gets stored in your account's cloud storage by default. These assets are also cached in our CDN and available for public access using the Public CDN URL. There are no bandwidth, API Credits, or other costs associated with using assets from your cloud storage account via the Public CDN URL. Therefore, it is highly advisable to keep storage enabled to access all of the features available to you in your a