{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-alimt/create-async-translate":{"post":{"operationId":"cloud_aliyun_alimt_create_async_translate","summary":"The machine asynchronous translation job creation API supports translation of up to 1 million characters.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SourceLanguage","TargetLanguage","SourceText","Scene","FormatType","ApiType"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"SourceLanguage":{"type":"string","description":"Source language. For language codes, see Language Code Reference…"},"TargetLanguage":{"type":"string","description":"Target language. For language codes, see the reference"},"SourceText":{"type":"string","description":"Content to be translated"},"Scene":{"type":"string","description":"Scenario. Supported values include: general, title (product title), description (product description), message (buyer-seller…"},"FormatType":{"type":"string","description":"The format of the text to translate: html (web page format; when this parameter is set, both the source text and the translated text are…"},"ApiType":{"type":"string","description":"Version type. You must select one version: General-purpose Edition: translate_standard Professional Edition: translate_ecommerce"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/create-doc-translate-task":{"post":{"operationId":"cloud_aliyun_alimt_create_doc_translate_task","summary":"Creates a document translation task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SourceLanguage","TargetLanguage","FileUrl"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"SourceLanguage":{"type":"string","description":"The source language. For more information, see Language codes…"},"TargetLanguage":{"type":"string","description":"The target language. For more information, see Language codes…"},"FileUrl":{"type":"string","description":"The URL of the document"},"Scene":{"type":"string","description":"The scenario. Valid values: \\`general\\`, \\`title\\` (product titles), \\`description\\` (product descriptions), \\`message\\` (buyer-seller…"},"CallbackUrl":{"type":"string","description":"The webhook address for the translation result. The server sends a POST request to this address. Request body Raw JSON Parameter…"},"ClientToken":{"type":"string","description":"Ensures idempotence. A request with the same client token is processed only once within 3 minutes"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/create-image-translate-task":{"post":{"operationId":"cloud_aliyun_alimt_create_image_translate_task","summary":"Create an asynchronous image translation job. Image translation includes capabilities such as OCR, text…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["UrlList","SourceLanguage","TargetLanguage"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"UrlList":{"type":"string","description":"The URLs of images for translation. Separate multiple image URLs with commas. The number of images cannot exceed 20"},"SourceLanguage":{"type":"string","description":"The source language of the image"},"TargetLanguage":{"type":"string","description":"The target language for image translation"},"Extra":{"type":"string","description":"The following JSON format content contains optional parameters. You can omit any parameters you do not need. Example JSON format: ``` {…"},"ClientToken":{"type":"string","description":"Provides idempotency. Within 3 minutes, requests with the same value will take effect only once"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-async-translate":{"post":{"operationId":"cloud_aliyun_alimt_get_async_translate","summary":"Retrieve the content of an asynchronous text translation job","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["JobId"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"JobId":{"type":"string","description":"Asynchronous job ID. This is the JobId returned when you invoke CreateAsyncTranslate to create an asynchronous job"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-batch-translate":{"post":{"operationId":"cloud_aliyun_alimt_get_batch_translate","summary":"Translates multiple text segments in batches by using machine translation","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FormatType","TargetLanguage","SourceLanguage","Scene","ApiType","SourceText"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"FormatType":{"type":"string","description":"The format of the text to be translated. Valid values: html: Web page format. If you set this parameter to html, the source text and…"},"TargetLanguage":{"type":"string","description":"The target language. For more information, see Language codes…"},"SourceLanguage":{"type":"string","description":"The source language. For more information, see Language codes…"},"Scene":{"type":"string","description":"The scenario. Valid values: Professional edition: title (product title), description (product description), communication (product…"},"ApiType":{"type":"string","description":"The edition type. You must specify an edition. Valid values: translate_standard: General edition. translate_ecommerce: Professional edition"},"SourceText":{"type":"string","description":"The source text in JSON format. key: A unique identifier used to map the translation result to the source text. value: The content to be…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-detect-language":{"post":{"operationId":"cloud_aliyun_alimt_get_detect_language","summary":"Describes the language recognition API","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SourceText"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"SourceText":{"type":"string","description":"The source text for language recognition"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-doc-translate-task":{"post":{"operationId":"cloud_aliyun_alimt_get_doc_translate_task","summary":"Query a document translation job","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"TaskId":{"type":"string","description":"Job ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-image-diagnose":{"post":{"operationId":"cloud_aliyun_alimt_get_image_diagnose","summary":"Detects the language of text in an image","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Url"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"Url":{"type":"string","description":"Image link"},"Extra":{"type":"string","description":"Format content: { \"product_id\": \"1\", \"platform\": \"ae\" } product_id: Product ID platform: Platform to which the product belongs. Support…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-image-translate":{"post":{"operationId":"cloud_aliyun_alimt_get_image_translate","summary":"Includes capabilities such as OCR, text translation, and text backfill.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Url","SourceLanguage","TargetLanguage"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"Url":{"type":"string","description":"The Image Link that requires translation"},"SourceLanguage":{"type":"string","description":"The language of the text in the image. Supported language pairs and language codes…"},"TargetLanguage":{"type":"string","description":"The language into which the text in the image is translated. Supported languages and language codes…"},"Extra":{"type":"string","description":"The following JSON format is used. You can omit any optional parameters you do not need. JSON format: ``` { \"have_ocr\": \"false\",…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-image-translate-task":{"post":{"operationId":"cloud_aliyun_alimt_get_image_translate_task","summary":"Obtain the asynchronous image translation result by job ID.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"TaskId":{"type":"string","description":"Job ID of the asynchronous image translation task"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-title-diagnose":{"post":{"operationId":"cloud_aliyun_alimt_get_title_diagnose","summary":"By using the Product title quality Diagnosis service, a visualized title quality score is generated to help…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Title","Language","Platform","CategoryId"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"Title":{"type":"string","description":"Title content"},"Language":{"type":"string","description":"Language of the title text. Supported language directions and language codes…"},"Platform":{"type":"string","description":"Platform to which the product title belongs. Supported platforms are ae, icbu, and lazada."},"CategoryId":{"type":"string","description":"Category ID. Pass 0 if no category data is available."},"Extra":{"type":"string","description":"Optional field Format: { \"product_id\": \"1\", \"platform\": \"ae\" } product_id: Product ID platform: Platform to which the product belongs.…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-title-generate":{"post":{"operationId":"cloud_aliyun_alimt_get_title_generate","summary":"Automatically optimize product titles based on e-commerce big data.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Title","Language","Platform","CategoryId"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"Title":{"type":"string","description":"Title content"},"Language":{"type":"string","description":"Title language. Supported languages and language codes (https://help.aliyun.com/document_detail/182310.html) Supported languages and…"},"Platform":{"type":"string","description":"Platform to which the product title belongs; supports ae/icbu"},"CategoryId":{"type":"string","description":"Category ID; pass 0 if no category data is available"},"HotWords":{"type":"string","description":"Hot words"},"Attributes":{"type":"string","description":"Product properties; pass JSON data as shown in the Sample"},"Extra":{"type":"string","description":"Format: { \"product_id\": \"1\", \"platform\": \"ae\" } product_id: Product ID platform: Platform to which the product belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-title-intelligence":{"post":{"operationId":"cloud_aliyun_alimt_get_title_intelligence","summary":"Automatically generate Product titles based on category, platform, and keywords.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Platform","CatLevelThreeId","CatLevelTwoId"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"Platform":{"type":"string","description":"Platform where the Product is listed: ae, icbu, or lazada"},"Extra":{"type":"string","description":"Extension information in JSON data format; optional field"},"CatLevelThreeId":{"type":"integer","description":"Third-level category ID; pass 0 if no category data is available."},"CatLevelTwoId":{"type":"integer","description":"Second-level category ID; pass 0 if no category data is available."},"Keywords":{"type":"string","description":"Keywords, separated by English commas, such as: hello,apple"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-translate-image-batch-result":{"post":{"operationId":"cloud_aliyun_alimt_get_translate_image_batch_result","summary":"Retrieve the results of asynchronous batch image translation","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"TaskId":{"type":"string","description":"The task ID obtained by calling the asynchronous batch image translation API"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/get-translate-report":{"post":{"operationId":"cloud_aliyun_alimt_get_translate_report","summary":"Retrieves API call reports based on the API name and the start and end time, and returns the data aggregated…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BeginTime","EndTime","ApiName","Group"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"BeginTime":{"type":"string","description":"The start time in the YYYY-MM-DD HH:mm:ss format"},"EndTime":{"type":"string","description":"The end time in the YYYY-MM-DD HH:mm:ss format"},"ApiName":{"type":"string","description":"The API name. Valid values: translate_standard: Machine Translation General Edition translate_ecommerce: Machine Translation Professional…"},"Group":{"type":"string","description":"The grouping method"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/open-alimt-service":{"post":{"operationId":"cloud_aliyun_alimt_open_alimt_service","summary":"Activates a machine translation service","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"Type":{"type":"string","description":"Machine translation: alimt Automated machine learning translation service: type = automl Certificate translation: type = ct Document…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/translate":{"post":{"operationId":"cloud_aliyun_alimt_translate","summary":"Invoke Machine Translation Professional Edition to obtain translation results.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FormatType","TargetLanguage","SourceLanguage","SourceText","Scene"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"FormatType":{"type":"string","description":"Format of the text to be translated: html (web page format; setting this parameter processes both the source and translated text as HTML)…"},"TargetLanguage":{"type":"string","description":"Target language. Refer to language codes (https://help.aliyun.com/document_detail/215387.html) Refer to language codes…"},"SourceLanguage":{"type":"string","description":"Source language. Refer to language codes (https://help.aliyun.com/document_detail/215387.html) Refer to language codes…"},"SourceText":{"type":"string","description":"Content to be translated"},"Scene":{"type":"string","description":"Available values for the scenario parameter: Product title (title), Product description (description), Product communication…"},"Context":{"type":"string","description":"Context information (optional)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/translate-certificate":{"post":{"operationId":"cloud_aliyun_alimt_translate_certificate","summary":"Translate certificates","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SourceLanguage","TargetLanguage","ImageUrl","CertificateType"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"SourceLanguage":{"type":"string","description":"Source language of the image"},"TargetLanguage":{"type":"string","description":"Target language"},"ImageUrl":{"type":"string","description":"OSS file URL: an HTTP URL that can be accessed without authorization"},"CertificateType":{"type":"string","description":"Type of certificate to translate: ID card (idcard), driver's license (driving_license)"},"ResultType":{"type":"string","description":"Result Type: text or image. If no value is provided, the default is text"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/translate-general":{"post":{"operationId":"cloud_aliyun_alimt_translate_general","summary":"General-purpose translation API call instructions","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FormatType","SourceLanguage","TargetLanguage","SourceText"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"FormatType":{"type":"string","description":"Format of the text to be translated: html (webpage format; setting this parameter processes both the source and translated text as HTML)…"},"SourceLanguage":{"type":"string","description":"Source language. See language codes (https://help.aliyun.com/document_detail/215387.html) See language codes…"},"TargetLanguage":{"type":"string","description":"Target language for translation. Refer to language codes (https://help.aliyun.com/document_detail/215387.html) Refer to language codes…"},"SourceText":{"type":"string","description":"Content to be translated"},"Scene":{"type":"string","description":"The default value for the General-purpose Edition is: general"},"Context":{"type":"string","description":"Context information (optional)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/translate-image":{"post":{"operationId":"cloud_aliyun_alimt_translate_image","summary":"Translate text in an image from one language to another and output a new image that is as faithful as…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"ImageUrl":{"type":"string","description":"The URL of the source image. This parameter and Base64 cannot both be empty. Base64 takes precedence"},"ImageBase64":{"type":"string","description":"The Base64-encoded source image. This parameter and URL cannot both be empty. Base64 takes precedence"},"SourceLanguage":{"type":"string","description":"Source language. For supported languages, see Language Reference (https://help.aliyun.com/document_detail/163584.html). This parameter is…"},"TargetLanguage":{"type":"string","description":"The target language. For supported languages, see Supported Languages (https://help.aliyun.com/document_detail/163584.html). This…"},"Field":{"type":"string","description":"The translation realm. Valid values: `general`: General image translation `e-commerce`: E-commerce image translation By default, or if the…"},"Ext":{"type":"string","description":"Extension information, in JSON string format. It may contain the following fields: `needEditorData`: A string value of `true` or `false`,…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/translate-image-batch":{"post":{"operationId":"cloud_aliyun_alimt_translate_image_batch","summary":"Asynchronously translates text in a batch of images from one language to another and returns a new image for…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ImageUrls","SourceLanguage","TargetLanguage"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"ImageUrls":{"type":"string","description":"URLs of the source images. Separate multiple URLs with commas. A single request can include up to 20 URLs. Duplicate URLs are processed…"},"SourceLanguage":{"type":"string","description":"Source language. For supported languages and their codes, see language codes (https://help.aliyun.com/document_detail/163584.html)"},"TargetLanguage":{"type":"string","description":"Target language. For supported languages and their codes, see language codes (https://help.aliyun.com/document_detail/163584.html)"},"Ext":{"type":"string","description":"Extended information in JSON string format. Supported fields include the following. needEditorData: Set to `true` or `false`. Default is…"},"CustomTaskId":{"type":"string","description":"Custom task ID. Prevent accidental duplicate requests within a short time. Requests with the same custom task ID are processed only once…"},"Field":{"type":"string","description":"Translation domain. Valid values: `general`: General image translation `e-commerce`: E-commerce image translation If not specified or…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/translate-search":{"post":{"operationId":"cloud_aliyun_alimt_translate_search","summary":"Translates search text","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FormatType","SourceLanguage","TargetLanguage","Scene","SourceText"],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"},"FormatType":{"type":"string","description":"The format of the text to translate. A value of text indicates that the text is processed as plain text, and a value of html indicates…"},"SourceLanguage":{"type":"string","description":"The code of the source language"},"TargetLanguage":{"type":"string","description":"The code of the target language"},"Scene":{"type":"string","description":"The translation scenario. For search query scenarios, set the value to query"},"SourceText":{"type":"string","description":"The search text to translate"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alimt/version":{"post":{"operationId":"cloud_aliyun_alimt_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://alimt.me-east-1.aliyuncs.com","https://mt.aliyuncs.com","https://mt.ap-southeast-1.aliyuncs.com","https://mt.cn-hangzhou.aliyuncs.com","https://mt.me-central-1.aliyuncs.com"],"default":"https://mt.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://mt.ap-southeast-1.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}