import * as $dara from '@darabonba/typescript'; export declare class ImageTranslationStandardResponseBodyDataEditInfoGoodsRects extends $dara.Model { /** * @remarks * The rotation angle. */ degree?: number; /** * @remarks * The height. */ height?: number; /** * @remarks * The left coordinate. */ left?: number; /** * @remarks * The top coordinate. */ top?: number; /** * @remarks * The width. */ width?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsImageRect extends $dara.Model { /** * @remarks * The rotation angle. */ degree?: number; /** * @remarks * The height. */ height?: number; /** * @remarks * The left coordinate. */ left?: number; /** * @remarks * The top coordinate. */ top?: number; /** * @remarks * The width. */ width?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsTextRect extends $dara.Model { /** * @remarks * The rotation angle. */ degree?: number; /** * @remarks * The height. */ height?: number; /** * @remarks * The left coordinate. */ left?: number; /** * @remarks * The top coordinate. */ top?: number; /** * @remarks * The width. */ width?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ImageTranslationStandardResponseBodyDataEditInfoTextAreasTexts extends $dara.Model { /** * @remarks * The color. * * @example * #9d7746 */ color?: string; /** * @remarks * The font size. * * @example * 42 */ fontsize?: number; /** * @remarks * The horizontal layout. * * @example * left */ horizontalLayout?: string; /** * @remarks * The image area. */ imageRect?: ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsImageRect; /** * @remarks * The language. * * @example * zh */ language?: string; /** * @remarks * The line count. * * @example * 1 */ lineCount?: number; /** * @remarks * The text area. */ textRect?: ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsTextRect; /** * @remarks * Indicates whether the text is valid. * * @example * true */ valid?: boolean; /** * @remarks * The text value. * * @example * Solid Wood Wardrobe */ value?: string; /** * @remarks * The vertical layout. * * @example * center */ verticalLayout?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ImageTranslationStandardResponseBodyDataEditInfoTextAreas extends $dara.Model { /** * @remarks * The color. * * @example * #000000 */ color?: string; /** * @remarks * The content. * * @example * SOLIDWOOD WARDROBE */ content?: string; /** * @remarks * The font size. * * @example * 36 */ fontsize?: number; /** * @remarks * The horizontal layout. * * @example * left */ horizontalLayout?: string; /** * @remarks * The line count. * * @example * 2 */ lineCount?: number; /** * @remarks * The list of texts. */ texts?: ImageTranslationStandardResponseBodyDataEditInfoTextAreasTexts[]; /** * @remarks * The vertical layout. * * @example * center */ verticalLayout?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ImageTranslationStandardResponseBodyDataEditInfo extends $dara.Model { /** * @remarks * The list of fonts used. * * @example * ["NotoSansSC-Bold"] */ font?: string[]; /** * @remarks * The product area rectangles. */ goodsRects?: ImageTranslationStandardResponseBodyDataEditInfoGoodsRects; /** * @remarks * The product image URL. * * @example * https://xiuxiu-pro.meitudata.com/posters/34d78f9157e5560a4d612949ca6f6485.jpg */ goodsUrl?: string; /** * @remarks * The list of target languages. * * @example * ["zh"] */ languages?: string[]; /** * @remarks * The original image URL. * * @example * https://xiuxiu-pro.meitudata.com/posters/34d78f9157e5560a4d612949ca6f6485.jpg */ pictUrl?: string; /** * @remarks * The repaired image URL. * * @example * http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.png */ repairedUrl?: string; /** * @remarks * The list of repaired image URLs. * * @example * ["http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.png"] */ repairedUrls?: string[]; /** * @remarks * The list of result image IDs. * * @example * ["c18ab570-81aa-11f1-a14a-5ee00dcfdc3c"] */ resultImageIds?: string[]; /** * @remarks * The list of result image URLs. * * @example * ["http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.jpg"] */ resultUrls?: string[]; /** * @remarks * The list of text areas. */ textAreas?: ImageTranslationStandardResponseBodyDataEditInfoTextAreas[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ImageTranslationStandardResponseBodyData extends $dara.Model { /** * @remarks * The edit information. */ editInfo?: ImageTranslationStandardResponseBodyDataEditInfo; /** * @remarks * The URL of the image generated after image translation. * * @example * http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.jpg */ imageUrl?: string; /** * @remarks * The usage information, including the number of processed images. * * @example * {"ProcessedImageCount":1} */ usageMap?: { [key: string]: number; }; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ImageTranslationStandardResponseBody extends $dara.Model { /** * @remarks * The response code. A value of 200 indicates a successful call. For other response codes, refer to the error code information. * * @example * 200 */ code?: string; /** * @remarks * The translation result data, including the translated image URL and usage information. */ data?: ImageTranslationStandardResponseBodyData; /** * @remarks * The error message. "Success" is returned for a successful call. A specific error message is returned for a failed call. * * @example * Success */ message?: string; /** * @remarks * The request ID, which uniquely identifies the request. * * @example * 1CEC4D94-905A-1ED1-A7B4-1BFEFFB3D850 */ requestId?: string; /** * @remarks * Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure. * * @example * true */ success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }