No description
Find a file
Khoa.vo e8978bb086
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
fix: Replace BigInt literal with BigInt function for ES compatibility
2026-01-07 19:40:49 +07:00
.github/workflows feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00
app fix: Remove GrokChat import and usage from page.tsx 2026-01-07 19:39:29 +07:00
components fix: Remove all remaining grok references, delete GrokChat.tsx 2026-01-07 19:38:27 +07:00
data fix: Add provider to editSource type in Gallery.tsx 2026-01-07 19:25:07 +07:00
lib fix: Replace BigInt literal with BigInt function for ES compatibility 2026-01-07 19:40:49 +07:00
public feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00
scripts fix: Cookie parsing for JSON format in upload and generate APIs 2026-01-05 15:01:24 +07:00
services chore: Remove Grok integration, simplify Settings UI 2026-01-07 19:21:51 +07:00
.dockerignore feat: add Meta AI video generation 2026-01-06 13:52:31 +07:00
.gitignore feat: add Meta AI video generation 2026-01-06 13:52:31 +07:00
CONTRIBUTING.md feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00
docker-compose.yml chore: Remove Grok integration, simplify Settings UI 2026-01-07 19:21:51 +07:00
Dockerfile feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00
eslint.config.mjs feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00
next.config.ts feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00
package-lock.json feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00
package.json feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00
postcss.config.mjs feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00
README.md feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00
tsconfig.json feat: Initial commit with multi-provider image generation 2026-01-05 13:50:35 +07:00

kv-pix (V2)

A modern, lightweight AI Image Generator powered by Google ImageFX (Whisk), Grok, and Meta AI. Built with Next.js 14, TypeScript, and Tailwind CSS.

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • Whisk/Grok/Meta Cookies (from respective services)

Installation

npm install

Run Locally

npm run dev
# App will be live at http://localhost:3000

🐳 Docker Deployment (Synology NAS / linux/amd64)

docker-compose up -d

Using Docker CLI

# Build
docker build -t kv-pix:latest .

# Run
docker run -d -p 3001:3000 --name kv-pix kv-pix:latest

Synology Container Manager

  1. Pull the image or build locally.
  2. Create a container from the image.
  3. Map port 3000 (container) to your desired host port (e.g., 3001).
  4. Start the container.
  5. Access the app at http://<NAS_IP>:3001.

🏗️ Architecture

Project Structure

app/            # Pages and API Routes
components/     # React UI Components
lib/            # Core Logic (whisk-client, meta-client, grok-client)
data/           # Prompt library JSON
public/         # Static assets

Features

  • Multi-Provider: Google Whisk (ImageFX), Grok (xAI), Meta AI (Imagine)
  • Prompt Library: Curated prompts organized by categories and sources
  • Upload History: Reuse previously uploaded reference images
  • Reference Chips: Drag-and-drop references for Subject/Scene/Style
  • Video Generation: Animate images with Whisk Animate (Veo)
  • Responsive Gallery: Masonry layout with smooth animations
  • Dark Mode: Material 3 inspired aesthetic
  1. Go to the respective service:
  2. Open DevTools (F12) -> Application -> Cookies.
  3. Copy the cookie string (or use a "Get Cookies" extension to copy as JSON).
  4. Paste into the Settings menu in the app.

📝 License

MIT