FLUX.1 [dev] FP8
ServerlessImage
ServerlessImage
FLUX.1 [dev] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. The FP8 version uses reduced precision numerics for 2x faster inference FLUX.1 [dev] FP8 is deployed as a Flumina app. See for more details: https://huggingface.co/fireworks-ai/FLUX.1-dev-fp8-flumina
FLUX.1 [dev] FP8 is available via Fireworks' serverless image API, where you pay per image step (per generated image) and do not need to configure GPUs.
The Fireworks image generation API can be called by making HTTP requests from any language. See the below API examples to see how to call it. Also check out the Flumina repo linked above for full API details and to see the implementation code.
Generate an image response for the given prompt.
import requests url = "https://api.fireworks.ai/inference/v1/workflows/accounts/fireworks/models/flux-1-dev-fp8/text_to_image" headers = { "Content-Type": "application/json", "Accept": "image/jpeg", "Authorization": "Bearer $API_KEY", } data = { "prompt": "", "aspect_ratio": "16:9", "guidance_scale": 3.5, "num_inference_steps": 30 } response = requests.post(url, headers=headers, json=data) if response.status_code == 200: with open("output.jpg", "wb") as f: f.write(response.content) print("Image saved as output.jpg") else: print("Error:", response.status_code, response.text)
On-demand deployments allow you to use FLUX.1 [dev] FP8 on dedicated GPUs with Fireworks' high-performance serving stack with high reliability and no rate limits.
See the On-demand deployments guide for details.