API Reference
Generate Image
Generates an image based on a specified design template. Requires a template ID and optional modifications to customize the output.
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
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
templateId
string
requiredID of the design template to use.
elements
object
Modifications to apply to the template elements.
Response
200 - application/json
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