A modern, responsive REST API documentation website with built-in AI image generation endpoint.
- 🎨 Modern Black & White Theme - Clean, elegant design
- ⚡ Fast & Responsive - Built with React + Vite
- 🔥 AI Image Generation - Powered by Flux-1-Dev model
- 📚 Interactive Documentation - Try APIs directly in the browser
- 🚀 Vercel Ready - Easy deployment configuration
Generate AI images using the Flux-1-Dev model.
Parameters:
prompt(string, required) - Text description of the image
Response:
{
"status": 200,
"success": true,
"owners": "Martin",
"payload": {
"url": "https://generated.image.url/image.png",
"model": "flux-1-dev",
"prompt": "Your prompt"
}
}Check API health status.
Get all available API endpoints.
# Install dependencies
npm install
# Run development server
npm run dev
# Run API server (in another terminal)
node api/index.js# Install Vercel CLI
npm i -g vercel
# Login to Vercel
vercel login
# Deploy
vercel- Push your code to GitHub
- Connect your repository to Vercel
- Deploy automatically on every push
No environment variables required for basic setup.
├── api/
│ └── index.js # Express API server
├── src/
│ ├── components/ # React components
│ ├── sections/ # Page sections
│ ├── App.tsx # Main app component
│ └── index.css # Global styles
├── vercel.json # Vercel configuration
└── package.json # Dependencies
- AI Image Generation by DeepImg
- Built by Martin
- GitHub: https://github.com/MartinSAMP
MIT License