wide-trace/open-higgsfield
A studio for image and video generation — one prompt bar, each model’s own settings, and every finished run in one gallery.
About wide-trace/open-higgsfield
wide-trace/open-higgsfield is an open-source project on GitHub, mainly written in TypeScript. A studio for image and video generation — one prompt bar, each model’s own settings, and every finished run in one gallery. It currently holds 3,384 stars and 763 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).
Project Overview
AI Homed tracks it on the Today's Trending board.
GitHub Repository Details
README
OpenHiggsfield AI — Open-Source Alternative to Higgsfield AI
The free, open-source alternative to Higgsfield AI. Generate images and
videos with 38 models from one prompt bar — no closed ecosystem, no studio
subscription.
🌐 Try it Online — No Install Required
Hosted version: openhiggsfield.ai
Image and Video in one studio, in the browser — no Node.js, no setup. Add your
platform key (id:secret) to start generating. The studio itself is free.
---
Why OpenHiggsfield AI instead of Higgsfield AI?
- Free & open-source — no studio subscription, no vendor lock-in
- Self-hosted — clone it, run it, change it
- Your key — generate with your own platform key
- 38 models — 8 image, 30 video, one catalog, one composer
Next.js 16 App Router on Vercel · React 19 · plain CSS · Zustand · pnpm
---
Features
Generate
- One composer for Image and Video. A single prompt bar drives both; the
⌘/Ctrl + Enter submits.
- 38 models in the catalog — 8 image, 30 video: Soul 2, Soul Cinema, Seedance
- Per-model settings. Aspect ratio, resolution, duration, output format,
- Media inputs by role. Start frame, end frame, references, video and audio,
- Asset picker. Attach from your uploads library or from any finished run in
- Batch. Up to 4 results per press. Models with a native count setting use it;
- Live run lifecycle. Skeletons open in the grid on submit, the request is
Gallery
- Four scopes — Image, Video, Assets (every finished run) and Favorites —
- Masonry grid of real runs at their true aspect ratio, newest first, with a
- Per-tile actions: reuse, favorite, delete, select.
- Reuse restores model, settings and prompt, so the same run can be
- Viewer. Full-size media with prompt (copy in one click), model, resolved
- Selection mode. Click a tile's checkbox to enter; shift-click extends a
Esc exits.
- Undo. Deletion is reversible for 6 seconds via a bar with a draining
- Empty states that hand you a starter prompt instead of a blank grid.
State and errors
- History persists in IndexedDB in this browser (60 records). Favorites are
- Failed, NSFW and canceled runs are recorded as failed tiles carrying the
- Your own platform key. Entered in a modal, stored by a server action in an
---
Architecture
Each generate is one object: { model, prompt, media, settings }.
- The UI builds that object and hands it to a server action. The action
image_urls, aspect_ratio, …).
- Server actions are the only caller. The browser never talks to the
POST /{model}; status is
GET /requests/{id}/status. Auth is Authorization: Key <api_key>.
- The catalog is the source of truth (
src/generation/catalog/). A new entry
- Five small Zustand stores — shared image/video prompt, shared image/video
settings[modelId], and a tiny active store. No store per model.
- Uploads go client-direct to Vercel Blob through
/api/blob, which issues
blob: URLs are preview-only.
---
Getting started
pnpm install
pnpm dev # http://localhost:3000
Open the studio, press Add key, and paste your platform key as id:secret.
Environment
HF_API_BASE_URL= # generation API origin, server only
OPEN_HIGGSFIELD_READ_WRITE_TOKEN= # Vercel Blob read-write token
Commands
| Command | What it does |
| --- | --- |
| pnpm dev | Dev server on port 3000 |
| pnpm build | Production build |
| pnpm start | Serve the production build |
| pnpm brand | Rebuild the icons and OG card in public/ |
---
Layout
src/
app/ / is the full-viewport studio and the only page
/api/blob issues upload tokens
base.css owns the document canvas
generation/ generate requests, server actions, API mapping, catalog, stores
openhiggsfield/
the studio surface: composer, gallery, viewer, model picker,
settings, asset picker, selection bar — and openhiggsfield.css
---
Design principles
Dark studio ground, a single lime accent #d1fe17, Inter throughout. The chrome
stays neutral so the generated work is the only color on the surface.
1. The tool disappears into the task — expression never obscures state or affordance. 2. Accent is state, not decoration — selection, primary action, liveness only. 3. Data is data — settings, counts and durations read in tabular numerals. One typeface throughout; no monospace anywhere. 4. Motion conveys state — the generation lifecycle, the arrival of a run. Nothing loops decoratively. 5. Every control ships all its states — hover, focus, active, disabled, loading, error, empty. 6. The catalog is the source of truth — the studio renders what the model declares, never a parallel hardcoded list.
Built for people who work in long sessions, iterating on prompts, inputs and settings.