{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-aipodcast/podcast-task-result-query":{"post":{"operationId":"cloud_aliyun_aipodcast_podcast_task_result_query","summary":"Query the result of an AI podcast generation task","description":"POST /podcast/task","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","taskId"],"properties":{"endpoint":{"type":"string","enum":["https://aipodcast.cn-beijing.aliyuncs.com"],"default":"https://aipodcast.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://aipodcast.cn-beijing.aliyuncs.com"},"workspaceId":{"type":"string","description":"The ID of the Model Studio workspace"},"taskId":{"type":"string","description":"The unique task identifier"}}}}}},"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-aipodcast/podcast-task-submit":{"post":{"operationId":"cloud_aliyun_aipodcast_podcast_task_submit","summary":"Submits an AI podcast generation task","description":"POST /podcast/task/submit","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://aipodcast.cn-beijing.aliyuncs.com"],"default":"https://aipodcast.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://aipodcast.cn-beijing.aliyuncs.com"},"workspaceId":{"type":"string","description":"The ID of the Model Studio workspace for the current request"},"fileUrls":{"type":"string","description":"The URLs of source files (such as scripts) for the AI podcast generation task (JSON-encoded)"},"topic":{"type":"string","description":"The topic for generating the podcast content"},"counts":{"type":"integer","description":"The number of speakers"},"voices":{"type":"string","description":"The voices to use for podcast generation. The first voice in the array corresponds to the first speaker (JSON-encoded)"},"text":{"type":"string","description":"The source text for the AI podcast generation"},"sourceLang":{"type":"string","description":"The language for the generated podcast content, including both script and audio. The output will be in this language, regardless of the…"}}}}}},"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-aipodcast/version":{"post":{"operationId":"cloud_aliyun_aipodcast_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://aipodcast.cn-beijing.aliyuncs.com"],"default":"https://aipodcast.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://aipodcast.cn-beijing.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"}}}}}}}