Eyeris is a powerful image analysis service that provides both a web interface and REST API for AI-powered image analysis using OpenAI's GPT-4 vision capabilities.
- 🖼️ Simple drag-and-drop web interface
- 🔌 RESTful API for integration
- 🤖 Powered by OpenAI's GPT-4o vision model
- 📊 Detailed JSON-structured analysis output
- 🚀 Built with Rust for high performance
- 🌐 CORS-enabled for web applications
- Rust (latest stable version)
- An OpenAI API key
- Clone the repository:
git clone https://github.com/yourusername/eyeris.git
cd eyeris
- Set up your OpenAI API key:
export OPENAI_API_KEY='your-api-key-here'
- Build and run:
cargo run
- Access the service:
- Web Interface:
http://localhost:3000
- API Endpoint:
http://localhost:3000/api/v1
- API Documentation:
http://localhost:3000/docs
- Open the web interface in your browser
- Drag and drop an image or click "Choose File"
- Wait for the analysis to complete
- View the detailed JSON analysis
# Analyze an image
curl -X POST http://localhost:3000/api/v1/analyze \
-F "image=@path/to/your/image.jpg"
# Health check
curl http://localhost:3000/api/v1/health
See the API Documentation for detailed endpoint information and examples.
- Backend: Rust with Axum web framework
- Frontend: HTML, CSS, JavaScript
- AI: OpenAI GPT-4o Vision API
- Image Processing: Rust image crate
The API provides endpoints for image analysis and health checking. All responses are in JSON format.
POST /api/v1/analyze
- Analyze an imageGET /api/v1/health
- Check service health
For detailed API documentation, examples, and integration guides, see the API Documentation.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.