Image model API
FLUX Fast API
Flux Fast is a speed-optimized text-to-image model from Pruna AI, based on Black Forest Labs’ FLUX.1-dev architecture. It applies Pruna AI’s compression, caching, and compilation techniques to significantly accelerate inference while maintaining high-quality image generation. The model is designed for applications where low generation latency and high-volume image creation are important. Replicate currently reports example inference times around 0.8–1.4 seconds, although actual latency can vary depending on settings and infrastructure.
- Model id
flux-fast- Takes
- Text (required)
- Makes
- Image
- Endpoint
POST /api/v1/images/generations- Made by
- Pruna AI
- Mode
- Synchronous
Call FLUX Fast
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model flux-fast
POST /api/v1/images/generations
curl https://payload.rentprompts.com/api/v1/images/generations \
-H "Authorization: Bearer rp_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-fast",
"prompt": "A lighthouse at dusk, watercolor",
"n": 1
}'Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →
What a typical call costs
- 1 image0.6 Joules
- 4 images2.4 Joules
Send requests to POST /api/v1/images/generations. FLUX Fast answers synchronously: the result comes back in the response to the same request.