Skip to content
Projets

À propos

VidLab API CLI & Agent Skill — one key for 97+ AI video, image, and audio models (VidLab UGC Image 1, VidLab 1.5, Seedance 2.5, Gemini Omni 1.2, Kling 4.0) at the lowest price.

Design et médias

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+1
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

VidLab

VidLab API CLI & Agent Skill

MIT License npm @vidlab/cli CI Node >=18.17 Zero Dependencies

One CLI, one agent skill, one API key for 97+ AI image, video, and audio models — including VidLab UGC Image 1, VidLab 1.5, Seedance 2.5, Gemini Omni 1.2, and Kling 4.0.
Each at the lowest price. You only pay for generations that succeed.

Sign up · Get API Key · Models & Prices · Docs · llms.txt


Install in 30 seconds

Option 1 — One command (installs CLI + agent skill for Claude Code, Codex, Cursor & Grok Bot)

curl -fsSL https://raw.githubusercontent.com/mikoxai/vidlab-cli/main/scripts/install.sh | bash

Option 2 — Install the agent skill directly (skills CLI)

npx skills add mikoxai/vidlab-cli -g -y

Option 3 — Install the CLI via npm / npx

npm install -g @vidlab/cli
vidlab setup     # installs SKILL.md into Claude Code & Codex (~/.agents/skills) and checks your key
vidlab login     # saves your API key safely in OS Keychain (never printed or logged)

Or run without installing globally:

npx @vidlab/cli setup
npx @vidlab/cli login

Option 4 — Claude Code Plugin

/plugin marketplace add mikoxai/vidlab-cli
/plugin install vidlab@vidlab-cli

Option 5 — Just tell your agent

Paste this into Claude Code, Grok Bot, Codex, or Cursor:

Install mikoxai/vidlab-cli and add the VidLab skill from https://github.com/mikoxai/vidlab-cli to your skills folder.

Included Agent Skills

Installing this repo gives your coding agent (Claude Code, Codex, Cursor, Grok Bot, or any agent that reads SKILL.md) the vidlab CLI plus four linked skills:

Skill What it teaches your agent
vidlab Core VidLab API & CLI skill: find models, quote prices first, upload files, generate video/image/audio, run full-video Systems, and search viral videos.
vidlab-realistic-images Generate hyper-realistic phone-shot UGC people, product-in-hand shots, photo edits, and realistic video starting frames with ugc-image-1 ($0.09, 4K) instead of bland/blurry frontier image models.
vidlab-animation-frames End-to-end Pixar-style 3D animation ad playbook: seedream-5.5 ($0.0192) for hero characters, 3-panel 16:9 character sheets, locked-lighting locations, and props → seedance-2.5 scene by scene (480p draft → 720p final + sequel extensions).
vidlab-ugc-video End-to-end starting-frame (ugc-image-1) → video pipeline using Seedance 2.5, VidLab 1.5 (vidlab-video-flash), Gemini Omni 1.2 Flash, Kling 4.0, or creator-ugc.

Step-by-step: get your VidLab API key

Bonus: Every VidLab account also includes 100 free videos on VidLab 1.5 inside the VidLab web app at vidlab.ai (API/CLI calls to vidlab-video-flash bill from your API wallet at just $0.02/sec).

  1. Sign up at vidlab.ai.
  2. Create an API key at vidlab.ai/api-keys.
  3. Add pay-as-you-go credit at vidlab.ai/credits (no subscription, no seats, failed runs cost $0.00).
  4. Save your key:
    • Interactive (recommended): vidlab login saves it safely in macOS Keychain or Linux Secret Service (or a 0600 file under ~/.config/vidlab).
    • Environment variable (agents & CI): export VIDLAB_API_KEY="vidlab_sk_..." (VIDLAB_API_KEY always wins when set).
  5. Verify it works (free): vidlab balance

Never paste your API key into a chat, commit, or file. Both the CLI and the agent skills read VIDLAB_API_KEY from your environment or keychain only.


Real ugc-image-1 photo examples + exact prompts

Every image below was generated pure text-to-image on VidLab UGC Image 1 (ugc-image-1, aspect_ratio: 9:16, $0.09 per 4K image) — no reference image needed.

