Youtube视频提文案
最低 ¥0.03/次起即将上线需配置 API Key视频提文案
单价随接口累计调用量阶梯调整
POST
https://redfox.hk/story/api/youtube/transcriptAPI 密钥获取与配置
获取密钥调用 API 前,请先在控制台生成 API 密钥并完成配置。在 HTTP 请求头中添加API Key 字段,密钥用于身份校验与额度计费。
获取步骤
- 前往控制台页面,进入 API 密钥管理模块。
- 若无已生成的密钥,点击生成新密钥,复制并妥善保存密钥。
- 在请求头中添加
REDFOX_API_KEY或X-API-KEY字段并填入密钥后即可调用。
API说明
Method:POST
Host:https://redfox.hk
Path:/story/api/youtube/transcript
请求头
| 名称 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| REDFOX_API_KEY | string | 是 | 平台鉴权令牌,每次请求必填 | ak_xxxxxx |
| Content-Type | string | 是 | 请求体数据类型 | application/json |
请求参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| videoUrl | String | 是 | YouTube视频URL或视频ID(必填) 支持格式: - 完整URL:https://www.youtube.com/watch?v=dQw4w9WgXcQ - 短URL:https://youtu.be/dQw4w9WgXcQ - 仅视频ID:dQw4w9WgXcQ | https://www.youtube.com/watch?v=EnSONxLppjk |
| format | String | 否 | 输出格式(可选):json 或 text,默认json | json |
| includeTimestamp | Boolean | 否 | 是否包含时间戳(可选),默认true | true |
| sendMetadata | Boolean | 否 | 是否包含视频元数据(可选),默认false | false |
| language | String | 否 | 语言优先级列表(可选),逗号分隔的语言代码 如:zh,en,asr | zh,en |
返回值与结构
统一包装一般为 `code`、`message`/`msg`、`data`(以实际服务为准)。
响应字段
| 字段 | 类型 | 说明 | 示例 |
|---|---|---|---|
| code | Integer | 响应状态码,2000表示成功 | 2000 |
| msg | String | 响应消息 | 成功 |
| data | Object | ||
| language | String | 字幕语言(如 en、zh等) | en |
| transcript | Array | 字幕片段列表 | |
| duration | Double | 字幕持续时长(秒) | 2.883 |
| start | Double | 字幕开始时间(秒) | 1.083 |
| text | String | 字幕文本内容 | Jiaxing, in the northeast of Zhejiang Province |
| video_id | String | YouTube视频ID | EnSONxLppjk |
请求示例
请求参数:
{
"videoUrl": "https://www.youtube.com/watch?v=EnSONxLppjk",
"format": "json",
"includeTimestamp": true,
"sendMetadata": false,
"language": "zh,en"
}响应示例
{
"code": 2000,
"data": {
"transcript": [
{
"duration": 2.883,
"start": 1.083,
"text": "Jiaxing, in the northeast of Zhejiang Province"
},
{
"duration": 1.734,
"start": 3.966,
"text": "Hinterland of Hangjiahu Plain"
},
{
"duration": 1.717,
"start": 5.733,
"text": "It's 7,000 years old."
},
{
"duration": 2.167,
"start": 7.566,
"text": "It is the birthplace of Jiangnan culture"
},
{
"duration": 2.317,
"start": 9.733,
"text": "It has been a prosperous and prosperous place since ancient times"
},
{
"duration": 1.683,
"start": 12.133,
"text": "Jiaxing celebrities emerge in large numbers"
},
{
"duration": 4.45,
"start": 13.816,
"text": "Emerged Mao Dun, Jin Yong, Xu Zhimo and other famous masters"
},
{
"duration": 4.367,
"start": 18.366,
"text": "Jiaxing, the natural scenery coexists with tide, lake, river and sea"
},
{
"duration": 3.65,
"start": 22.733,
"text": "Owns 3 5A scenic spots in Nanhu Wuzhen Xitang"
},
{
"duration": 3.067,
"start": 26.383,
"text": "Jiaxing is also the birthplace of the Communist Party of China"
},
{
"duration": 2.6,
"start": 29.45,
"text": "The Communist Party of China once closed in Jiaxing"
},
{
"duration": 3.2,
"start": 32.366,
"text": "Next, please follow the lens of Xiaobai"
},
{
"duration": 3.05,
"start": 35.566,
"text": "Let's unlock this new city together"
},
{
"duration": 1.55,
"start": 39.666,
"text": "This is Hangzhou East Railway Station."
},
{
"duration": 3.4,
"start": 41.816,
"text": "There's something futuristic about this look."
},
{
"duration": 2.317,
"start": 45.466,
"text": "It also has this kind of natural lighting up there."
},
{
"duration": 1.683,
"start": 49.133,
"text": "There's still half an hour left."
},
{
"duration": 2.317,
"start": 50.816,
"text": "Just in time to take a look"
},
{
"duration": 2.683,
"start": 53.9,
"text": "Hangzhou East Railway Station on the first day of the Qingming Festival holiday"
},
{
"duration": 1.083,
"start": 59.183,
"text": "Look at this crowd"
},
{
"duration": 1.117,
"start": 61.183,
"text": "Hey, this is interesting"
},
{
"duration": 2.2,
"start": 62.616,
"text": "Hangzhou souvenir is called Shanghai Story"
},
{
"duration": 3.166,
"start": 67.5,
"text": "This train is from Tongren to Shanghai Hongqiao"
},
{
"duration": 2.034,
"start": 70.666,
"text": "Via Jiaxing"
},
{
"duration": 1.533,
"start": 74.133,
"text": "Opposite is the flight attendant"
},
{
"duration": 2.2,
"start": 96.3,
"text": "It's a 40-minute drive."
},
{
"duration": 4.517,
"start": 99.016,
"text": "This is the Jiaxing South Railway Station in Zhejiang"
},
{
"duration": 3.717,
"start": 105.066,
"text": "Xiaobai unlocked a new city today"
},
{
"duration": 4.083,
"start": 109.933,
"text": "After getting off the escalator, you can leave the station directly here."
},
{
"duration": 2.367,
"start": 114.933,
"text": "It seems that there should be no subway."
},
{
"duration": 1.45,
"start": 117.333,
"text": "So we're going to take a taxi"
},
{
"duration": 1.966,
"start": 121.5,
"text": "Is there a tram here?"
},
{
"duration": 2.517,
"start": 125.416,
"text": "After you come out, it is the entrance of the tram."
},
{
"duration": 1.883,
"start": 128.533,
"text": "Here's a hand-drawn map."
},
{
"duration": 2,
"start": 131.016,
"text": "We're going to the Moon River"
},
{
"duration": 1.484,
"start": 134.416,
"text": "Take a look!"
},
{
"duration": 2.633,
"start": 138.983,
"text": "It seems to be able to sit halfway"
},
{
"duration": 1.567,
"start": 143.816,
"text": "This is his ticket machine."
},
{
"duration": 3,
"start": 145.383,
"text": "You can also swipe the bus card for two dollars."
},
{
"duration": 1.917,
"start": 148.383,
"text": "For example, NFC can be used."
},
{
"duration": 1.883,
"start": 155.9,
"text": "It is expected to be 6 minutes."
},
{
"duration": 1.25,
"start": 167.416,
"text": "It came this way first."
},
{
"duration": 2.467,
"start": 168.666,
"text": "Then go to another direction and drive towards the city"
},
{
"duration": 2.367,
"start": 172.816,
"text": "In the back are these side-sitting chairs"
},
{
"duration": 2.717,
"start": 175.183,
"text": "Then sit back and forth"
},
{
"duration": 0.833,
"start": 178.183,
"text": "Can it be charged?"
},
{
"duration": 0.483,
"start": 179.183,
"text": "Oh, that's right."
},
{
"duration": 2.634,
"start": 179.666,
"text": "There's also USB charging."
},
{
"duration": 3.967,
"start": 184.016,
"text": "This taxi in Jiaxing is purple."
},
{
"duration": 1.883,
"start": 190.3,
"text": "This is a large parking lot."
},
{
"duration": 1.35,
"start": 198.666,
"text": "Little bus"
},
{
"duration": 2.316,
"start": 209.55,
"text": "Get off at People's Park."
},
{
"duration": 1.8,
"start": 218.3,
"text": "These little booths here"
},
{
"duration": 3.166,
"start": 220.1,
"text": "And the buildings are very quaint."
},
{
"duration": 1.833,
"start": 225.95,
"text": "Let's look at a small city like Jiaxing"
},
{
"duration": 3.367,
"start": 227.783,
"text": "Everyone wears a helmet on this electric car"
},
{
"duration": 2.6,
"start": 234.216,
"text": "This should be the People's Park"
},
{
"duration": 2.316,
"start": 237.7,
"text": "See this electric bike?"
},
{
"duration": 3,
"start": 240.016,
"text": "I can't help but want to complain"
},
{
"duration": 2.05,
"start": 243.1,
"text": "Many northern cities"
},
{
"duration": 2.266,
"start": 245.15,
"text": "Many small cities in the south before"
},
{
"duration": 3.45,
"start": 247.5,
"text": "This one performs very well with a helmet."
},
{
"duration": 2.683,
"start": 252.1,
"text": "Of course, don't say that this city is small"
},
{
"duration": 1.716,
"start": 254.95,
"text": "Shanghai city is bigger"
},
{
"duration": 2.2,
"start": 257.416,
"text": "The management is also one of the best"
},
{
"duration": 1.8,
"start": 267.1,
"text": "Kaiyuan Guantang"
},
{
"duration": 1.15,
"start": 270.35,
"text": "Wow, there are so many people."
},
{
"duration": 2.483,
"start": 271.7,
"text": "The core scenic spot"
},
{
"duration": 1.517,
"start": 274.183,
"text": "We eat here at night"
},
{
"duration": 1.8,
"start": 275.7,
"text": "It's all hotels"
},
{
"duration": 1.283,
"start": 277.5,
"text": "Beautiful at night"
},
{
"duration": 2.317,
"start": 280.866,
"text": "Hotels in Jiaxing"
},
{
"duration": 2.517,
"start": 283.183,
"text": "Not far from the Moon River neighborhood"
},
{
"duration": 3.65,
"start": 286.983,
"text": "The lobby is pretty clean"
},
{
"duration": 0.2,
"start": 299.416,
"text": "Wow"
},
{
"duration": 3.234,
"start": 299.616,
"text": "This is a hotel in Jiaxing."
},
{
"duration": 1.2,
"start": 304.05,
"text": "Less than 300 bucks"
},
{
"duration": 1.317,
"start": 306.966,
"text": "toilet"
},
{
"duration": 1.317,
"start": 310.533,
"text": "There is also a sofa"
},
{
"duration": 3.434,
"start": 322.016,
"text": "There's nothing to see in the back."
},
{
"duration": 4.65,
"start": 328.166,
"text": "Now leave the hotel for that Moon River Historic District"
},
{
"duration": 2.2,
"start": 332.816,
"text": "Go there for dinner"
},
{
"duration": 3.6,
"start": 335.683,
"text": "It's a quarter past six at night."
},
{
"duration": 1.2,
"start": 341.45,
"text": "Wow, come to this intersection."
},
{
"duration": 1.283,
"start": 342.65,
"text": "This barbecue smells good"
},
{
"duration": 1.083,
"start": 343.933,
"text": "The smell of skewers"
},
{
"duration": 2.634,
"start": 347.016,
"text": "It turned out that there was a Northeast BBQ"
},
{
"duration": 3.117,
"start": 353.133,
"text": "This is a Nanhu tourist area in Jiaxing."
},
{
"duration": 1,
"start": 356.25,
"text": "panorama"
},
{
"duration": 4.234,
"start": 358.616,
"text": "There is also an introduction in English, Japanese and Korean."
},
{
"duration": 2.85,
"start": 364.883,
"text": "This mouth seems to be a remote mouth"
},
{
"duration": 1.4,
"start": 367.733,
"text": "Not the particularly lively one."
},
{
"duration": 2.067,
"start": 369.816,
"text": "We're going along this one."
},
{
"duration": 2.35,
"start": 373.2,
"text": "There are more people here."
},
{
"duration": 0.833,
"start": 376.433,
"text": "Wow"
},
{
"duration": 3.05,
"start": 377.95,
"text": "The lights are on."
},
{
"duration": 2.25,
"start": 391.55,
"text": "There are many bars in this area"
},
{
"duration": 0.866,
"start": 411.2,
"text": "Zhu Bingren's"
},
{
"duration": 2.934,
"start": 412.066,
"text": "This copper art seems to be found in many ancient towns"
},
{
"duration": 2.317,
"start": 418.716,
"text": "And it's this little fish lamp."
},
{
"duration": 2.05,
"start": 430.066,
"text": "I didn't expect so many people"
},
{
"duration": 0.466,
"start": 434.4,
"text": "here"
},
{
"duration": 3.45,
"start": 434.866,
"text": "It is also a food seller."
},
{
"duration": 1.117,
"start": 438.316,
"text": "It looks like a time-honored brand."
},
{
"duration": 1.15,
"start": 440.916,
"text": "Zongzi, Youth League"
},
{
"duration": 1.566,
"start": 445.55,
"text": "Wow"
},
{
"duration": 1.4,
"start": 448.866,
"text": "Jiangnan cake"
},
{
"duration": 3.95,
"start": 457,
"text": "Zou Daxian has a lot of people in this restaurant"
},
{
"duration": 0.866,
"start": 463.4,
"text": "\"Really old\""
},
{
"duration": 1.884,
"start": 464.266,
"text": "Zongzi are sold here."
},
{
"duration": 0.967,
"start": 466.666,
"text": "And the Youth League"
},
{
"duration": 0.866,
"start": 473.6,
"text": "A bean paste youth group"
},
{
"duration": 1.2,
"start": 1063.266,
"text": "They are closed"
},
{
"duration": 2.4,
"start": 1064.466,
"text": "Or seal it with this door panel?"
},
{
"duration": 4.883,
"start": 1069.35,
"text": "It feels like 1/5 less than the person just now."
},
{
"duration": 1.65,
"start": 1074.75,
"text": "There are quite a few people"
},
{
"duration": 3.034,
"start": 1078.916,
"text": "Moon River Street at Night"
},
{
"duration": 1.634,
"start": 1082.516,
"text": "Hey, there's a pier here."
},
{
"duration": 1.45,
"start": 1086.066,
"text": "The nightlife begins"
},
{
"duration": 3,
"start": 1087.633,
"text": "And bar singers"
},
{
"duration": 3.316,
"start": 1116.6,
"text": "This alley looks like Bar Street"
},
{
"duration": 1.717,
"start": 1119.916,
"text": "We see all these clubs"
},
{
"duration": 1.717,
"start": 1130.316,
"text": "Ooh, it's really lively."
},
{
"duration": 1.233,
"start": 1132.6,
"text": "These are all taverns"
},
{
"duration": 1.2,
"start": 1140,
"text": "This pub."
},
{
"duration": 3.883,
"start": 1153.433,
"text": "These people who eat crayfish and chicken are all human"
},
{
"duration": 2.684,
"start": 1157.316,
"text": "There were people passing by in the afternoon"
},
{
"duration": 2.233,
"start": 1164.4,
"text": "Moon River Historic District in the morning"
},
{
"duration": 4.117,
"start": 1167.116,
"text": "We're going to have breakfast nearby now"
},
{
"duration": 1.4,
"start": 1174.4,
"text": "The bar last night"
},
{
"duration": 1.884,
"start": 1176.716,
"text": "It's quieter in the morning."
},
{
"duration": 2.117,
"start": 1185.883,
"text": "It's a different story in the morning."
},
{
"duration": 2.05,
"start": 1188,
"text": "There are stalls here."
},
{
"duration": 2.084,
"start": 1195.766,
"text": "Last night, I saw that their buns were not bad."
},
{
"duration": 2.083,
"start": 1197.85,
"text": "Let's have breakfast here today"
},
{
"duration": 1.367,
"start": 1201.483,
"text": "Wow, there are quite a few people"
},
{
"duration": 1.516,
"start": 1203.65,
"text": "Let's see what we have to eat"
},
{
"duration": 1,
"start": 1209.8,
"text": "Four fried buns"
},
{
"duration": 1.2,
"start": 1210.8,
"text": "Four fried dumplings"
},
{
"duration": 1.65,
"start": 1212.6,
"text": "I also want a serving of this dumpling."
},
{
"duration": 0.8,
"start": 1214.25,
"text": "Sesame dumplings"
},
{
"duration": 1.2,
"start": 1215.45,
"text": "Then two bowls of soy milk"
},
{
"duration": 2.767,
"start": 1216.683,
"text": "The price is 47 yuan."
},
{
"duration": 2.2,
"start": 1222.4,
"text": "Try the fried dumplings that just came out of the pot."
},
{
"duration": 0.834,
"start": 1228.766,
"text": "OK"
},
{
"duration": 0.767,
"start": 1231.083,
"text": "Beef stuffed"
},
{
"duration": 1.05,
"start": 1233.483,
"text": "It's not bad. It tastes good."
},
{
"duration": 3.233,
"start": 1234.533,
"text": "Just a little lighter for me"
},
{
"duration": 1.717,
"start": 1237.766,
"text": "If only it were a little more salty."
},
{
"duration": 1.533,
"start": 1239.8,
"text": "Delicious, delicious, ok"
},
{
"duration": 0.8,
"start": 1243.683,
"text": "OK"
},
{
"duration": 0.8,
"start": 1246.2,
"text": "Fried buns"
},
{
"duration": 0.8,
"start": 1250.683,
"text": "OK"
},
{
"duration": 1.517,
"start": 1252.483,
"text": "I just said that there are few people."
},
{
"duration": 1.367,
"start": 1254.083,
"text": "Come out after breakfast"
},
{
"duration": 1.85,
"start": 1255.883,
"text": "The streets are full of people again"
},
{
"duration": 2.433,
"start": 1257.733,
"text": "It's so lively"
},
{
"duration": 1.2,
"start": 1262.283,
"text": "The one in front is \"Zou Daxian\"."
},
{
"duration": 2.683,
"start": 1263.483,
"text": "It's just that Xiaobai had to queue up for dozens of tables last night"
},
{
"duration": 1.366,
"start": 1266.4,
"text": "I didn't eat this store"
},
{
"duration": 4.667,
"start": 1270.333,
"text": "There is also a zongzi culture museum in front."
},
{
"duration": 2,
"start": 1275.8,
"text": "This is something we didn't come to last night"
},
{
"duration": 2.517,
"start": 1280.283,
"text": "Zongzi Culture Museum"
},
{
"duration": 1.967,
"start": 1283.683,
"text": "Wow, there's a big zongzi at the door."
},
{
"duration": 2.433,
"start": 1291.65,
"text": "Dragon boat races during the Dragon Boat Festival"
},
{
"duration": 1.233,
"start": 1295.05,
"text": "Every year in Jiangsu and Zhejiang"
},
{
"duration": 5.517,
"start": 1296.283,
"text": "There will also be this dragon boat race"
},
{
"duration": 2.6,
"start": 1302.916,
"text": "Drive away the five poisons, eat the five yellow"
},
{
"duration": 1.85,
"start": 1309.516,
"text": "Here are zongzis from all over the world."
},
{
"duration": 1.484,
"start": 1311.366,
"text": "Henan dumpling Shenyang dumpling"
},
{
"duration": 1.4,
"start": 1312.85,
"text": "Wuhan, Beijing"
},
{
"duration": 2.484,
"start": 1321.316,
"text": "This is our Beijing red date dumpling."
},
{
"duration": 0.833,
"start": 1324.45,
"text": "So now"
},
{
"duration": 2.833,
"start": 1325.283,
"text": "Xiaobai has never eaten this salty meat dumpling"
},
{
"duration": 0.95,
"start": 1330.766,
"text": "And here is Yunnan."
},
{
"duration": 1.2,
"start": 1331.716,
"text": "Guangdong Guizhou"
},
{
"duration": 1.05,
"start": 1332.916,
"text": "Wuhan Xiamen"
},
{
"duration": 0.917,
"start": 1333.966,
"text": "Chaoshan"
},
{
"duration": 1.317,
"start": 1336.166,
"text": "All different shapes"
},
{
"duration": 1.6,
"start": 1338.4,
"text": "This is the kind of bamboo dumpling, right?"
},
{
"duration": 1.6,
"start": 1340.916,
"text": "Jiaxing zongzi"
},
{
"duration": 2.283,
"start": 1343.683,
"text": "There are also Zhongshan-Cantonese ones."
},
{
"duration": 2,
"start": 1348.316,
"text": "This is a goldfish dumpling from Suzhou."
},
{
"duration": 2.516,
"start": 1352,
"text": "This is actually their live dumpling."
},
{
"duration": 1.2,
"start": 1361,
"text": "When I was little"
},
{
"duration": 3.05,
"start": 1362.2,
"text": "I also went to my grandma's house to watch her make zongzi"
},
{
"duration": 1.116,
"start": 1365.25,
"text": "Then eat zongzi"
},
{
"duration": 2.317,
"start": 1366.483,
"text": "The most packaged one is the red date dumpling."
},
{
"duration": 0.683,
"start": 1369,
"text": "But I sometimes"
},
{
"duration": 1.433,
"start": 1369.683,
"text": "I prefer to eat that white zongzi"
},
{
"duration": 1.334,
"start": 1371.116,
"text": "Just put nothing in it"
},
{
"duration": 1.433,
"start": 1372.65,
"text": "And then dip it in some sugar."
},
{
"duration": 1.234,
"start": 1377.166,
"text": "There are zongzi for sale here."
},
{
"duration": 2.8,
"start": 1385,
"text": "And I found that the rice dumpling is my childhood impression"
},
{
"duration": 2.15,
"start": 1388.366,
"text": "It stays overnight. It's cool."
},
{
"duration": 0.967,
"start": 1390.516,
"text": "Then it tightens again"
},
{
"duration": 1.8,
"start": 1391.483,
"text": "I think it tastes delicious too"
},
{
"duration": 4.266,
"start": 1398.45,
"text": "We sell some surrounding products here."
},
{
"duration": 1.833,
"start": 1405.483,
"text": "There is Yuehe Wharf here."
},
{
"duration": 3.65,
"start": 1407.316,
"text": "You can buy tickets at his WeChat Mini Program"
},
{
"duration": 1.567,
"start": 1411.683,
"text": "To South Lake"
},
{
"duration": 0.8,
"start": 1415.683,
"text": "Here it is."
},
{
"duration": 1.033,
"start": 1416.483,
"text": "His 60 yuan?"
},
{
"duration": 1.334,
"start": 1417.516,
"text": "It came back."
},
{
"duration": 1.717,
"start": 1419.883,
"text": "If it is half way, it seems to be more than 30."
},
{
"duration": 1.967,
"start": 1424.116,
"text": "Because it will take more than an hour."
},
{
"duration": 2.033,
"start": 1426.083,
"text": "So let's not take the boat for now"
},
{
"duration": 1.266,
"start": 1428.85,
"text": "The ship just left"
},
{
"duration": 0.716,
"start": 1432.05,
"text": "From this direction"
},
{
"duration": 3.117,
"start": 1432.766,
"text": "After watching our Yuehe Historic District"
},
{
"duration": 3.917,
"start": 1435.883,
"text": "Go further and you can reach Luxihui neighborhood."
},
{
"duration": 1.8,
"start": 1441.6,
"text": "Pass under this bridge"
},
{
"duration": 1.683,
"start": 1445,
"text": "There are stalls below"
},
{
"duration": 1.434,
"start": 1451.366,
"text": "They sell everything."
},
{
"duration": 2.434,
"start": 1456.166,
"text": "This one walks away from them."
},
{
"duration": 2.884,
"start": 1460.566,
"text": "It's hard to say if someone steps on it."
},
{
"duration": 0.8,
"start": 1467.766,
"text": "Amazing"
},
{
"duration": 4.85,
"start": 1468.566,
"text": "This is such an eye-opener."
},
{
"duration": 2.766,
"start": 1484.8,
"text": "We also sell all kinds of vintage cameras here."
},
{
"duration": 1.8,
"start": 1491.316,
"text": "Red wine is available for sale"
},
{
"duration": 0.8,
"start": 1498.883,
"text": "old book"
},
{
"duration": 3.967,
"start": 1503.716,
"text": "I feel like I can really exchange some things here."
},
{
"duration": 1.15,
"start": 1517.633,
"text": "Various watches"
},
{
"duration": 1.367,
"start": 1520.183,
"text": "Radio box"
},
{
"duration": 0.834,
"start": 1524.916,
"text": "That's interesting."
},
{
"duration": 3.233,
"start": 1525.75,
"text": "Really, if you like to visit this kind of market"
},
{
"duration": 1.4,
"start": 1529.583,
"text": "Why don't you come here for a walk?"
},
{
"duration": 2.084,
"start": 2623.466,
"text": "Where did you come from?"
},
{
"duration": 0.75,
"start": 2625.55,
"text": "I came from Shanghai."
},
{
"duration": 1.05,
"start": 2626.3,
"text": "Ah, from Shanghai."
},
{
"duration": 1.466,
"start": 2627.35,
"text": "Well, are you from Shanghai?"
},
{
"duration": 2.034,
"start": 2630.266,
"text": "I want to do the Y702 one."
},
{
"duration": 1.766,
"start": 2632.3,
"text": "Is this from Zhou Enlai or"
},
{
"duration": 0.317,
"start": 2634.266,
"text": "OK"
},
{
"duration": 1.767,
"start": 2634.583,
"text": "That's not from the Fuxing."
},
{
"duration": 0.716,
"start": 2636.35,
"text": "Is it the Fuxing?"
},
{
"duration": 2.284,
"start": 2637.066,
"text": "I want to do the more characteristic one."
},
{
"duration": 1,
"start": 2639.35,
"text": "Green skin 702"
},
{
"duration": 0.633,
"start": 2640.35,
"text": "Green truck"
},
{
"duration": 1.683,
"start": 2640.983,
"text": "Yes, yes, Y702, hmmm."
},
{
"duration": 1.084,
"start": 2642.666,
"text": "He's the more distinctive one."
},
{
"duration": 1.266,
"start": 2643.75,
"text": "Hmm, yes, yes, yes."
},
{
"duration": 1,
"start": 2645.1,
"text": "Just to feel it"
},
{
"duration": 0.683,
"start": 2646.1,
"text": "Yes, yes, yes, yes."
},
{
"duration": 2.2,
"start": 2646.783,
"text": "It just so happens that children also like green leather cars"
},
{
"duration": 0.883,
"start": 2648.983,
"text": "Feel it"
},
{
"duration": 0.317,
"start": 2649.866,
"text": "Ha ha."
},
{
"duration": 3.117,
"start": 2650.183,
"text": "They were steam trains."
},
{
"duration": 1.95,
"start": 2653.35,
"text": "Right, right?"
},
{
"duration": 1.55,
"start": 2655.466,
"text": "Hmm, ok."
},
{
"duration": 1.334,
"start": 2657.016,
"text": "Thank you, you're welcome."
},
{
"duration": 1.2,
"start": 2666.55,
"text": "Yes, this is the waiting hall."
},
{
"duration": 1.95,
"start": 2667.75,
"text": "Then the train is on the first floor"
},
{
"duration": 1.45,
"start": 2669.9,
"text": "Haha, that train is on the ground."
},
{
"duration": 2.75,
"start": 2671.35,
"text": "Yes, and then our waiting hall is on the negative floor"
},
{
"duration": 1.316,
"start": 2674.1,
"text": "And then there's the bus."
},
{
"duration": 1.083,
"start": 2675.7,
"text": "Public transportation"
},
{
"duration": 1.683,
"start": 2676.783,
"text": "Public transportation is in negative territory"
},
{
"duration": 0.35,
"start": 2678.466,
"text": "Oh."
},
{
"duration": 0.884,
"start": 2678.816,
"text": "OK"
},
{
"duration": 2.15,
"start": 2680.75,
"text": "Upstairs is a cafe."
},
{
"duration": 2,
"start": 2683.95,
"text": "It should be more retro, I feel."
},
{
"duration": 1.367,
"start": 2687.183,
"text": "The environment is not bad"
},
{
"duration": 0.8,
"start": 2693.666,
"text": "Wow"
},
{
"duration": 2.716,
"start": 2694.95,
"text": "This set 38 32"
},
{
"duration": 1.084,
"start": 2697.666,
"text": "Wow, so affordable."
},
{
"duration": 0.684,
"start": 2698.866,
"text": "OK"
},
{
"duration": 1.716,
"start": 2699.55,
"text": "Here it is."
},
{
"duration": 3.966,
"start": 2941.8,
"text": "Quite a unique hard seat"
},
{
"duration": 4.284,
"start": 2948.916,
"text": "These kids still have to follow this train"
}
],
"language": "en",
"video_id": "EnSONxLppjk"
},
"msg": "成功"
}常见状态码说明
调用接口时,响应体中的 code 字段对应以下状态码。完整列表请查看 API 状态码说明页。
| 状态码 | 说明 | 排查建议 |
|---|---|---|
400 | 请求参数错误 | 检查请求体、Query 参数是否与文档一致,必填项是否齐全。 |
401 | 鉴权失败 | 确认请求头已添加 REDFOX_API_KEY 或 X-API-KEY,且密钥有效、未禁用。 |
403 | 无权限访问 | 当前密钥或账号无权调用该接口,请检查密钥状态与接口权限。 |
500 | 系统内部错误 | 服务端异常,请稍后重试;持续出现请联系技术支持。 |
503 | 服务暂不可用 | 服务维护或短暂过载,请间隔一段时间后重试。 |
1001 | 缺少必要参数 | 对照「请求参数」表,补全必填字段。 |
1002 | 参数格式不正确 | 检查字段类型与格式(如 URL、日期、枚举值)是否符合说明。 |
1003 | 参数类型错误 | 确认 JSON 中数字、字符串、布尔等类型与文档定义一致。 |
3103 | 密钥不存在 | 密钥可能已删除或填写错误,请前往控制台核对并重新复制。 |
3105 | API Key 已禁用 | 在控制台启用该密钥,或创建新密钥后替换请求头中的值。 |
3201 | 积分不足 | 账户余额不足以支付本次调用,请前往控制台充值后再试。 |
3202 | 积分账户不存在 | 账号积分账户异常,请登录控制台确认账户状态。 |
4004 | 操作过于频繁,请稍后再试 | 触发频率限制,降低请求频率或增加调用间隔后重试。 |