@higgsfield/cli
v1.2.2
Published
Higgsfield AI CLI — generate images and videos from the terminal.
Downloads
99,678
Keywords
Readme
@higgsfield/cli
Higgsfield AI CLI — generate images and videos from the terminal.
Install
npm install -g @higgsfield/cliPostinstall fetches the prebuilt hf binary for your platform from the GitHub release.
It verifies the archive's SHA-256 against checksums bundled in this npm package before extracting the binary. Installation fails if the checksum is missing or does not match.
Supported platforms: macOS, Linux, Windows (x64, arm64).
Usage
higgsfield auth login
higgsfield generate create text2image_soul_v2 --prompt "a cat in a spaceship"
higgsfield --helpAliases: higgsfield, higgs.
Packaging
Release CI generates checksums.json from the six local GoReleaser archives before publishing. For local packaging, set npm/package.json to the release version and build its archives into dist, then run from the repository root:
node npm/checksums.js prepare dist
cd npm
npm packThe generated manifest is included in the npm package. The prepack check rejects missing or invalid checksums and version mismatches.
Links
- Source: https://github.com/higgsfield-ai/cli-src
- Releases: https://github.com/higgsfield-ai/cli/releases
- Higgsfield: https://higgsfield.ai
