New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@clipwright/cli

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clipwright/cli

Command-line client for the Clipwright UGC video API

Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
343
31.42%
Maintainers
1
Weekly downloads
 
Created
Source

@clipwright/cli

Command-line client for the Clipwright UGC video API.

export CLIPWRIGHT_API_KEY=cw_...

npx -y -p @clipwright/cli clipwright quote --script "Hello from Clipwright."
npx -y -p @clipwright/cli clipwright make  --script "Hello from Clipwright."
CommandWhat it does
quote --script <text>Estimates the credit cost. Spends nothing.
make --script <text>Renders a clip and waits for it. Costs credits. Prints the video URL to stdout, progress and warnings to stderr.
runs <id>Prints the state of one run.
voicesLists the curated voice catalog for --voice.

Pick a voice with --voice <name> from that catalog, or --voice-id <id> for a vendor voice outside it (a cloned one, for instance). Set neither and the default voice already matched to the avatar is used.

make retries are explicit: --retry 2 deliberately starts a new run for the same script. Without it a repeated call returns the run you already paid for, because every request carries an idempotency key derived from the input and from this installation's id. A non-numeric --retry is rejected rather than coerced: the value ends up in that key, so a silent NaN would buy you a second render.

Set CLIPWRIGHT_CLIENT_ID to a stable per-install value, or leave ~/.clipwright/ writable so the client can create one on first use. It refuses to invent a throwaway id, because a per-process id would disable duplicate protection silently — and the duplicate it fails to catch is a second paid render.

CLIPWRIGHT_API_URL overrides the API base URL; the default points at production.

Keywords

cli

FAQs

Package last updated on 28 Aug 2026

Related posts