dy-caption

提取抖音视频语音内容并转成文字,支持提交视频链接转写,查询转写余额及历史记录。

Audits

Pass

Install

openclaw skills install dy-caption

抖音字幕提取

通过 dy-caption 服务把抖音视频里的语音转成文字。

注意:本技能会将抖音分享链接 / 分享文案 与 API Key 发送到 dy-caption 服务,请确认你信任该服务后再使用。

认证

调用接口前需要先准备 API Key:

export DY_CAPTION_API_KEY="你的 API Key"

快速使用

# 提交转写任务
curl -X POST https://api.dycaption.cn/api/v1/transcribe \
  -H "X-API-Key: $DY_CAPTION_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":"7.53 复制打开抖音,看看【示例】 https://v.douyin.com/xxxx/"}'

# 查询余额
curl -X GET https://api.dycaption.cn/api/v1/credits \
  -H "X-API-Key: $DY_CAPTION_API_KEY"

# 查询历史
curl -X GET https://api.dycaption.cn/api/v1/history \
  -H "X-API-Key: $DY_CAPTION_API_KEY"

任务流程

  1. 提交 /api/v1/transcribe
  2. 记录返回的 taskId
  3. 轮询 /api/v1/transcribe/:taskId
  4. 任务完成后读取 text

相关链接