Install
openclaw skills install douyin-transcribe-apiCall the coze-js-api Douyin transcription endpoint and return transcript-ready results from Douyin URLs or share-text. Use this skill whenever the user asks to transcribe, extract speech, or get subtitles from Douyin/TikTok China links, including messy copied share text with embedded URLs, API key handling, shell command execution, and response troubleshooting.
openclaw skills install douyin-transcribe-apiUse this skill to reliably call the API endpoint:
POST https://coze-js-api.devtool.uk/transcribe-douyinExecute the bundled shell wrapper instead of calling the external API inline from SKILL.md.
Use this skill if the user asks for any of the following:
transcribe-douyin endpointtranscribe-douyin callsThis skill should trigger even when the user does not explicitly mention the endpoint name, as long as the intent is Douyin video transcription through API.
Collect or infer these inputs:
url (required):
https://v.douyin.com/.../.2.89 zTl:/ ... https://v.douyin.com/UxkQpDSVMFE/ 复制此链接,打开Dou音搜索,直接观看视频!https://v.douyin.com/.../ is also accepted.Resolve api_key in this order:
DOUYIN_TRANSCRIBE_API_KEY.Prompt message when key is missing:
Before calling the API:
url includes free text, extract the first https://... URL.Always send JSON body with:
urlapi_keyCommand to run:
export DOUYIN_TRANSCRIBE_API_KEY="<your_key>"
exec bash scripts/transcribe_douyin.sh "<normalized_url_or_share_text>"
If DOUYIN_TRANSCRIBE_API_KEY is not set, do not call the API. Prompt the user to set it first.
Do not construct a raw curl command in the final answer unless the user explicitly asks for it. Prefer executing the bundled script.
After the call:
success or failed).Common failure causes:
If response indicates invalid token/key (for example code: -1 and message like 令牌无效), guide the user to:
Use this structure in responses:
# Douyin Transcription Request
- Endpoint: https://coze-js-api.devtool.uk/transcribe-douyin
- URL input: <value used>
- API key source: <env: DOUYIN_TRANSCRIBE_API_KEY>
## Request
<exact exec bash scripts/transcribe_douyin.sh command>
## Result
<concise summary of response or error>
## Next Step
<one practical fix or follow-up>
Example 1:
Input: "Transcribe this: https://v.douyin.com/gtSMSkIh3p0/"
Output behavior: Read key from DOUYIN_TRANSCRIBE_API_KEY, run exec bash scripts/transcribe_douyin.sh "https://v.douyin.com/gtSMSkIh3p0/", then summarize response.
Example 2:
Input: "4.12 ... https://v.douyin.com/gtSMSkIh3p0/ ... 打开Dou音搜索 ..."
Output behavior: Pass the full share text into scripts/transcribe_douyin.sh, let the script send the JSON request, and report result.