Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (zimujun) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
zimujun
zimujun 是一个独立的 npm CLI,用来调用:
POST https://coze-js-api.devtool.uk/whisper/speech-to-text
请求体固定为:
{
"url": "<video_url>",
"api_key": "<from ZMJ_API_KEY>"
}Install
Run with npx
ZMJ_API_KEY=your_key npx zimujun "https://www.douyin.com/video/7616201138244799785"Global install
npm i -g zimujun
ZMJ_API_KEY=your_key zimujun "https://www.douyin.com/video/7616201138244799785"Usage
ZMJ_API_KEY=your_key zimujun <url>示例:
ZMJ_API_KEY=3ZGaqPiwz8eAw5Ea6cLHtEN2 zimujun "https://www.douyin.com/video/7616201138244799785"Options
--base-url自定义接口地址,默认是https://coze-js-api.devtool.uk--timeout自定义超时时间,单位毫秒,默认是600000-h,--help查看帮助
Local development
cd zimujun
node bin/zimujun.js --helpPublish to npm
cd zimujun
npm login
npm publish --access public