{"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:tencent-tts/create-tts-task":{"post":{"operationId":"cloud_tencent_tts_create_tts_task","summary":"Create Tts Task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Text"],"properties":{"X-TC-Region":{"type":"string","description":"Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley"},"Text":{"type":"string"},"Volume":{"type":"number"},"Speed":{"type":"number"},"ProjectId":{"type":"integer"},"ModelType":{"type":"integer"},"VoiceType":{"type":"integer"},"PrimaryLanguage":{"type":"integer"},"SampleRate":{"type":"integer"},"Codec":{"type":"string"},"CallbackUrl":{"type":"string"},"EnableSubtitle":{"type":"boolean"},"VoiceoverDialogueSplit":{"type":"boolean"},"EmotionCategory":{"type":"string"},"EmotionIntensity":{"type":"integer"}}}}}},"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:tencent-tts/describe-tts-task-status":{"post":{"operationId":"cloud_tencent_tts_describe_tts_task_status","summary":"Describe Tts Task Status","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskId"],"properties":{"X-TC-Region":{"type":"string","description":"Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley"},"TaskId":{"type":"string"}}}}}},"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:tencent-tts/text-to-voice":{"post":{"operationId":"cloud_tencent_tts_text_to_voice","summary":"Text To Voice","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Text","SessionId"],"properties":{"X-TC-Region":{"type":"string","description":"Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley"},"Text":{"type":"string"},"SessionId":{"type":"string"},"Volume":{"type":"number"},"Speed":{"type":"number"},"ProjectId":{"type":"integer"},"ModelType":{"type":"integer"},"VoiceType":{"type":"integer"},"FastVoiceType":{"type":"string"},"PrimaryLanguage":{"type":"integer"},"SampleRate":{"type":"integer"},"Codec":{"type":"string"},"EnableSubtitle":{"type":"boolean"},"SegmentRate":{"type":"integer"},"EmotionCategory":{"type":"string"},"EmotionIntensity":{"type":"integer"}}}}}},"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"}}}}}}}