tencent cloud

文档反馈

Data Types

最后更新时间:2024-10-31 15:15:58

    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.
    联系我们

    联系我们,为您的业务提供专属服务。

    技术支持

    如果你想寻求进一步的帮助,通过工单与我们进行联络。我们提供7x24的工单服务。

    7x24 电话支持