This is a FastAPI-based proxy application that enables users to imagine a user requested prompts.
- Download Photos: Allows users to download high-quality stock photos directly through the application.
- Multiple GenAI engines: Integrates with various popular stock photo websites to provide a wide range of photos.
- FastAPI Framework: Built using FastAPI for high performance and easy scalability.
- Docker
- Docker Compose
- Clone the repository:
git clone https://github.com/ufilesorg/ufiles-imagine.get
- Navigate to the project directory:
cd stock-photo-proxy - Create a
.envfile fromsample.envand configure your environment variables:cp sample.env .env
- Build and start the application using Docker Compose:
docker-compose up --build
- Start the server using Docker Compose:
docker-compose up
- Access the API documentation at
http://127.0.0.1:8000/docsto explore the available endpoints and test the API.
- GET /search: Search for stock photos using keywords.
- GET /download: Download a stock photo by specifying the photo ID.
Contributions are welcome! Please open an issue or submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any questions or feedback, please create issue.