gen-ai-use — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited gen-ai-use (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
The gen-ai CLI generates AI images, videos, and audio from the terminal via the Picsart API.
_See the description above._
Picsart gen-ai CLI installed and authenticated (gen-ai login). Note that gen-ai whoami only reads cached credentials from disk and reports "✓ Authenticated" if a token file exists with the right shape — it doesn't check expiry and makes no network call, so it succeeding is not proof that a subsequent network-dependent command will succeed.
_Use the agent's terminal tool to invoke gen-ai commands as described in the Procedure below._
login, logout, whoamigenerate, remove-bg, change-bg, enhance, vectorize, redo, extendmodels, models info, models compare, pricing, credits, validatebatch run, batch status, batch resumeupload, upload-to-drive, download, listconfig get | set | list | keys | unsethistory, history last, history files, history clearcompletion, updateRun gen-ai <command> --help for full flag details, or see references/FLAGS.md.
_See sections below for the detailed walkthrough._
gen-ai models first or gen-ai validate -m <id>.gen-ai models info <id>.--script (or --no-input) with non-TTY contexts.--input-dir modes; pick one.Run gen-ai whoami to confirm authentication, then re-run the failed command with --debug. If the command still fails, check the error type before assuming it's a login problem: AuthError ("Not authenticated...") means credentials are genuinely bad and gen-ai login is the fix; NetworkError (message names a transport failure like "fetch failed", or a proxy/connectivity hint) means the CLI's process can't reach the network — re-running login won't help, restoring/escalating network access will.
picsart-add-media@picsart/ai-sdk reference / specs/ source@picsart/ai-sdk# Signed binary (no Node required) — recommended
curl -fsSL https://picsart.com/gen-ai-cli/install.sh | bash
# Or via npm (requires Node 22+)
npm install -g @picsart/gen-ai
gen-ai login # OAuth browser flow
gen-ai whoami # verify# Interactive wizard
gen-ai generate
# Image, fully specified
gen-ai generate -m flux-2-pro -p "a sunset over mountains" -s
# Image-to-image
gen-ai generate -m gemini-3.1-flash-image -i ~/photo.jpg -p "make it watercolor"
# Text-to-video
gen-ai generate -m kling-v3-pro -p "a cat playing piano" --ar 16:9
# Image-to-video (--image is auto-mapped to startFrame for i2v models)
gen-ai generate -m veo-3.1 -i ~/photo.jpg -p "camera zooms in" -d 5gen-ai remove-bg -i photo.jpg
gen-ai change-bg -i photo.jpg -p "tropical beach sunset"
gen-ai enhance -i photo.jpg # upscale / enhance
gen-ai vectorize -i logo.png # raster → SVGAll operation commands accept the same output flags as generate (--download, --save-to-drive, --drive-folder, --open, --clipboard, --json, --quiet, etc.). See references/FLAGS.md.
Model IDs change as new versions ship — always check the live catalog:
gen-ai models # list (filter --mode, --provider)
gen-ai models info <id> # capabilities, inputs, aspect ratios
gen-ai models compare <a> <b> # side-by-side
gen-ai pricing <model-id> # credit cost
gen-ai credits # remaining balancegen-ai-cli by default. Disable with --no-save-to-drive; use --drive-folder NAME for a custom folder.-i / --image is auto-mapped to ctx.startFrame.--script = --silent --quiet --json, the right combo for piping or CI.--no-input to fail fast instead of hanging on interactive prompts.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.