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

Base URL 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

Worked out from FLUX Fast's published price (0.6 J / image). You pay only for successful results, from your Joule balance.
  • 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.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).
NameTypeDefaultRange / options
speed_modeselect——
num_inference_stepsinteger281 – 100
guidancefloat3.50 – 5
aspect_ratioselect——
output_formatselect——
output_qualityinteger801 – 100
FLUX Fast API — Pricing & Code Examples | RentPrompts