← API 商店
社交媒体Reddit
Reddit 视频文字稿
GET /reddit/v1/post/transcript每个响应都包含 credits_used:本次调用消耗的积分。
v.redd.it 音频的语音转文字。
每次调用扣 1 积分,失败不扣。在后台 Playground 中运行可以看到实时结果。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
url必填 | string | 示例: https://www.reddit.com/r/youseeingthisshit/comments/1kquo45/son_who_lives_abroad_returns_home_and_video_calls/ |
每个接口都支持这些通用参数: raw、fields、fresh、output、records
{
"author": "solateor",
"cached": false,
"credits_used": 1,
"duration_s": 73.3226875,
"language": "pt",
"model": "@cf/openai/whisper-large-v3-turbo",
"post_url": "https://www.reddit.com/r/youseeingthisshit/comments/1kquo45/son_who_lives_abroad_returns_home_and_video_calls/",
"published": "2025-05-20T02:59:50+00:00",
"segments": [
{
"end": 3.33,
"start": 1.39,
"text": "O Manu tá chorando de rir ali."
},
{
"end": 5.37,
"start": 4.03,
"text": "Tão debochando de mim."
},
"… 22 more"
],
"source": "ai",
"text": "O Manu tá chorando de rir ali. Tão debochando de mim. E as crianças? Tá tudo bem aí? Não tô falando. Ele não tá falando. Eu não tô escutando…",
"title": "Son who lives abroad returns home and video calls his father",
"url": "https://www.reddit.com/r/youseeingthisshit/comments/1kquo45/son_who_lives_abroad_returns_home_and_video_calls/",
"video": "https://v.redd.it/lvsqjihppu1f1/HLSPlaylist.m3u8",
"video_id": "lvsqjihppu1f1"
} 返回字段 (20)
根据样例响应归纳的字段路径与类型,仅供参考;实际返回以接口为准。
$ | object |
$.author | string |
$.cached | boolean |
$.credits_used | integer |
$.duration_s | number |
$.language | string |
$.model | string |
$.post_url | string |
$.published | string |
$.segments | array |
$.segments[] | object | string |
$.segments[].end | number |
$.segments[].start | number |
$.segments[].text | string |
$.source | string |
$.text | string |
$.title | string |
$.url | string |
$.video | string |
$.video_id | string |