(optional) Color to applied to the background. Does not apply for border_add
image_id
string
(optional, If image_url is supplied) id of the image asset to be used as background
mode
string
(optional) Mode to be used for the background image. Can be "as-is" (to use the background image as-is) or "stretch" (to stretch the background image to fit the image). Defaults to "stretch"
options for border_add
Parameter
Type
Description
image_id
string
Id of the image asset to be used
Options for graphics_add
A list of graphics can be added to the image. Each graphics can be of type image. The graphics can be added to the image using the position parameter.
Parameter
Type
Description
color
string
(optional) Color to applied to the background
image_url
string
(optional, If image_id is supplied) url of the image to be used as background
image_id
string
(optional, If image_url is supplied) id of the image asset to be used as background
position
JSON
Position of the graphics to be added to the image. The position is specified as a JSON object with x and y coordinates.
size
JSON
Size of the graphics to be added to the image. The size is specified as a JSON object with width and height.