Back to Docs
API Reference
Integrate FluxVision into your own apps with our REST API. Authentication, endpoints and rate limits.
Authentication
All API requests require a Bearer token in the Authorization header:
Authorization: Bearer YOUR_ACCESS_TOKEN
Obtain your token by calling the login endpoint with your credentials. Tokens expire after the duration specified in the response. Use the refresh endpoint to get a new token.
Base URL
https://api.fluxvision.ai/v1
Core Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /auth/login | Authenticate and get access token |
| POST | /generation-requests | Create a new generation request |
| GET | /generation-requests/:id | Get generation status and results |
| GET | /templates | List available templates |
| POST | /upload/ephemeral | Create pre-signed upload URLs |
| GET | /brand-kits | List brand kits |
Rate Limits
Free10 requests/min
Pro60 requests/min
EnterpriseCustom limits
Error Codes
| Code | Description |
|---|---|
| 401 | Unauthorized — invalid or expired token |
| 403 | Forbidden — insufficient permissions |
| 429 | Too many requests — rate limited |
| 500 | Internal server error |