Logo parameter
Used by actions: ImageToImage.
Name | Type | Required | Description |
---|---|---|---|
LogoUrl | String | No | Logo URL |
LogoImage | String | No | Logo Base64 code. Either the Base64 code or URL must be provided. If both are provided, URL prevails. |
LogoRect | LogoRect | No | Coordinates of the logo image in the generated image. The logo image will be stretched according to the coordinates. |
Input box
Used by actions: ImageToImage.
Name | Type | Required | Description |
---|---|---|---|
X | Integer | No | X-axis coordinate of the upper left corner |
Y | Integer | No | Y-axis coordinate of the upper left corner |
Width | Integer | No | Box width |
Height | Integer | No | Box height |
Return result configurations
Used by actions: ImageToImage.
Name | Type | Required | Description |
---|---|---|---|
Resolution | String | No | Generated image resolution. Images with the following resolutions can be generated: origin (The resolution is the same as the input image resolution, with the edge resolution of up to 2000. The image will be zoomed out proportionally if the resolution is exceeded.), 768:768 (1:1), 768:1024 (3:4), and 1024:768 (4:3). If the resolution is not specified, origin is used by default. The generated image may be cropped if the aspect ratio of the generated image is too different from that of the input image. |
この記事はお役に立ちましたか?