Query the result of an AI podcast generation task.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.
Debug
RAM authorization
The following table describes the authorization information of the API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. Details:
- Operation: the specific permission point.
- Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization in the operation. Details:
- Required resource types are marked with a leading asterisk (*).
- For operations that do not support resource-level authorization,
All Resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Related operation: other permissions required to successfully perform the operation. The caller must have the permissions of all related operations for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Related operation |
|---|---|---|---|---|
| aipodcast:PodcastTaskResultQuery | none | *All Resources * |
| None |
Request syntax
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| workspaceId | string | Yes | The ID of the Model Studio workspace used for the current request. | llm-ep8ba0dr6seiddri |
| taskId | string | Yes | The unique task identifier. | 63c4e0eaab3b4c0db208ecafa990e8d1 |
Response elements
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| code | string | The response status code. | "success" |
| message | string | The response message. | "success" |
| requestId | string | The request ID, used to trace API calls. | C38F034D-7F36-531C-95AC-0C752F80E840 |
| success | boolean | Whether the request was successful: true for success, false for failure | True |
| httpStatusCode | string | The HTTP status code | 200 |
| data | object | The response data. | |
| taskId | string | The unique task identifier. | 63c4e0eaab3b4c0db208ecafa990e8d1 |
| taskStatus | string | The task status.
| SUCCEEDED |
| script | string | The podcast script (without interactive enhancement) | "[{"text": "听众朋友们,晚上好!今天咱们聊聊最近大家都很关心的一个话题——甲流来袭,我们该怎么应对?", "speaker": "speaker-1"}, {"text": "嗯,这个话题确实挺重要。甲流听起来有点吓人,但其实只要科学防护,就不用太担心。", "speaker": "speaker-2"}, {"text": "没错,先给大家科普一下,甲流全名叫甲型流感,是由甲型流感病毒感染引起的流行性感冒。跟普通感冒比起来,它的症状更重,传播也更快。", "speaker": "speaker-1"}, {"text": "哦?那具体都有哪些症状呢?我记得好像会发烧吧。", "speaker": "speaker-2"}, {"text": "对的,高烧是甲流最常见的症状之一,体温可能高达39到40度。除了发烧,还会有头痛、全身肌肉和关节疼痛、乏力、食欲不振等症状。有些人甚至会出现恶心、呕吐的情况。", "speaker": "speaker-1"}, {"text": "听起来确实不太好受。不过婴儿的症状是不是会稍微不一样?", "speaker": "speaker-2"}, {"text": "是的,婴儿可能会表现为高烧、烦躁、哭闹增加,还有吃奶减少等。所以家长要特别注意观察孩子的状态。", "speaker": "speaker-1"}, {"text": "嗯,说到这,我突然想到一个问题:甲流是怎么传播的呢?", "speaker": "speaker-2"}, {"text": "主要通过呼吸道传播和接触传播。比如近距离接触甲流病人或者高度疑似病人后,就可能被感染。另外,患者的分泌物也可能携带病毒,直接或间接接触这些分泌物也会有风险。", "speaker": "speaker-1"}, {"text": "哦,原来如此。那易感人群有哪些呢?是不是老年人和小孩更容易中招?", "speaker": "speaker-2"}, {"text": "没错,老人、孕妇、小孩都是易感人群。此外,患有慢性疾病、肥胖或者免疫功能低下的人群也要格外小心。", "speaker": "speaker-1"}, {"text": "听你这么一说,感觉预防真的很重要啊。那有没有什么有效的预防措施呢?", "speaker": "speaker-2"}, {"text": "当然有!最有效的方法就是接种疫苗。每年9到10月份接种流感疫苗,保护效力可以持续到冬春流感高发季节。", "speaker": "speaker-1"}, {"text": "嗯,除了打疫苗,还有什么其他办法吗?", "speaker": "speaker-2"}, {"text": "保持良好的卫生习惯也很重要。比如勤洗手,尽量避免用手接触眼、鼻、口。同时,避免在拥挤的场所逗留,减少人际接触。", "speaker": "speaker-1"}, {"text": "嗯,这点我特别赞同。现在很多人都习惯了戴口罩,这其实也是个很好的防护措施。", "speaker": "speaker-2"}, {"text": "没错,戴口罩能有效阻断飞沫传播。另外,增强免疫力也很关键。保持充足的睡眠、均衡的饮食和适量的运动都能帮助身体更好地抵抗病毒。", "speaker": "speaker-1"}, {"text": "听你这么一说,感觉生活中的小细节真的很重要。比如咳嗽或打喷嚏时,用纸巾、手肘遮住口鼻,就能减少病毒传播。", "speaker": "speaker-2"}, {"text": "对,还有别忘了保持环境清洁和通风。家里、教室每天勤开窗通风,必要时进行消毒。", "speaker": "speaker-1"}, {"text": "看来这些看似简单的小事,其实都能起到大作用。那万一真的不幸中招了,该怎么办呢?", "speaker": "speaker-2"}, {"text": "如果确诊是甲型流感,一定要隔离、卧床休息,并遵医嘱用药。比如磷酸奥司他韦胶囊就是一种常用的抗病毒药物。", "speaker": "speaker-1"}, {"text": "哦,原来还有专门针对甲流的药。不过如果症状比较严重,比如持续高烧或者呼吸困难,那就得赶紧去医院了。", "speaker": "speaker-2"}, {"text": "没错,千万别拖延病情。医院可以排查是否有并发症,比如肺炎之类的。总之,早发现、早治疗很重要。", "speaker": "speaker-1"}, {"text": "总结一下,甲流虽然可怕,但只要我们做好防护,及时就医,就没啥好怕的。大家记住了吗?", "speaker": "speaker-2"}, {"text": "记住了!接种疫苗、勤洗手、戴口罩、增强免疫力,还有必要时及时就医。希望大家都能健健康康地度过这个季节!", "speaker": "speaker-1"}, {"text": "好了,今天的节目就到这里。感谢大家收听,我们下期再见!", "speaker": "speaker-2"}, {"text": "再见!", "speaker": "speaker-1"}]" |
| resultUrl | any | The analysis results returned as URLs. The links are valid for one hour. | {"audio":"http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/audio.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748853849&Signature=YOUR_SIGNATURE","script":"http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/script.txt?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748853511&Signature=YOUR_SIGNATURE"} |
| extraResult | any | Detailed information such as the segmented podcast audio.The detailed structure of extraResult is described as follows: | { "segment": [ [ 0.0, 6370.0 ], [ 6370.0, 15020.0 ], [ 15020.0, 26071.791 ], [ 26071.791, 31001.791 ], [ 31001.791, 45646.582 ], [ 45646.582, 50816.582 ], [ 50816.582, 59501.418 ], [ 59501.418, 63631.418 ], [ 63631.418, 77161.25 ], [ 77161.25, 84691.25 ], [ 84691.25, 93623.086 ], [ 93623.086, 99233.086 ], [ 99233.086, 108894.875 ], [ 108894.875, 111864.875 ], [ 111864.875, 121678.664 ], [ 121678.664, 128448.664 ], [ 128448.664, 139774.45 ], [ 139774.45, 149824.45 ], [ 149824.45, 157966.25 ], [ 157966.25, 164576.25 ], [ 164576.25, 175432.08 ], [ 175432.08, 184482.08 ], [ 184482.08, 192451.88 ], [ 192451.88, 199781.88 ], [ 199781.88, 208151.88 ], [ 208151.88, 212601.88 ], [ 212601.88, 213131.88 ] ], "segmentDetails": [ { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_0.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854445&Signature=YOUR_SIGNATURE", "index": 0, "time": [ 0.0, 6370.0 ], "script": { "speaker": "speaker-1", "text": "听众朋友们,晚上好!今天咱们聊聊最近大家都很关心的一个话题——甲流来袭,我们该怎么应对?" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_1.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854445&Signature=YOUR_SIGNATURE", "index": 1, "time": [ 6370.0, 15020.0 ], "script": { "speaker": "speaker-2", "text": "嗯,这个话题确实挺重要。甲流听起来有点吓人,但其实只要科学防护,就不用太担心。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_2.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854445&Signature=YOUR_SIGNATURE", "index": 2, "time": [ 15020.0, 26071.791 ], "script": { "speaker": "speaker-1", "text": "没错,先给大家科普一下,甲流全名叫甲型流感,是由甲型流感病毒感染引起的流行性感冒。(对)跟普通感冒比起来,它的症状更重,传播也更快。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_3.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854445&Signature=YOUR_SIGNATURE", "index": 3, "time": [ 26071.791, 31001.791 ], "script": { "speaker": "speaker-2", "text": "哦?那具体都有哪些症状呢?我记得好像会发烧吧。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_4.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854445&Signature=YOUR_SIGNATURE", "index": 4, "time": [ 31001.791, 45646.582 ], "script": { "speaker": "speaker-1", "text": "对的,高烧是甲流最常见的症状之一,体温可能高达39到40度。(嗯)除了发烧,还会有头痛、全身肌肉和关节疼痛、乏力、食欲不振等症状。有些人甚至会出现恶心、呕吐的情况。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_5.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854445&Signature=YOUR_SIGNATURE", "index": 5, "time": [ 45646.582, 50816.582 ], "script": { "speaker": "speaker-2", "text": "听起来确实不太好受。不过婴儿的症状是不是会稍微不一样?" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_6.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854445&Signature=YOUR_SIGNATURE", "index": 6, "time": [ 50816.582, 59501.418 ], "script": { "speaker": "speaker-1", "text": "是的,婴儿可能会表现为高烧、烦躁、哭闹增加,还有吃奶减少等。(确实)所以家长要特别注意观察孩子的状态。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_7.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854445&Signature=YOUR_SIGNATURE", "index": 7, "time": [ 59501.418, 63631.418 ], "script": { "speaker": "speaker-2", "text": "嗯,说到这,我突然想到一个问题:甲流是怎么传播的呢?" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_8.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854446&Signature=YOUR_SIGNATURE", "index": 8, "time": [ 63631.418, 77161.25 ], "script": { "speaker": "speaker-1", "text": "主要通过呼吸道传播和接触传播。(没错)比如近距离接触甲流病人或者高度疑似病人后,就可能被感染。另外,患者的分泌物也可能携带病毒,直接或间接接触这些分泌物也会有风险。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_9.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854446&Signature=YOUR_SIGNATURE", "index": 9, "time": [ 77161.25, 84691.25 ], "script": { "speaker": "speaker-2", "text": "哦,原来如此。那易感人群有哪些呢?是不是老年人和小孩更容易中招?" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_10.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854446&Signature=YOUR_SIGNATURE", "index": 10, "time": [ 84691.25, 93623.086 ], "script": { "speaker": "speaker-1", "text": "没错,老人、孕妇、小孩都是易感人群。(真的)此外,患有慢性疾病、肥胖或者免疫功能低下的人群也要格外小心。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_11.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854446&Signature=YOUR_SIGNATURE", "index": 11, "time": [ 93623.086, 99233.086 ], "script": { "speaker": "speaker-2", "text": "听你这么一说,感觉预防真的很重要啊。那有没有什么有效的预防措施呢?" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_12.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854446&Signature=YOUR_SIGNATURE", "index": 12, "time": [ 99233.086, 108894.875 ], "script": { "speaker": "speaker-1", "text": "当然有!最有效的方法就是接种疫苗。(对)每年9到10月份接种流感疫苗,保护效力可以持续到冬春流感高发季节。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_13.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854446&Signature=YOUR_SIGNATURE", "index": 13, "time": [ 108894.875, 111864.875 ], "script": { "speaker": "speaker-2", "text": "嗯,除了打疫苗,还有什么其他办法吗?" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_14.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854446&Signature=YOUR_SIGNATURE", "index": 14, "time": [ 111864.875, 121678.664 ], "script": { "speaker": "speaker-1", "text": "保持良好的卫生习惯也很重要。比如勤洗手,尽量避免用手接触眼、鼻、口。(没错)同时,避免在拥挤的场所逗留,减少人际接触。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_15.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854446&Signature=YOUR_SIGNATURE", "index": 15, "time": [ 121678.664, 128448.664 ], "script": { "speaker": "speaker-2", "text": "嗯,这点我特别赞同。现在很多人都习惯了戴口罩,这其实也是个很好的防护措施。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_16.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854447&Signature=YOUR_SIGNATURE", "index": 16, "time": [ 128448.664, 139774.45 ], "script": { "speaker": "speaker-1", "text": "没错,戴口罩能有效阻断飞沫传播。另外,增强免疫力也很关键。(嗯)保持充足的睡眠、均衡的饮食和适量的运动都能帮助身体更好地抵抗病毒。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_17.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854447&Signature=YOUR_SIGNATURE", "index": 17, "time": [ 139774.45, 149824.45 ], "script": { "speaker": "speaker-2", "text": "听你这么一说,感觉生活中的小细节真的很重要。比如咳嗽或打喷嚏时,用纸巾、手肘遮住口鼻,就能减少病毒传播。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_18.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854447&Signature=YOUR_SIGNATURE", "index": 18, "time": [ 149824.45, 157966.25 ], "script": { "speaker": "speaker-1", "text": "对,还有别忘了保持环境清洁和通风。(确实)家里、教室每天勤开窗通风,必要时进行消毒。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_19.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854447&Signature=YOUR_SIGNATURE", "index": 19, "time": [ 157966.25, 164576.25 ], "script": { "speaker": "speaker-2", "text": "看来这些看似简单的小事,其实都能起到大作用。那万一真的不幸中招了,该怎么办呢?" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_20.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854447&Signature=YOUR_SIGNATURE", "index": 20, "time": [ 164576.25, 175432.08 ], "script": { "speaker": "speaker-1", "text": "如果确诊是甲型流感,一定要隔离、卧床休息,并遵医嘱用药。(没错)比如磷酸奥司他韦胶囊就是一种常用的抗病毒药物。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_21.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854447&Signature=YOUR_SIGNATURE", "index": 21, "time": [ 175432.08, 184482.08 ], "script": { "speaker": "speaker-2", "text": "哦,原来还有专门针对甲流的药。不过如果症状比较严重,比如持续高烧或者呼吸困难,那就得赶紧去医院了。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_22.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854447&Signature=YOUR_SIGNATURE", "index": 22, "time": [ 184482.08, 192451.88 ], "script": { "speaker": "speaker-1", "text": "没错,千万别拖延病情。医院可以排查是否有并发症,比如肺炎之类的。(对)总之,早发现、早治疗很重要。" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_23.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854447&Signature=YOUR_SIGNATURE", "index": 23, "time": [ 192451.88, 199781.88 ], "script": { "speaker": "speaker-2", "text": "总结一下,甲流虽然可怕,但只要我们做好防护,及时就医,就没啥好怕的。大家记住了吗?" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_24.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854448&Signature=YOUR_SIGNATURE", "index": 24, "time": [ 199781.88, 208151.88 ], "script": { "speaker": "speaker-1", "text": "记住了!接种疫苗、勤洗手、戴口罩、增强免疫力,还有必要时及时就医。希望大家都能健健康康地度过这个季节!" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_25.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854448&Signature=YOUR_SIGNATURE", "index": 25, "time": [ 208151.88, 212601.88 ], "script": { "speaker": "speaker-2", "text": "好了,今天的节目就到这里。感谢大家收听,我们下期再见!" } }, { "audioSegmentUrl": "http://xxx-ai-file.oss-cn-beijing.aliyuncs.com/202506021536413361/segment_26.mp3?OSSAccessKeyId=YOUR_ACCESS_KEY_ID&Expires=1748854448&Signature=YOUR_SIGNATURE", "index": 26, "time": [ 212601.88, 213131.88 ], "script": { "speaker": "speaker-1", "text": "再见!" } } ] } |
script content returned in resultUrl is the interactively enhanced podcast script, which is inconsistent with the content of the script parameter.
Examples
Success response example
JSON format