Skip to content

Repository files navigation

civitui

Terminal UI for Civitai image generation. Configure a job, price it in buzz, submit, poll, and download — all in one lazygit-style window.

Built on the Civitai Orchestrator API.

Requirements

Install

go build -o civitui .

Optional: put the binary on your PATH (e.g. ~/.local/bin/civitui).

API key

Resolved in this order:

  1. CIVITAI_API_KEY environment variable
  2. ~/.config/civitui/civitui.conf (api_key=…)
  3. ~/.config/civitai/config.yaml (legacy CLI config)

Usage

civitui
civitui --debug
civitui --dump
  • --debug — verbose request/response logging (~/.local/share/civitui/debug.log)
  • --dump / --dry-run — print the default JSON payload and exit (no API call)

Keys (in the TUI)

key action
tab / ↑↓ move between fields
open presets (where available)
enter price & queue a generation
y / n confirm or cancel a priced job
ctrl+c / esc quit

Project layout

path role
pkg/civit/ headless API client
internal/ui/ Bubble Tea TUI
specs/ design specs

Links

Develop

go build ./...
go vet ./...
go test ./... -count=1

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages