Retour au classement

premieroctet/photoshot

TypeScriptphotoshot.app

An open-source AI avatar generator web app - https://photoshot.app

aidreamboothnextjsreactjsstable-diffusiontypescript
Croissance des étoiles
Étoiles
3.9k
Forks
472
Croissance hebdomadaire
Issues
10
3.9k3.9k3.9k
18 juil.19 juil.20 juil.22 juil.
Artefactsnpmnpm install photoshot
README

Photoshot

Twitter

photobooth-ai.app

An open-source AI avatar generator web app

Photoshot

Try it out at photoshot.app

Stack

  • Next.js for webapp
  • 🖼 Chakra UI for UI components
  • 📦 Prisma for database
  • 🧠 Replicate, a platform for running machine learning models in the cloud
  • 💰 Stripe for payments
  • 👩‍🎨 Flux an open-source text-to-image generation model

Getting Started

Install dependencies:

yarn install

You can use Docker to run a local postgres database and maildev server (accessible at http://localhost:1080):

docker-compose up -d

Create .env.local:

cp .env.example .env.local

Update environment variable values:

Environment Variable Explanation
DATABASE_URL The connection string for your PostgreSQL database. It will be postgresql://photoshot:photoshot@localhost:5432/photoshot if you are using the provided docket setup.
NEXTAUTH_URL The URL of your Next.js application, used for authentication purposes with NextAuth.js.
S3_UPLOAD_KEY The access key for your AWS S3 bucket used for storing pictures.
S3_UPLOAD_SECRET The secret key for your AWS S3 bucket used for storing pictures.
S3_UPLOAD_BUCKET The name of your AWS S3 bucket used for storing pictures.
S3_UPLOAD_REGION The AWS region where your S3 bucket is located.
REPLICATE_API_TOKEN The API token for Replicate.
REPLICATE_USERNAME The username associated with your Replicate account.
REPLICATE_MAX_TRAIN_STEPS The maximum number of training steps for the Dreambooth AI model. Defaults to 3000.
REPLICATE_NEGATIVE_PROMPT A prompt used for negative training examples in the Replicate AI model. Defualts to cropped face, cover face, cover visage, mutated hands
REPLICATE_HD_VERSION_MODEL_ID The version of the model for upscaling the generated images. Such models can be browsed here
NEXT_PUBLIC_REPLICATE_INSTANCE_TOKEN A unique identifier for the training data. It can be any string. For best results use an identifier containing three Unicode characters, without spaces e.g. cjw
SECRET A random string used for NextAuth.js authentication.
EMAIL_FROM The email address from which emails will be sent.
EMAIL_SERVER The SMTP server URL used for sending emails. It will be http://localhost:25 if you are using the provided docker setup,
STRIPE_SECRET_KEY The API key for your Stripe account.
NEXT_PUBLIC_STRIPE_STUDIO_PRICE The price of a studio in cents (e.g., 1000 = $10).
NEXT_PUBLIC_STUDIO_SHOT_AMOUNT The maximum number of shots allowed per studio.
OPENAI_API_KEY The API key for the OpenAI API, used for the prompt wizard feature.
OPENAI_API_SEED_PROMPT A seed prompt used for generating style prompts using the OpenAI API.

Please note that if you want to use the provided docker-compose setup you have to disable TLS in your .env.local by adding:

NODE_TLS_REJECT_UNAUTHORIZED = "0"

Run migrations

yarn prisma:migrate:dev

Run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Dépôts similaires
openclaw/openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

TypeScriptnpmOtheraiassistant
openclaw.ai
383.7k80.6k
obra/superpowers

An agentic skills framework & software development methodology that works.

ShellMIT Licenseaibrainstorming
258.9k23.1k
NousResearch/hermes-agent

The agent that grows with you

PythonPyPIMIT Licenseaiai-agent
hermes-agent.nousresearch.com
218.5k41.3k
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

TypeScriptnpmOtherautomationipaas
n8n.io
197.4k59.5k
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

PythonPyPIOtheraiopenai
agpt.co
185.6k46.1k
f/prompts.chat

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

HTMLOtherchatgptai
prompts.chat
166.2k21.5k
AUTOMATIC1111/stable-diffusion-webui

Stable Diffusion web UI

PythonPyPIGNU Affero General Public License v3.0deep-learningdiffusion
164.3k30.4k
Snailclimb/JavaGuide

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

JavaScriptnpmApache License 2.0javainterview
javaguide.cn
157.2k46.2k
firecrawl/firecrawl

The API to search, scrape, and interact with the web at scale. 🔥

TypeScriptnpmGNU Affero General Public License v3.0aicrawler
firecrawl.dev
154.1k8.8k
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

TypeScriptnpmOtheraigpt
dify.ai
149.7k23.6k
open-webui/open-webui

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

PythonPyPIOtherollamaollama-webui
openwebui.com
146.3k21.2k
langchain-ai/langchain

The agent engineering platform.

PythonPyPIMIT Licenseaianthropic
docs.langchain.com/langchain/
142.3k23.7k