Get the details of a image project. The downloads field will be empty unless the image was successfully rendered.
The image can be one of the following status
draft - not currently usedqueued - the job is queued and waiting for a GPUrendering - the generation is in progresscomplete - the image is successful createderror - an error occurred during renderingcanceled - image render is canceled by the userBearer authentication header of the form Bearer <api_key>, where <api_key> is your API key. To get your API key, go to Developer Hub and click "Create new API Key".
Unique ID of the image project. This value is returned by all of the POST APIs that create an image.
"cuid-example"
Success
Success
Unique ID of the image. This value can be used in the get image project API to fetch additional details such as status
"cuid-example"
The name of the image.
"Example Name"
The status of the image.
draft, queued, rendering, complete, error, canceled "complete"
Number of images generated
1
The type of the image project. Possible values are AI_HEADSHOT, AI_IMAGE, IMAGE_UPSCALER, FACE_SWAP, PHOTO_EDITOR, QR_CODE, BACKGROUND_REMOVER, CLOTHES_CHANGER, AI_MEME, FACE_EDITOR, PHOTO_COLORIZER, AI_GIF, AI_SELFIE, AI_IMAGE_EDITOR
"AI_IMAGE"
Indicates whether the resource is deleted
Deprecated: Previously represented the number of frames (original name of our credit system) used for image generation. Use 'credits_charged' instead.
5
The amount of credits deducted from your account to generate the image. We charge credits right when the request is made.
If an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund.
5
In the case of an error, this object will contain the error encountered during video render
null