API Reference
request and response description
Image generation contract
{
"input": "A delicious ceviche cheesecake slice",
"options": {
"number_of_images": 1,
"guidance_scale": 5.0
},
"output": "storage://{storage_name}/{image_folder}/"
}To work with the Claid API, send requests over HTTPS and authenticate using the Authorization header in the following format:Authorization: Bearer <YOUR_API_KEY>. You do not need to provide a password.
To get your API key, sign in to your Claid account and click Create API key button from the Overview or API keys pages.
Claid API’s base URL is https://api.claid.ai/v1/. All available endpoints are listed in the Storage and Image sections.
Bearer
This API uses OAuth 2.0 bearer token (API key) to authorize requests.
Text prompt that will be used to generate image(s). Should be from 3 to 1024 characters.
A delicious ceviche cheesecake sliceURL of the output folder. If output is not defined, we store the output image on our bucket and return the temporary URL, in this case images are stored for one day.
storage://storage_1/output_folder/Successful Response
Authorization is required.
No API calls left.
Not enough permissions.
Unprocessable Entity.
Too many requests.
Request headers:
Read a response
Response headers:
Last updated
