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

@aiformule-dev/cli

v0.2.2

Published

AI Formule CLI — genereer foto's en video's vanuit je terminal

Readme

aiformule-cli

Genereer foto's en video's met AI Formule — direct vanuit je terminal.

Installatie

npm install -g @aiformule-dev/cli

Vereist Node.js 18 of hoger.

Inloggen

aiformule login

Dit opent je browser. Log in op je AI Formule-account en keur de code goed — de CLI ontvangt automatisch een token (opgeslagen in ~/.aiformule/config.json).

Gebruik

# Account en saldo bekijken
aiformule account

# Beschikbare modellen
aiformule models

# Een foto genereren
aiformule run nano-banana-pro -p "een vos in een herfstbos, filmisch licht" -o vos.png

# Een foto met referentieafbeeldingen (herhaal --image, max 10)
aiformule run seedream-4.5 -p "in dezelfde stijl" --image ref1.jpg --image ref2.jpg

# Een video genereren (tekst → video)
aiformule run wan-2.7 -p "drone-shot over de bergen" --duration 5 --aspect 16:9 -o clip.mp4

# Een video uit een startafbeelding (image → video), met eindframe en geluid
aiformule run kling-3.0-pro -p "laat de golven bewegen" --mode image-to-video --image start.png --end-image eind.png --sound

# Een bestaande video verlengen of bewerken
aiformule run wan-2.7 -p "laat de camera uitzoomen" --mode video-extend --video clip.mp4

run opties

| Optie | Beschrijving | |---|---| | -p, --prompt <text> | De prompt (verplicht) | | --type <photo\|video> | Forceer het type (anders auto-detectie op modelslug) | | -o, --output <path> | Output-bestand (default ./aiformule-<jobid>.<ext>) | | --aspect <ratio> | Aspect ratio, bv. 16:9 (foto en video) | | --quality <1k\|2k\|4k> | Kwaliteit (foto) | | --count <n> | Aantal afbeeldingen 1–8 (foto) | | --mode <mode> | Video-modus, bv. text-to-video, image-to-video, video-extend | | --duration <s> | Duur in seconden (video) | | --resolution <r> | Resolutie, bv. 720p/1080p (video) | | --sound | Genereer geluid (video) | | --negative-prompt <text> | Wat NIET in de video mag (video) | | --image <path> | Referentie- of startafbeelding (herhaalbaar; foto: max 10) | | --end-image <path> | Eindframe-afbeelding (video) | | --last-image <path> | Laatste-frame-afbeelding (video, wan-2.7 image-to-video) | | --reference-image <path> | Referentiebeeld voor video-edit (seedance-2.0); herhaalbaar, max 4 | | --video <path> | Invoervideo (herhaalbaar; reference-to-video: max 4) | | --persona <id> | Persona-id voor consistente personen (foto en video) | | --json | Machineleesbare output (voor scripts) |

Saldo

De CLI gebruikt hetzelfde saldo als je account op aiformule.com. Te weinig saldo? Waardeer op via aiformule.com/wallet.

Omgevingsvariabelen

  • AIFORMULE_BASE_URL — overschrijf de server-URL (handig voor development).
  • AIFORMULE_TOKEN — gebruik een token uit de omgeving i.p.v. het configbestand (CI).

Licentie

MIT