Create Template
POST
https://apis.autobg.ai/public/api/v1/templates/create
generating eye-catching automotive images.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apis.autobg.ai/public/api/v1/templates/create' \
--header 'Authorization;' \
--form 'background=@""' \
--form 'side=@""' \
--form 'frontRear=@""' \
--form 'numberPlate=@""' \
--form 'brandLogo=@""' \
--form 'numPlate=""' \
--form 'bAlignment=""' \
--form 'name=""' \
--form 'numPlateBgHexCode="#FFFFFF"'
Response Response Example
200 - Example 1
{
"status": true,
"message": "string",
"data": {
"templateID": 0
}
}
Request
Body Params multipart/form-data
background
file
required
side
file
optional
frontRear
file
optional
numberPlate
file
optional
brandLogo
file
optional
numPlate
boolean
required
bAlignment
string
optional
name
string
required
numPlateBgHexCode
string
optional
Example:
#FFFFFF
Responses
Modified at 2024-05-24 12:16:43