npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

studio-lumiere-cli

v0.1.12

Published

Local SDK + CLI for Studio Lumiere image and video generation

Readme

Studio Lumiere CLI

Local SDK + CLI for AI-powered jewelry product photography. This package lives inside the main repo and pulls its options, templates, and prompt logic from the Studio Lumiere source of truth.

Setup

cd studio-cli
npm install

Create .env (or copy studio-cli/.env.example):

GEMINI_API_KEY=your_key_here
LUMIERE_OUTPUT_DIR=outputs

Development

npm run dev -- generate --images "ring.jpg" --template hand_model --quantity 2

Sync From Studio

Use this to copy the latest Studio Lumiere prompt and option files into studio-cli/src/studio before building or running locally:

npm run sync

Commands

The CLI exposes: generate, refine, upscale, muse, caption, video, stitch, tired-girl, annotate, before-after, grid, collate, list.

The caption command analyzes an image with Gemini and returns one overlay-ready top line and one bottom line for social media traction and engagement. It saves its result under outputs/captions/<timestamp>/caption.json.

The video command now supports:

  • gemini with veo-3.1 and veo-3.1-fast
  • kie.ai with kling-3.0
  • optional --start-frame and --end-frame inputs
  • saving the generated video locally under outputs/videos/<timestamp>/video.mp4
  • silent local output videos with no audio track

The stitch command concatenates mixed image/video sequences into one output video using bundled FFmpeg.

Video outputs are normalized to be silent:

  • Kling / KIE is requested with sound: false
  • Veo outputs are saved locally without audio by stripping the audio track after download

Example:

lumiere caption --image "./output.png"

Typical follow-up workflow:

  1. run lumiere caption to get topText and bottomText
  2. run lumiere annotate once for the top text
  3. run lumiere annotate again on the annotated output for the bottom text

For full flag documentation and examples, see: studio-cli/.agents/skills/studio-lumiere-cli/SKILL.md.

Project Layout

studio-cli/
  src/
    cli.ts
    index.ts
    clients/
    config/
    image/
    pipelines/
    prompt/
    storage/
    studio/
  scripts/
    sync-studio.mjs