Async endpoint returns a response without waiting for an actual result. The actual result should be queried with another request. So you can request image editing and separately get the result after it's ready.
Request image processing
The request body for async endpoint is the same as for regular image edit operation. See Image edit contract for more info.
Async Image Edit
POST /v1-beta1/image/edit/async HTTP/1.1
Authorization: Bearer 12354567890
Read a response
Once you have made the request to https://api.claid.ai/v1-beta1/image/edit/async you will get a response with information about request status and some other details (listed below).
Request information shown in the response:
Request processing status. For a valid requst can only have one value: ACCEPTED.
URL of GET endpoint that can be used to get the result manually and get request status while it is still in process.
Exact time when the processing was requested.
The body of the request that was used for processing.