tencent cloud

Feedback

Data Types

Last updated: 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.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support