Frame 1 Frame 2 Frame 3 Frame 4
VidLab ugc-image-1 example 1 VidLab ugc-image-1 example 2 VidLab ugc-image-1 example 3 VidLab ugc-image-1 example 4
Prompt 1 (ugc-image-1 · 9:16 · $0.09)
Young woman in her early 20s with fair warm glowing skin, expressive dark almond eyes, soft natural glam makeup, long voluminous dark espresso-brown loose wavy hair parted slightly off-center cascading over both shoulders, glossy nude-pink lips slightly parted mid-sentence talking candidly to the camera. Vertical 9:16 candid front-facing iPhone selfie photograph taken inside a parked modern luxury car on a bright sunny California afternoon. Sitting in the black perforated leather front seat with subtle stitching and white-cream leather side bolster trim, dark charcoal headliner, open panoramic glass sunroof directly overhead showing bright clear blue sky, tall green palm tree fronds, and leafy green trees outside; soft-focus trees and sunlit buildings visible through the rear and side windows. Wearing a fitted white ribbed scoop-neck tank top, a delicate thin gold chain necklace with a small white mother-of-pearl four-leaf clover pendant, and tiny stud earrings. Chest-up framing, one arm extended slightly toward the lower-right foreground holding the phone, looking straight into the front camera lens. Warm natural afternoon sunlight streaming through the sunroof and windshield, realistic skin pores and natural texture, authentic unedited smartphone UGC car-talk video frame. Completely clean raw photograph with no text, no captions, no words, no watermarks, no icons, and no UI overlays.
Prompt 2 (ugc-image-1 · 9:16 · $0.09)
Young woman in her early 20s with light sun-kissed fair skin, light hazel-blue eyes, soft natural glam makeup, long voluminous honey-blonde loose wavy hair parted slightly off-center cascading over both shoulders, glossy pink-nude lips slightly parted mid-sentence talking candidly to the camera. Vertical 9:16 candid front-facing iPhone selfie photograph taken inside a parked modern luxury car on a bright sunny California afternoon. Sitting in the black perforated leather front seat with subtle stitching and white-cream leather side bolster trim, dark charcoal headliner, open panoramic glass sunroof directly overhead showing bright clear blue sky, tall green palm tree fronds, and leafy green trees outside; soft-focus trees and sunlit buildings visible through the rear and side windows. Wearing a fitted white ribbed scoop-neck tank top, a delicate thin gold chain necklace with a small white mother-of-pearl four-leaf clover pendant, and tiny stud earrings. Chest-up framing, one arm extended slightly toward the lower-right foreground holding the phone, looking straight into the front camera lens. Warm natural afternoon sunlight streaming through the sunroof and windshield, realistic skin pores and natural texture, authentic unedited smartphone UGC car-talk video frame. Completely clean raw photograph with no text, no captions, no words, no watermarks, no icons, and no UI overlays.
Prompt 3 (ugc-image-1 · 9:16 · $0.09)
Young woman in her early 20s with warm medium-brown glowing skin, expressive dark brown eyes, defined natural brows, soft natural glam makeup, long voluminous jet-black loose wavy hair parted slightly off-center cascading over both shoulders, glossy rose-nude lips slightly parted mid-sentence talking candidly to the camera. Vertical 9:16 candid front-facing iPhone selfie photograph taken inside a parked modern luxury car on a bright sunny California afternoon. Sitting in the black perforated leather front seat with subtle stitching and white-cream leather side bolster trim, dark charcoal headliner, open panoramic glass sunroof directly overhead showing bright clear blue sky, tall green palm tree fronds, and leafy green trees outside; soft-focus trees and sunlit buildings visible through the rear and side windows. Wearing a fitted white ribbed scoop-neck tank top, a delicate thin gold chain necklace with a small white mother-of-pearl four-leaf clover pendant, and tiny stud earrings. Chest-up framing, one arm extended slightly toward the lower-right foreground holding the phone, looking straight into the front camera lens. Warm natural afternoon sunlight streaming through the sunroof and windshield, realistic skin pores and natural texture, authentic unedited smartphone UGC car-talk video frame. Completely clean raw photograph with no text, no captions, no words, no watermarks, no icons, and no UI overlays.
Prompt 4 (ugc-image-1 · 9:16 · $0.09)
Young woman in her early 20s with warm golden-olive skin, warm dark brown eyes, groomed arched brows, soft natural glam makeup, long voluminous rich dark chestnut-brown loose wavy hair parted slightly off-center cascading over both shoulders, glossy nude-pink lips slightly parted mid-sentence talking candidly to the camera. Vertical 9:16 candid front-facing iPhone selfie photograph taken inside a parked modern luxury car on a bright sunny California afternoon. Sitting in the black perforated leather front seat with subtle stitching and white-cream leather side bolster trim, dark charcoal headliner, open panoramic glass sunroof directly overhead showing bright clear blue sky, tall green palm tree fronds, and leafy green trees outside; soft-focus trees and sunlit buildings visible through the rear and side windows. Wearing a fitted white ribbed scoop-neck tank top, a delicate thin gold chain necklace with a small white mother-of-pearl four-leaf clover pendant, and tiny stud earrings. Chest-up framing, one arm extended slightly toward the lower-right foreground holding the phone, looking straight into the front camera lens. Warm natural afternoon sunlight streaming through the sunroof and windshield, realistic skin pores and natural texture, authentic unedited smartphone UGC car-talk video frame. Completely clean raw photograph with no text, no captions, no words, no watermarks, no icons, and no UI overlays.

