PixelDance

Quickstart

Get Higgsfield running locally in 5 minutes.

Prerequisites

  • Bun >= 1.0
  • A PostgreSQL database (Neon for serverless, or local)
  • Stripe CLI (for webhook testing)

Setup

Clone the repository

git clone https://github.com/higgsfield-ai/higgsfield.git
cd higgsfield

Configure environment variables

Copy the root .env.example to .env and fill in the required values:

cp .env.example .env

Key variables:

VariableDescription
DATABASE_URLPostgreSQL connection string
BETTER_AUTH_SECRETRandom secret (min 16 chars)
BETTER_AUTH_URLApp base URL (e.g. http://localhost:3000)
STRIPE_SECRET_KEYStripe API key
RESEND_API_KEYResend email API key

Push database schema

bun run db:push

On this page