import * as $dara from '@darabonba/typescript'; export declare class ImageTranslationStandardRequest extends $dara.Model { /** * @remarks * The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified. * * @example * glossary_1 */ glossary?: string; /** * @remarks * - Image URL: Must be publicly accessible. * - Format: png, jpeg, jpg, bmp, or webp. * - Pixels: Both width and height must not exceed 4000. * - File size: The original file must be ≤ 10 MB. * * This parameter is required. * * @example * https://images-na.ssl-images-amazon.com/images/I/41bKsNBDcwL.jpg */ imageUrl?: string; /** * @remarks * Specifies whether to translate text on the image subject. This parameter is optional. Default value: false. This helps protect information and avoids translating embedded information such as product names. * * @example * false */ includingProductArea?: boolean; /** * @remarks * The source language code. This parameter is required. * For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html). * For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping). * * This parameter is required. * * @example * en */ sourceLanguage?: string; /** * @remarks * The target language code. This parameter is required. * For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html). * For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping). * * This parameter is required. * * @example * ko */ targetLanguage?: string; /** * @remarks * Specifies whether to translate brand names on the image. This parameter is optional. Default value: false. This helps protect brand name information from being translated. * * @example * false */ translatingBrandInTheProduct?: boolean; /** * @remarks * Specifies whether to return layer information such as text position, font, and color. If this parameter is set to true, layer information is returned, which can be used to connect to an image editor for secondary editing. Default value: false. * * @example * false */ useImageEditor?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }