name: pp-openart
description: "Generate videos and images on OpenArt from the terminal. Spend your existing OpenArt credits across Seedance, Kling,..."
author: "Matt Van Horn"
license: "Apache-2.0"
argument-hint: "
Openart — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the openart-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer:
npx -y @mvanhorn/printing-press install openart --cli-only - Verify:
openart-pp-cli --version - Ensure
$GOPATH/bin(or$HOME/go/bin) is on$PATH.
If the npx install fails before this CLI has a public-library category, install Node or use the category-specific Go fallback after publish.
If --version reports "command not found" after install, the install step did not put the binary on $PATH. Do not proceed with skill commands until verification succeeds.
Spend your OpenArt credits programmatically. Generate videos with Seedance, Kling, Veo and more from the terminal.
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Generation
video gen— Submit + poll + download videos in one command.openart-pp-cli video gen --prompt "..." --model byte-plus-seedance-2 --duration 10 --count 2 --wait --download ./out/image gen— Submit + poll + download images in one command. The Nano Banana family has two variants:nano-banana(50 credits, verified) andnano-banana-pro(120 credits, higher quality, experimental). There is nonano-banana-2— Pro is the upgrade path. The other image models (gpt-image-2,gpt-image-1-5,flux-2-pro,byte-plus-seedream-4,byte-plus-seedream-4-5,google-imagen-4,qwen-image-max) are also experimental: their submit shapes were inferred from the JS bundle but not individually verified live, so they require--accept-experimental. Runopenart-pp-cli models list --family imageto see slugs, costs, and theexperimentalflag before picking.# verified, cheapest path openart-pp-cli image gen --prompt "donkey on Mercer Island" --model nano-banana --count 2 --wait --download ./out/ # higher-quality Pro variant — opt in with --accept-experimental openart-pp-cli image gen --prompt "donkey on Mercer Island" --model nano-banana-pro --count 2 --accept-experimental --wait --download ./out/video gen --no-audio— Disables Seedance's auto-generated audio. Workaround forOutputAudioSensitiveContentDetectedfailures; halves the cost on Seedance 2.0 normal mode.openart-pp-cli video gen --prompt "..." --model seedance2 --no-audio --wait
Credit-aware spending
cost estimate— Project the credit cost of a generation before you spend.Use before any batch submit to avoid burning credits on a misconfigured run.
openart-pp-cli cost estimate --model byte-plus-seedance-2 --duration 10 --count 4 --agentcredits burn— Aggregate credit spend by model, tool, day, or project.Answers 'where did my credits go?' so you can shift work to cheaper models.
openart-pp-cli credits burn --since 7d --by model --agentcredits forecast— Project how many weeks of runway your current balance gives at recent burn.Surfaces 'this paid plan covers another 6 weeks' so you can decide when to top up or slow down.
openart-pp-cli credits forecast --agent
Cross-model leverage
models cheapest— Find the cheapest model that satisfies a target shape (type/duration/resolution/features).Lets agents try a prompt on Grok Imagine for 150 credits before committing to Seedance 2's 800.
openart-pp-cli models cheapest --type video --duration 10 --resolution 720p --agentcompare— Run one prompt across multiple models in parallel; return a side-by-side report with cost and URLs.Decide which model deserves the long Seedance shoot before committing.
openart-pp-cli compare --prompt "a phoenix in molten gold" --models byte-plus-seedance-2,kling2-6,grok-imagine --duration 5 --agent
Prompt history as memory
prompts replay— Re-run a past generation, optionally on a different model, with parameter bumps.Iterate on past wins without retyping prompts; A/B test models cheaply.
openart-pp-cli prompts replay 3dVHEhDjyq82gLwBudaG --model byte-plus-seedance-2 --bump duration=10 --agentprompts find— Full-text search prior generations by prompt text with OpenArt-specific filters (model, audio, duration, starred, since).Recover the prompt you wrote three weeks ago instead of paying to recreate it.
openart-pp-cli prompts find "molten dragon" --model byte-plus-seedance-2 --has-audio --since 30d --agentprompts top— Rank past prompts by total credit spend over a window.Surface 'I have spent 8k credits iterating this dragon prompt' before iterating again.
openart-pp-cli prompts top --since 30d --by spend --agentstats— One-shot stats over the local media library: counts per type/model/period and rolling spend.A 'where am I' snapshot for both human users and agents starting a session.
openart-pp-cli stats --since 30d --agent
HTTP Transport
This CLI uses Chrome-compatible HTTP transport for browser-facing endpoints. It does not require a resident browser process for normal API calls.
Discovery Signals
This CLI was generated with browser-observed traffic context.
- Capture coverage: 0 API entries from 0 total network entries
Command Reference
credits — Credit balance and ledger
openart-pp-cli credits— Get the credit ledger (CONSUME, RECHARGE, REFUND entries)
forms — Generation forms (submit a video, image, lipsync, motion-sync, etc.)
openart-pp-cli forms <capability_id>— Submit a generation. capability_id is ': ' URL-encoded (e.g....
history — Generation history (submissions)
openart-pp-cli history <historyId>— Get a generation history entry by ID. Includes capability_id and the original input.
media — Generation history and uploaded media
openart-pp-cli media get— Get a single resource by ID. Use this to poll a generation in progress until status='completed' and url is populated.openart-pp-cli media list— List generated and uploaded resources (videos, images, audio) in the active project
project — Projects within a workspace
openart-pp-cli project default— Get the default project ID for the active workspaceopenart-pp-cli project folders— List folders inside a projectopenart-pp-cli project list— List projects in the active workspace
prompt — Prompt utilities (auto-polish, reverse from image)
openart-pp-cli prompt enhance— Auto-polish a prompt (LLM rewrite for better generation)openart-pp-cli prompt from_image— Reverse: extract a suggested prompt from an image URL
templates — Saved generation templates
openart-pp-cli templates— List saved templates
upload — Upload reference images for image-to-video and other ref-based forms
openart-pp-cli upload list— List uploaded reference imagesopenart-pp-cli upload persist— Persist an uploaded image as a referencable assetopenart-pp-cli upload sign— Get a signed upload URL for a new reference image
user — User identity, workspace, and credit balance
openart-pp-cli user current_workspace— Get the active workspace for this sessionopenart-pp-cli user info— Get current user identity, subscription, and credit balanceopenart-pp-cli user last_active— Heartbeat the active sessionopenart-pp-cli user settings— Get user settings
workspace — Workspaces and team membership
openart-pp-cli workspace list— List workspaces this user can accessopenart-pp-cli workspace members— List members of the active workspace
Finding the right command
When you know what you want to do but not which command does it, ask the CLI directly:
openart-pp-cli which "<capability in your own words>"
which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query.
Auth Setup
This CLI uses a browser session. Log in to in Chrome, then:
openart-pp-cli auth login --chrome
Requires a cookie extraction tool (pycookiecheat via pip, or cookies via Homebrew).
Run openart-pp-cli doctor to verify setup.
Agent Mode
Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.
Pipeable — JSON on stdout, errors on stderr
Filterable —
--selectkeeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:openart-pp-cli history mock-value --agent --select id,name,statusPreviewable —
--dry-runshows the request without sendingOffline-friendly — sync/search commands can use the local SQLite store when available
Non-interactive — never prompts, every input is a flag
Explicit retries — use
--idempotentonly when an already-existing create should count as success
Response envelope
Commands that read from the local store or the API wrap output in a provenance envelope:
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}
Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.
Agent Feedback
When you (or the agent) notice something off about this CLI, record it:
openart-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
openart-pp-cli feedback --stdin < notes.txt
openart-pp-cli feedback list --json --limit 10
Entries are stored locally at ~/.openart-pp-cli/feedback.jsonl. They are never POSTed unless OPENART_FEEDBACK_ENDPOINT is set AND either --send is passed or OPENART_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.
Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
Output Delivery
Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
| Sink | Effect |
|---|---|
stdout |
Default; write to stdout only |
file:<path> |
Atomically write output to <path> (tmp + rename) |
webhook:<url> |
POST the output body to the URL (application/json or application/x-ndjson when --compact) |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
Named Profiles
A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
openart-pp-cli profile save briefing --json
openart-pp-cli --profile briefing history mock-value
openart-pp-cli profile list --json
openart-pp-cli profile show briefing
openart-pp-cli profile delete briefing --yes
Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 4 | Authentication required |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
Argument Parsing
Parse $ARGUMENTS:
- Empty,
help, or--help→ showopenart-pp-cli --helpoutput - Starts with
install→ ends withmcp→ MCP installation; otherwise → see Prerequisites above - Anything else → Direct Use (execute as CLI command with
--agent)
MCP Server Installation
Install the MCP binary from this CLI's published public-library entry or pre-built release, then register it:
claude mcp add openart-pp-mcp -- openart-pp-mcp
Verify: claude mcp list
Direct Use
- Check if installed:
which openart-pp-cliIf not found, offer to install (see Prerequisites at the top of this skill). - Match the user query to the best command from the Unique Capabilities and Command Reference above.
- Execute with the
--agentflag:openart-pp-cli <command> [subcommand] [args] --agent - If ambiguous, drill into subcommand help:
openart-pp-cli <command> --help.