POST
/
image
/
generate

Very Important: This operation will use your account credits. Each image generated will reduce your credits by one (1 image = 1 credit), proceed with caution.


Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Details required for generating an image
templateId
string
required

ID of the design template to use.

elements
object

Modifications to apply to the template elements.

Response

200
application/json
Image successfully generated
status
string
statusCode
integer
message
string
imageURL
string

URL of the generated image

details
object
usage
object
requestCompletionTime
string

Time taken to complete the request

timestamp
string