cli  by higgsfield-ai

Generate and analyze AI media from your terminal

Created 1 month ago
301 stars

Top 88.6% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

Higgsfield CLI provides a terminal-based interface for generating images, videos, and performing video analysis using over 30 specialized AI models. It targets developers and power users seeking to integrate advanced AI media creation and analysis workflows directly into their shell environment, offering capabilities like custom character training and automated marketing asset production.

How It Works

The CLI acts as a unified gateway to diverse AI models, including image generators like Nano Banana Pro and GPT Image 2, video models such as Veo 3.1 and Kling v3.0, and analytical tools like the Virality Predictor. A key differentiator is the "Soul ID" feature, enabling users to train personalized, face-faithful characters for reuse across compatible image generation models. This approach streamlines complex AI media tasks, allowing for rapid iteration and production of branded content without leaving the command line.

Quick Start & Requirements

Installation is supported via curl script (macOS/Linux), Homebrew (brew install higgsfield-ai/tap/higgsfield), or npm (npm install -g @higgsfield/cli) for cross-platform compatibility. Manual installation involves downloading and placing the binary in the system's PATH. Initial setup requires authentication via higgsfield auth login. Links: Install Script.

Highlighted Details

  • Extensive Model Suite: Access to 30+ distinct AI models for image, video, and analysis tasks.
  • Personalized AI Characters: Train and deploy "Soul IDs" for consistent, face-faithful character generation.
  • Video Virality Analysis: Integrated "Virality Predictor" assesses video hook strength, attention, and retention.
  • Marketing Automation: Tools for generating branded assets, product photoshoots, and DTC ad campaigns.
  • Pipeline Integration: Supports scripting complex generation workflows, demonstrated with examples using jq for result URL extraction.

Maintenance & Community

Bugs and feature requests are managed via GitHub Issues at github.com/higgsfield-ai/cli/issues. Update mechanisms are provided for curl, Homebrew, and npm installations. No explicit community channels (e.g., Discord, Slack) are listed.

Licensing & Compatibility

The project is released under the MIT license, which is permissive and allows for commercial use and integration into closed-source projects.

Limitations & Caveats

Authentication tokens have a short lifespan, requiring periodic re-login. Users must consult higgsfield model list to identify available models and their parameters, as unknown model names will result in errors. Resource requirements for model execution are not specified but are typically significant for AI generation tasks.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
6
Star History
166 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.