创建语音妙记任务
API 配置
保存后下方「Try It」面板会自动携带此 API Key 发送真实请求。
Base: api.xrtoken.net
提交可公网访问的录音/录像 URL,立即返回任务 ID。用 GET /v1/audio/minutes/{taskId} 轮询(建议间隔 ≥30 秒)。
仅中国站。 两条模型共用同一接口,换 model 即可。
xrtoken-minutes(会议纪要):录音文件识别 2.0 + DeepSeek V4 Flash 总结。只需model+file_url。默认返回转写、全文总结、章节(每句带说话人编号)。features/all_activate不生效。识别按时长计费,总结按 Flash token,价格见模型市场。doubao-minutes(豆包语音妙记):火山官方妙记。转写必开,且至少再开一项附加能力,或all_activate=true打包全部(总结/章节/待办/问答/翻译)。按时长计费,价格见模型市场。
file_url 须 http(s),上游要能拉到(可用 POST /v1/files 上传后用返回的 URL)。文件 < 1GB、时长 ≤ 2 小时。提交时预冻,成功按实际时长/token 结算,失败退还。
Authorization
BearerAuth AuthorizationBearer <token>
API 密钥认证(OpenAI 格式)。在 Authorization 请求头中传入:
Authorization: Bearer tr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X post "https://api.xrtoken.net/v1/audio/minutes" \ -H "Content-Type: application/json" \ -d '{ "model": "xrtoken-minutes", "file_url": "https://example.com/meeting.mp3" }'{
"id": "string",
"request_id": "string",
"model": "string",
"status": "processing",
"created_at": "2019-08-24T14:15:22Z"
}{
"error": "model field is required",
"type": "invalid_request_error"
}{
"error": "invalid or missing API key",
"type": "auth_error"
}{
"error": "insufficient balance -- please top up or upgrade your plan",
"type": "billing_error"
}{
"error": "rate limit exceeded",
"type": "rate_limit_error"
}{
"error": "upstream provider error",
"type": "server_error"
}