tencent cloud

Data Types
最后更新时间:2025-10-30 21:26:14
Data Types
最后更新时间: 2025-10-30 21:26:14

LogoParam

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.

LogoRect

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

ResultConfig

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.
本页内容是否解决了您的问题?
您也可以 联系销售 提交工单 以寻求帮助。

文档反馈