FluxVision Logo
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

MethodEndpointDescription
POST/auth/loginAuthenticate and get access token
POST/generation-requestsCreate a new generation request
GET/generation-requests/:idGet generation status and results
GET/templatesList available templates
POST/upload/ephemeralCreate pre-signed upload URLs
GET/brand-kitsList brand kits

Rate Limits

Free10 requests/min
Pro60 requests/min
EnterpriseCustom limits

Error Codes

CodeDescription
401Unauthorized — invalid or expired token
403Forbidden — insufficient permissions
429Too many requests — rate limited
500Internal server error