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
templateId
string
required

ID of the design template to use.

elements
object

Modifications to apply to the template elements.

Response

200 - application/json
details
object
imageURL
string

URL of the generated image

message
string
requestCompletionTime
string

Time taken to complete the request

status
string
statusCode
integer
timestamp
string
usage
object