{"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-eduinterpreting/recognize-audio":{"post":{"operationId":"cloud_aliyun_eduinterpreting_recognize_audio","summary":"Recognizes English speech audio files and converts them into English text","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AudioFileUrl","OuterBizId","EnableCallBack"],"properties":{"endpoint":{"type":"string","enum":["https://eduinterpreting.aliyuncs.com"],"default":"https://eduinterpreting.aliyuncs.com","description":"Regional endpoint, for example https://eduinterpreting.aliyuncs.com"},"AudioFileUrl":{"type":"string","description":"The URL of the audio file that can be accessed over the Internet"},"OuterBizId":{"type":"string","description":"The unique business ID defined by the caller for this request. This ID is returned with the callback along with the evaluation results.…"},"CallbackUrl":{"type":"string","description":"The callback URL for ASR results. The caller must prepare the callback endpoint based on the data structure of the ASR task callback API…"},"EnableCallBack":{"type":"string","description":"The EnableCallBack"},"Language":{"type":"string","description":"Valid values: ZH: Chinese. EN: English"}}}}}},"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-eduinterpreting/submit-evaluation-task":{"post":{"operationId":"cloud_aliyun_eduinterpreting_submit_evaluation_task","summary":"Submits an interpretation evaluation task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Type","SuggestedAnswer","Text","MaterialText","OuterBizId","AudioUrl","CallbackUrl"],"properties":{"endpoint":{"type":"string","enum":["https://eduinterpreting.aliyuncs.com"],"default":"https://eduinterpreting.aliyuncs.com","description":"Regional endpoint, for example https://eduinterpreting.aliyuncs.com"},"Type":{"type":"string","description":"The evaluation type. Valid values: EN_TO_ZH: English to Chinese. ZH_TO_EN: Chinese to English"},"SuggestedAnswer":{"type":"string","description":"The ground truth"},"Text":{"type":"string","description":"The response text to be evaluated"},"MaterialText":{"type":"string","description":"The source material text"},"OuterBizId":{"type":"string","description":"The unique business ID defined by the caller for this call. This field is returned together with the evaluation result in the callback.…"},"AudioUrl":{"type":"string","description":"The URL of the audio file to be evaluated"},"CallbackUrl":{"type":"string","description":"The callback URL for the evaluation result. Because the evaluation takes a long time, the result is sent to this URL after the evaluation…"}}}}}},"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-eduinterpreting/version":{"post":{"operationId":"cloud_aliyun_eduinterpreting_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://eduinterpreting.aliyuncs.com"],"default":"https://eduinterpreting.aliyuncs.com","description":"Regional endpoint, for example https://eduinterpreting.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"}}}}}}}