import * as $dara from '@darabonba/typescript'; export declare class ImageMattingRequest extends $dara.Model { /** * @remarks * Specifies the background type of the returned image. Valid values: * * - WHITE_BACKGROUND: white background. * - TRANSPARENT: transparent background. * * This parameter is required. * * @example * WHITE_BACKGROUND */ backGroundType?: string; /** * @remarks * BGColor * * @example * 255,255,255 */ bgColor?: string; /** * @remarks * The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels. The file size cannot exceed 10 MB.
**Example**: `"https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg"` * * This parameter is required. * * @example * https://sc02.alicdn.com/kf/H09364d2c7fc942e685d3b0f656261b24Q.png */ imageUrl?: string; /** * @remarks * The target image height in pixels. * * @example * 800 */ targetHeight?: number; /** * @remarks * The target image width in pixels. * * @example * 800 */ targetWidth?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }