StyleScene is a web application that allows users to generate photorealistic images by combining a person's image, a clothing item, and a scene description. It uses AI to create a new image based on these inputs.
- Image Upload: Upload images of a person and a piece of clothing.
- Scene Description: Describe the scene you want to create.
- AI Image Generation: A new, photorealistic image is generated based on your inputs.
- Download: Save the generated image.
- Node.js (v20 or later)
- gcloud CLI
- Clone the repository:
git clone https://github.com/mugglmenzel/stylescene-studio.git
- Install the dependencies:
npm install
- Run
gcloud init
to authenticate and set up your Google Cloud project. - Create a
.env
file in the root of the project. You can use the.env.template
file as a reference. You will need to set theGCP_PROJECT
variable to your Google Cloud project ID. - Run the development server:
The application will be available at http://localhost:9002.
npm run dev
This application is configured for deployment to Google Cloud Run.
To deploy the application, run the following command:
gcloud run deploy stylescene-studio --source .
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the Apache 2.0 License.