Spaces:
Running
Running
# ObtuAI - AI-Powered Image Generation Platform | |
ObtuAI is an innovative platform that leverages artificial intelligence to generate and manipulate images based on user prompts and custom models. | |
## Features | |
- Image generation using AI models | |
- Custom model training | |
- User authentication with Google | |
- Credit system for image generation and model training | |
- Stripe integration for purchasing credits | |
## Tech Stack | |
- Backend: FastAPI, Python | |
- Frontend: Gradio | |
- Database: Supabase | |
- Authentication: Google OAuth | |
- Payment Processing: Stripe | |
- AI Models: Replicate | |
## Setup Instructions | |
1. Clone the repository | |
2. Install the dependencies | |
```bash | |
pip install -r requirements.txt | |
``` | |
3. Rename the `.env.example` file to `.env` and fill in the required environment variables | |
4. Run the FastAPI server | |
```bash | |
uvicorn main:app --reload | |
``` | |
The application will be available at http://127.0.0.1:8000. | |
## Stripe Local Testing | |
Run webhook locally for testing (Put your stripe on test mode and get the keys) | |
The code above will generate the code for the webhook | |
```bash | |
stripe listen --forward-to http://127.0.0.1:7000/webhook | |
``` | |
### Use the following test card | |
- Name: Any | |
- Number: 4242 4242 4242 4242 | |
- CVC: 123 | |
- Date: Any future date |