Higgsfield CLI for Claude Code and Codex

higgsfield-cli

The official Higgsfield command-line tool: more than 40 models for images, video, 3D and audio and analysis of finished video from the terminal

Install in Claude Code and Codex

Other ways to install

Access and checks

How we review

Extended access. The tool runs code or makes network calls and only reads external data.

  • Works in your Higgsfield account and spends its resources
  • Requests and images are sent to the external Higgsfield service

This is third-party code. Review the repository files before installing.

What it does

The tool runs Higgsfield generations from the terminal and suits agents that work in the console. More than 40 models are available: images, video, 3D, audio, and analysis of finished video. Installation is through npm (the @higgsfield/cli package), a curl script or Homebrew. The higgsfield auth login command signs in and opens the browser. Example launch: higgsfield generate create nano_banana_2 --prompt "..." --wait.

Who it is for. For developers and authors who generate images and video from the terminal and from scripts and work with agents like Claude Code.

Good fit when

  • You need to run generations in scripts and batch jobs
  • You need a terminal agent that calls generation itself and waits for the result
  • You need a choice among more than 40 models from the command line

Not a fit when

  • You want a connection without installing programs: the remote Higgsfield MCP server is simpler
  • You cannot send images and descriptions to the external Higgsfield service

Example request

Generate five preview options for the article in the Nano Banana model and save the files to the assets folder

Limitations

Generations spend resources of your Higgsfield account, and the tool documentation gives no prices. The tool sends requests and images to the Higgsfield service. You complete the browser sign-in yourself. The npm package version is 1.1.26 and the repository was updated on 18.09.2026. Availability from Russia is not stated in the documentation.

How to disable. Sign out with higgsfield auth logout if your version has it, remove the package with npm uninstall -g @higgsfield/cli and revoke access in the Higgsfield account settings.

FAQ

How do I install Higgsfield CLI?

With npm install -g @higgsfield/cli. A curl script from the repository and Homebrew also work: brew install higgsfield-ai/tap/higgsfield.

How do I sign in?

With higgsfield auth login: it opens the browser to sign in to the account.

How many models are supported?

More than 40: images, video, 3D and audio.

How is it different from the MCP server?

The CLI runs in the terminal and scripts, while MCP connects to a client by address. For Claude Code the vendor offers the CLI and skills.

Which agents does Higgsfield CLI work with?

Higgsfield CLI works in Claude Code and Codex.

Is Higgsfield CLI safe to install?

Extended access. The tool runs code or makes network calls and only reads external data.

Discussion

No questions or reviews yet.

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
Higgsfield CLI (this card)yes729
Higgsfield MCPyesOAuthremote server by address, OAuth sign-in
Higgsfield skillsyes2,093eight ready scenarios: product shoots, cards, thumbnails

README in short

The README describes the Higgsfield command-line tool: installation through npm, curl or Homebrew, higgsfield auth login to sign in and higgsfield generate create to launch generations. More than 40 models for images, video, 3D and audio are listed. MIT license.

README badge

Report a problem