{"_id":"@aisounds.cn/cli","_rev":"5-e4e8a6e5ce8545ca20fa4707ea88a903","name":"@aisounds.cn/cli","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@aisounds.cn/cli","version":"1.0.0","_id":"@aisounds.cn/cli@1.0.0","maintainers":[{"name":"aisounds.cn","email":"Aiwave2026@163.com"}],"bin":{"aisounds":"dist/index.js"},"dist":{"shasum":"77ef11514217a3d0b03c545a9abbd13799e84488","tarball":"https://registry.npmjs.org/@aisounds.cn/cli/-/cli-1.0.0.tgz","fileCount":70,"integrity":"sha512-tOpSNGu1CCnS9gOF7HnXMNAUNFahtbHdbHeQYkC4pLE2m53JdWaTogKfaSrYr0JIZlcb9P+v2R9ybapY9SqLIQ==","signatures":[{"sig":"MEUCIAXnKg7t38dxeSSzXy0vFqSn/kRbwbgyzSvVvDXLYPnTAiEA1ahhUCRGGoSLpr+l6786hpxlc9l6VrNXQR0NqxcIjH8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55541},"type":"module","engines":{"node":">=20"},"gitHead":"96f39a3f821338d46e6a6548b0112e5aded338d1","scripts":{"build":"tsc","pack:check":"pnpm pack --dry-run","type-check":"tsc --noEmit"},"_npmUser":{"name":"aisounds.cn","email":"Aiwave2026@163.com"},"_npmVersion":"11.6.2","description":"AiSounds CLI for AI coding tools","directories":{},"_nodeVersion":"24.15.0","dependencies":{"commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_1.0.0_1781410454394_0.21465111309370388","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aisounds.cn/cli","version":"1.0.1","_id":"@aisounds.cn/cli@1.0.1","maintainers":[{"name":"aisounds.cn","email":"Aiwave2026@163.com"}],"bin":{"aisounds":"dist/index.js"},"dist":{"shasum":"c9c5da1ca865c387942f48558693c7d3805d6b26","tarball":"https://registry.npmjs.org/@aisounds.cn/cli/-/cli-1.0.1.tgz","fileCount":70,"integrity":"sha512-Q7yGGYgdVmzTDKhmZrZaNIRuM59Ty+reT/Rv2we2TKnMhOtAJlrqSSLfH1K+j94syCjqLrZXMmJDnAPFl6r3mA==","signatures":[{"sig":"MEYCIQCgerX+5UDRqGTKaUbkcWcI6AL52dQk9y7jXFE9IybU1gIhAMjh6+FiWgR6wBfwrnyZB3teHtEhGdp6KINOYb7hZCXz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56566},"type":"module","engines":{"node":">=20"},"gitHead":"96f39a3f821338d46e6a6548b0112e5aded338d1","scripts":{"build":"tsc","pack:check":"pnpm pack --dry-run","type-check":"tsc --noEmit"},"_npmUser":{"name":"aisounds.cn","email":"Aiwave2026@163.com"},"_npmVersion":"11.6.2","description":"AiSounds CLI for AI coding tools","directories":{},"_nodeVersion":"24.15.0","dependencies":{"commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_1.0.1_1781410873107_0.033547916637338915","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aisounds.cn/cli","version":"1.0.2","_id":"@aisounds.cn/cli@1.0.2","maintainers":[{"name":"aisounds.cn","email":"Aiwave2026@163.com"}],"bin":{"aisounds":"dist/index.js"},"dist":{"shasum":"f091e2cf315fac8ae33d85cd11720feae1bf5b52","tarball":"https://registry.npmjs.org/@aisounds.cn/cli/-/cli-1.0.2.tgz","fileCount":70,"integrity":"sha512-Hu89VYlt0Z2ncvvPoWAL5PcymYRZ5Xfq/oJpQud7QBDeXfVU0NKGZWBNMgJzRA0aAKOHw/C0EZMnjHUaQ1gQRA==","signatures":[{"sig":"MEUCICU41W/OVhHZzP113sZwI3JtLdP+3vydmXWy+3udsnjTAiEAyt/CCaL910A9onPWsDt6pv66KDaEHgQfpwLc5O+yrTY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56584},"type":"module","engines":{"node":">=20"},"gitHead":"96f39a3f821338d46e6a6548b0112e5aded338d1","scripts":{"build":"tsc","pack:check":"pnpm pack --dry-run","type-check":"tsc --noEmit"},"_npmUser":{"name":"aisounds.cn","email":"Aiwave2026@163.com"},"_npmVersion":"11.6.2","description":"AiSounds CLI for AI coding tools","directories":{},"_nodeVersion":"24.15.0","dependencies":{"commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_1.0.2_1781412034480_0.34683208575889957","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@aisounds.cn/cli","version":"1.0.3","_id":"@aisounds.cn/cli@1.0.3","maintainers":[{"name":"aisounds.cn","email":"Aiwave2026@163.com"}],"bin":{"aisounds":"dist/index.js"},"dist":{"shasum":"c8c774b8e514598285f4def6975435e562ad5697","tarball":"https://registry.npmjs.org/@aisounds.cn/cli/-/cli-1.0.3.tgz","fileCount":70,"integrity":"sha512-kpz4en4iXzaWtTQiXw/2dRixgVUbGysNtUUbh/U00KbhxtnfMyD4O04+u2ku6dpdmqb4S/qhf5cXZP+wBHTwIg==","signatures":[{"sig":"MEUCIDjSDINP4t2UVbQQ2SH0fbDm7ZaQPflUPutB7n4jFBzZAiEAqIuRpzyX3ewocWcFyzmrKn4YiRU6xymimnIDKrTdlVI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57741},"type":"module","engines":{"node":">=20"},"gitHead":"2b07c24a8151888184c20025f4069dd4e233e84a","scripts":{"build":"tsc","pack:check":"pnpm pack --dry-run","type-check":"tsc --noEmit"},"_npmUser":{"name":"aisounds.cn","email":"Aiwave2026@163.com"},"_npmVersion":"11.6.2","description":"AiSounds CLI for AI coding tools","directories":{},"_nodeVersion":"24.15.0","dependencies":{"commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_1.0.3_1781416480170_0.6360122095448657","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@aisounds.cn/cli","version":"1.1.0","description":"AiSounds CLI for AI coding tools","type":"module","bin":{"aisounds":"dist/index.js"},"scripts":{"prebuild":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","build":"tsc","prepack":"pnpm build","type-check":"tsc --noEmit","pack:check":"pnpm pack --dry-run","test":"vitest run --config vitest.cli.config.ts"},"dependencies":{"commander":"^12.1.0"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.7.0","vitest":"^4.1.2"},"engines":{"node":">=20"},"publishConfig":{"access":"public"},"gitHead":"76d792b4e120eac828df4caf09ea19aa198dcc46","_id":"@aisounds.cn/cli@1.1.0","_nodeVersion":"24.15.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-16RxLIYLF3xLJR+rRHsvjIv93yGNKS0yVPzy/x7IWDJiv/4scmgWGeqlGmuLtLg2GGvfOZ7RGh0s0QqvXoNGfg==","shasum":"7a583323fff4b4d130d87baf469aba02910c3f15","tarball":"https://registry.npmjs.org/@aisounds.cn/cli/-/cli-1.1.0.tgz","fileCount":82,"unpackedSize":90432,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID6EizAvJZcDYabwnvYy7LdFxL3nzNSgDXH+9ikmYFXOAiEA6Ax08IC9rkVRGzP0oGfxvIkck6fZox9uMum08k/cRyc="}]},"_npmUser":{"name":"aisounds.cn","email":"Aiwave2026@163.com"},"directories":{},"maintainers":[{"name":"aisounds.cn","email":"Aiwave2026@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_1.1.0_1784556007887_0.37919048000989464"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-14T04:14:14.243Z","modified":"2026-07-20T14:00:08.249Z","1.0.0":"2026-06-14T04:14:14.536Z","1.0.1":"2026-06-14T04:21:13.240Z","1.0.2":"2026-06-14T04:40:34.601Z","1.0.3":"2026-06-14T05:54:40.326Z","1.1.0":"2026-07-20T14:00:08.017Z"},"description":"AiSounds CLI for AI coding tools","maintainers":[{"name":"aisounds.cn","email":"Aiwave2026@163.com"}],"readme":"# @aisounds.cn/cli\n\r\nAiSounds command line tools for AI coding assistants.\r\n\r\n## Install\n\n```bash\nnpx \"@aisounds.cn/cli\" init\nnpx \"@aisounds.cn/cli\" auth login --api-key ask_xxxxxxxxxxxxxxxxx\n```\n\r\n## Examples\r\n\r\n```bash\nnpx \"@aisounds.cn/cli\" sfx generate --prompt \"crisp UI button click\" --duration 0.8 --out public/sfx/click.wav\nnpx \"@aisounds.cn/cli\" music generate --prompt \"warm lo-fi study loop\" --duration 30 --out ./bgm.mp3\nnpx \"@aisounds.cn/cli\" tts synthesize --text \"欢迎使用 AiSounds\" --voice <voiceId> --out ./voice.mp3\nnpx \"@aisounds.cn/cli\" video-bgm create ./video.mp4 --prompt \"轻快科技感\" --out ./bgm.mp3\nnpx \"@aisounds.cn/cli\" cleanup create ./noisy.wav --cleanup --separate --out ./cleaned.zip\nnpx \"@aisounds.cn/cli\" video-voice create ./video.mp4 --duration 12 --script \"产品介绍文案\" --voice <voiceId> --tts-job <completedTtsJobId> --driver-duration 12\nnpx \"@aisounds.cn/cli\" jobs status video-bgm <jobId>\nnpx \"@aisounds.cn/cli\" sfx-pack draft --message \"休闲消除游戏 UI 音效\" --document ./brief.docx\nnpx \"@aisounds.cn/cli\" sfx-pack confirm <sessionId> --yes\nnpx \"@aisounds.cn/cli\" sfx-pack download <sessionId> --out-dir ./downloads\n```\n\r\nThe CLI reads local files for video/audio workflows, uploads them to AiSounds with a signed URL, submits the cloud task, then downloads the result when available. Install `ffmpeg`/`ffprobe` for automatic media duration detection; otherwise pass `--duration <seconds>`.\r\n\r\nVideo voice tasks require an existing completed TTS job because the cloud video provider consumes a driver audio track. Create one first with `tts submit` or `tts synthesize`, then pass its job id via `--tts-job`.\r\n\r\nAPI keys spend points from the workspace they were created in.\r\n","readmeFilename":"README.md"}