Price comparison: VidLab vs Kie, Higgsfield & Fal

By far the cheapest API for the top models — full comparison in docs/pricing-comparison.md, or query live anytime (no key needed) with curl -s https://vidlab.ai/v1/compare.

Seedance 2.5 (seedance-2.5) — USD per second

Platform 480p 720p 1080p Reference Video (480p / 720p / 1080p)
VidLab $0.09 $0.21 $0.52 $0.059 / $0.15 / $0.34
Kie $0.14 $0.315 $0.79 $0.085 / $0.19 / $0.475
Higgsfield $0.147 $0.343 $0.784 $0.147 / $0.343 / $0.784
Fal $0.2205 $0.473 $1.164 —

Other top models — VidLab vs other platforms

Model Unit VidLab Kie Higgsfield Fal
Seedance 2.0 (720p / 1080p) per sec $0.15 / $0.40 $0.205 / $0.51 $0.294 / $0.588 $0.3034 / $0.682
Gemini Omni 1.1 Flash (720p / 1080p) per sec $0.071 / $0.071 — $0.147 / $0.2205 —
Grok Imagine Video 1.5 (720p / 1080p) per sec $0.07 / $0.13 — $0.2205 / $0.392 $0.14 / $0.25
Nano Banana Pro (1K / 2K / 4K) per image $0.04 / $0.04 / $0.08 $0.09 / $0.09 / $0.12 $0.098 / $0.098 / $0.196 $0.15 / $0.15 / $0.30
Nano Banana 2 (1K / 2K / 4K) per image $0.03 / $0.03 / $0.04 $0.04 / $0.06 / $0.09 $0.0735 / $0.098 / $0.147 $0.08 / $0.12 / $0.16
Seedream 5.0 Pro (2K) per image $0.04 — $0.147 $0.135
GPT Image 2.5 Flare / Sunburst (1K / 4K) per image $0.02 / $0.03 — — $0.2107 / $0.4003

