API Reference
request and response description
Last updated
request and response description
Last updated
Below, you can see all possible options for the request body. See the and sections to learn more about Background Generation options.
Request
Once you have made the request to https://api.claid.ai/v1-ea/scene/create
you will get a response with information about input text and output images.
Image information is shown in the response:
ext
string
File extension. Will have png
value
mps
integer
Megapixel count
mime
string
MIME type (also known as ‘media type’)
width
integer
Image width in pixels
height
integer
Image height in pixels
format
string
File format. Will have png
value
tmp_url
string
Temporary URL of a processed image. Will be empty if output
is specified
Response body
See the and to learn about headers.
Specifies:
object
)scene
)output
)URL of the output images. If output
is not defined, we store the output image on our bucket and return the temporary URL. Images are stored for one day.
{"number_of_images":4,"format":"png"}
Manipulate object on the scene so that the output images meet your requirements.
Customize the scene so that the output images meet your requirements.
Wrapper for responses