API Reference
request and response description
Image generation contract
Below you can see all possible options for the request body. See the Image Generation Options and Image Generation I/O sections to learn more about image operations.
Request
Request headers:
In order to send a request, you should set Content-Type
header to let our system know that you provide a valid JSON payload and Authorization
header with a generated API key to identify yourself as a Claid user.
Read a response
Once you have made the request to https://api.claid.ai/v1-beta1/image/generate
you will get a response with information about input text and output images.
Image information is shown in the response:
Response body
Response headers:
Rate limit headers will help you understand what number of requests you are able to send according to the current limits on your account:
Request ID header allows to identify your request during image processing, so we are able to help you with troubleshooting and profiling your request if needed.
Last updated