(Competitor prices sourced from GET https://vidlab.ai/v1/compare, checked Nov 2026. Failed runs on VidLab cost $0.00.)


Starting frame → video workflow (UGC & AI animation)

Better starting frames are the fastest way to upgrade AI video quality. Generate a crisp 4K realistic frame with ugc-image-1 ($0.09/image), then pipe it straight into Seedance 2.5, VidLab 1.5, Gemini Omni 1.2, or Kling 4.0. Local files passed to --image are uploaded automatically.

# 1. Price before you spend (free, no key needed)
vidlab estimate ugc-image-1 --prompt "woman in her kitchen holding a skincare serum, morning window light, shot on iPhone"

# 2. Generate a realistic 4K starting frame ($0.09 flat)
vidlab run ugc-image-1 \
  --prompt "woman in her kitchen holding a skincare serum, morning window light, shot on iPhone" \
  --aspect-ratio 9:16 --max-price 0.10 --wait --out start-frame.png

# 3. Animate the starting frame with Seedance 2.5 (or vidlab-video-flash / gemini-omni-1.2-flash / kling-4.0)
vidlab run seedance-2.5 \
  --prompt "she holds the serum toward the lens, smiles naturally, subtle handheld phone motion" \
  --image ./start-frame.png --duration 5 --resolution 720p --max-price 1.20 --wait --out ad.mp4

You can also pass person and product photos to ugc-image-1:

vidlab run ugc-image-1 \
  --prompt "she holds the bottle beside her cheek in a bright bathroom" \
  --image ./person.jpg --image ./product.png \
  --param image_roles='["person","product"]' \
  --aspect-ratio 9:16 --wait --out ugc-frame.png

Featured models & live prices

97+ video, image, audio, and upscale models behind one key. Prices below are live snapshots — always run vidlab models or vidlab estimate for current pricing.

Model ID Kind Starting Price Highlights
VidLab UGC Image 1 ugc-image-1 Image $0.09 / image Realistic 4K phone-shot UGC people, reference images (person/product), and photo editing
Seedream 5.5 seedream-5.5 Image $0.0192 / image Pixar-style 3D animation characters, 3-panel 16:9 character sheets, locations & props (up to 10 refs; 1K/1.5K $0.0192, 2K $0.0336)
VidLab 1.5 vidlab-video-flash Video $0.02 / sec Fast 10s video from prompt, start frame, or Talking Video (script + optional voice reference)
VidLab 2 vidlab-video-2 Video $0.221 / sec Fast video with start/end frames, 720p/1080p, 5–15s, native audio
Seedance 2.5 seedance-2.5 Video $0.09 / sec 480p ($0.09/s), 720p ($0.21/s), 1080p ($0.52/s); video input discounts
Seedance 2.5 Flash seedance-2.5-flash Video $0.085 / sec Fast Seedance 2.5 at 480p ($0.085/s) and 720p ($0.185/s)
Gemini Omni 1.2 Flash gemini-omni-1.2-flash Video $0.019 / sec 360p ($0.019/s), 720p ($0.044/s), 1080p ($0.049/s), 4K ($0.10/s)
Kling 4.0 kling-4.0 Video $0.135 / sec 720p ($0.135/s), 1080p ($0.20/s); video-input routes from $0.08/s
Kling 3.0 kling-3.0 Video $0.09 / sec 720p ($0.09/s), 1080p ($0.12/s), 4K ($0.42/s), optional audio

Explore every model from the shell:

vidlab models                                 # all 97+ models
vidlab models --kind image                    # image models
vidlab models --kind video --search seedance  # filter by name
vidlab model ugc-image-1                      # exact input params and prices

CLI commands

# Discover & price (free, no key needed)
vidlab models --kind video --search seedance
vidlab model seedance-2.5
vidlab estimate seedance-2.5 --prompt "a red fox in snow" --duration 5 --resolution 720p

# Generate & download
vidlab run seedance-2.5 --prompt "a red fox in snow" --duration 5 --resolution 720p --max-price 2 --wait --out fox.mp4
vidlab get gen_... --wait --out fox.mp4
vidlab upload ./photo.png                     # prints hosted URL (--image ./file does this automatically)

# Full-video Systems (end-to-end ads with checkpoints)
vidlab systems
vidlab system run creator-ugc "A creator demos my sleep gummies" --image ./bottle.png --wait
vidlab system reply srun_... "Make the hook punchier." --wait
vidlab system approve srun_... --wait         # approve checkpoint (--all to finish without stopping)
vidlab system wait srun_... --out ad.mp4
vidlab system cancel srun_...

# Agent skill & account
vidlab setup                                  # install skill for Claude Code & Codex + check key
vidlab skill install --dir ./my-skills        # install SKILL.md into any custom folder
vidlab skill print                            # print SKILL.md to stdout
vidlab login
vidlab logout
vidlab balance

Built for coding agents & scripts

  • --json on every command outputs one clean JSON document on stdout, including errors: {"error": {"code", "message", "status", "hint"}}.
  • Safe retries: vidlab run always attaches an Idempotency-Key (or uses --idempotency-key), so retries never double-charge.
  • Hard spend cap: --max-price <usd> maps to max_cost_usd — routes above your cap are skipped before anything is held.
  • Pay only for success: Failed generations cost $0.00.
  • Predictable exit codes:
    • 0 — succeeded
    • 1 — API or network error
    • 2 — usage / validation error
    • 3 — generation or run failed
    • 4 — still running when --wait timed out (--timeout)
    • 5 — system run is waiting for your reply or checkpoint approval

What's in this repository

Path Description
bin/vidlab.mjs Executable vidlab entrypoint (Node 18.17+, zero dependencies)
lib/ CLI implementation (commands, client, setup, systems, credentials, args)
skills/ Four agent skills (vidlab, vidlab-realistic-images, vidlab-animation-frames, vidlab-ugc-video) discovered by npx skills add mikoxai/vidlab-cli and Claude Code plugins
skill/SKILL.md Bundled offline copy used by vidlab setup and vidlab skill install
scripts/install.sh One-command installer for @vidlab/cli + agent skills
.claude-plugin/ Claude Code plugin & marketplace manifests
docs/pricing-comparison.md Full side-by-side price comparison (VidLab vs Kie, Higgsfield, Fal, Sunra, Sume) from GET https://vidlab.ai/v1/compare
examples/realistic-images/ Real 9:16 ugc-image-1 output photos paired with exact prompts
AGENTS.md Direct onboarding instructions for coding agents
test/ Full Node test suite (npm test)

Development & testing

git clone https://github.com/mikoxai/vidlab-cli.git
cd vidlab-cli
npm test

License

MIT. Model names belong to their respective makers.

Explorer des projets similaires

Chargement…