### Install Higgsfield CLI with npm Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Install the Higgsfield CLI globally on any platform (including Windows) using npm. ```bash npm install -g @higgsfield/cli ``` -------------------------------- ### Install Higgsfield CLI with Homebrew Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Install the Higgsfield CLI on macOS using the Homebrew package manager. ```bash brew install higgsfield-ai/tap/higgsfield ``` -------------------------------- ### Install Higgsfield CLI with curl Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Use this command to install the Higgsfield CLI on macOS or Linux systems using curl. ```bash curl -fsSL https://raw.githubusercontent.com/higgsfield-ai/cli/main/install.sh | sh ``` -------------------------------- ### Install Higgsfield CLI to a Specific Release using npm Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Installs a specific version of the Higgsfield CLI using npm by specifying the version number. ```bash npm install -g @higgsfield/cli@0.1.22 ``` -------------------------------- ### Generate Kling v3.0 Video Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Create a video with Kling v3.0, using a starting image, specifying duration, mode, sound settings, and waiting for completion. ```bash higgsfield generate create kling3_0 \ --prompt "slow camera push through a forest clearing at dawn" \ --start-image ./first.png \ --duration 5 --mode pro --sound off \ --wait ``` -------------------------------- ### Install Higgsfield CLI to a Specific Release using curl Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Installs a specific version of the Higgsfield CLI using curl by specifying a tag. ```bash curl -fsSL https://raw.githubusercontent.com/higgsfield-ai/cli/main/install.sh | sh -s -- --tag v0.1.22 ``` -------------------------------- ### Uninstall Higgsfield CLI installed via curl Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Uninstalls the Higgsfield CLI when it was installed using the curl method. Assumes the default installation prefix. ```bash sudo rm /usr/local/bin/higgsfield ``` -------------------------------- ### Analyze Video with Virality Predictor Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Analyze a video using the Virality Predictor model to get scores for hook strength, attention, retention, and viral potential. ```bash higgsfield generate create brain_activity --video ./ad.mp4 --wait ``` -------------------------------- ### Get Job Status and Wait for Job Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Retrieve the status of a specific job using its ID and wait for a job to complete. ```bash higgsfield generate get ``` ```bash higgsfield generate wait ``` -------------------------------- ### Generate Nano Banana Pro Image Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Create an image with the Nano Banana Pro model, specifying prompt, aspect ratio, resolution, and waiting for completion. ```bash higgsfield generate create nano_banana_2 \ --prompt "modern architecture, glass facade, golden hour light" \ --aspect_ratio 16:9 \ --resolution 2k \ --wait ``` -------------------------------- ### Generate Image with Wait Flag Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Create an image using the nano_banana_2 model and wait for the result URL to be available. ```bash higgsfield generate create nano_banana_2 --prompt "a quiet beach at sunrise" --wait ``` -------------------------------- ### Generate Seedance 2.0 Video Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Create a video with Seedance 2.0, specifying prompt, aspect ratio, duration, resolution, mode, and genre. ```bash higgsfield generate create seedance_2_0 \ --prompt "drone shot over a mountain valley at sunrise" \ --aspect_ratio 16:9 --duration 5 \ --resolution 1080p --mode std --genre noir \ --wait ``` -------------------------------- ### Generate GPT Image 2 Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Create an image using the GPT Image 2 model with specific prompt, aspect ratio, quality, and resolution settings. ```bash higgsfield generate create gpt_image_2 \ --prompt "clean infographic showing global energy mix, flat icons, muted palette" \ --aspect_ratio 3:4 \ --quality high --resolution 2k \ --wait ``` -------------------------------- ### List Completed Jobs and Extract Result URLs Source: https://github.com/higgsfield-ai/cli/blob/main/README.md This snippet demonstrates how to list all jobs, filter for completed ones, and extract their result URLs using `jq` for JSON processing. ```bash higgsfield generate list --json | jq -r '.[] | select(.status=="completed") | .result_url' ``` -------------------------------- ### Authenticate Higgsfield CLI Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Log in to your Higgsfield account using the CLI to authenticate your session. ```bash higgsfield auth login ``` -------------------------------- ### Update Higgsfield CLI using npm Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Updates the Higgsfield CLI to the latest version using npm. ```bash npm install -g @higgsfield/cli@latest ``` -------------------------------- ### Update Higgsfield CLI using brew Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Updates the Higgsfield CLI to the latest version using the Homebrew package manager. ```bash brew update && brew upgrade higgsfield ``` -------------------------------- ### Uninstall Higgsfield CLI using npm Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Uninstalls the Higgsfield CLI using npm. ```bash npm uninstall -g @higgsfield/cli ``` -------------------------------- ### Generate Image with Trained Soul ID Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Create an image using a compatible model, referencing a previously trained Soul ID for personalized results. ```bash higgsfield generate create text2image_soul_v2 \ --prompt "professional portrait, neutral background, soft daylight" \ --soul-id \ --wait ``` -------------------------------- ### Uninstall Higgsfield CLI using brew Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Uninstalls the Higgsfield CLI using the Homebrew package manager. ```bash brew uninstall higgsfield ``` -------------------------------- ### Wait for Soul ID Training Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Wait for the Soul ID training process to complete using the obtained soul_id. ```bash higgsfield soul-id wait ``` -------------------------------- ### Train Soul ID Source: https://github.com/higgsfield-ai/cli/blob/main/README.md Train a Soul ID model once using multiple images of a person. The training requires the --soul-2 flag. ```bash higgsfield soul-id create --name me --soul-2 \ --image ./me1.jpg --image ./me2.jpg --image ./me3.jpg ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.