FLUX.1-schnell

FLUX.1 [schnell] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. 
Key Features

  1. Cutting-edge output quality and competitive prompt following, matching the performance of closed source alternatives.
  2. Trained using latent adversarial diffusion distillation, FLUX.1 [schnell] can generate high-quality images in only 1 to 4 steps.
  3. Released under the apache-2.0 licence, the model can be used for personal, scientific, and commercial purposes.

black-forest-labs/FLUX.1-schnell // https://huggingface.co/black-forest-labs/FLUX.1-schnell


Announce Date: 01.08.2024
Parameters: 12B
Context: 256
VRAM requirements: 8.1 GB using 4 bits quantization, 16.2 GB using 8 bits quantization, 32.4 GB using 16 bits quantization
Developer: Black Forest Labs
License: Apache 2.0

Public endpoint

Use our pre-built public endpoints to test inference and explore FLUX.1-schnell capabilities.
Model Name Context Type GPU TPS Status Link
FLUX.1-schnell 256.0 Public RTX4090 AVAILABLE try
FLUX.1-schnell 256.0 Public RTX4090 AVAILABLE try

API access to FLUX.1-schnell endpoints

curl -s http://81.94.151.250:3000/generateImage \
-H "Content-Type: application/json" \
-d '{
"height": 512,
"width": 512,
"prompt": "A cinematic shot of a baby racoon wearing an intricate italian priest robe.",
"negative_prompt": "bad anatomy, poorly drawn hands, extra limbs, missing limbs",
"guidance_scale": -1,
"num_inference_steps": -1,
"seed": -1
}' | jq '.image_byte_base64' | base64 -d > image.png
$response = Invoke-WebRequest http://81.94.151.250:3000/generateImage `
-Method POST `
-Headers @{
"Content-Type" = "application/json"
} `
-Body (@{
height = 512
width = 512
prompt = "A cinematic shot of a baby racoon wearing an intricate italian priest robe."
negative_prompt = "bad anatomy, poorly drawn hands, extra limbs, missing limbs"
guidance_scale = -1
num_inference_steps = -1
seed = -1
} | ConvertTo-Json)
($response.Content | ConvertFrom-Json).generation_time
$image_byte_base64 = ($response.Content | ConvertFrom-Json).image_byte_base64
$decoded = [System.Convert]::FromBase64CharArray($image_byte_base64, 0, $image_byte_base64.Length)
Set-Content image.png -Value $decoded -Encoding Byte
import requests
from PIL import Image
from io import BytesIO
import base64
response = requests.post("http://81.94.151.250:3000/generateImage",
headers={"Content-Type":"application/json"},
json={
"height": 512,
"width": 512,
"prompt": "A cinematic shot of a baby racoon wearing an intricate italian priest robe.",
"negative_prompt": "bad anatomy, poorly drawn hands, extra limbs, missing limbs",
"guidance_scale": -1,
"num_inference_steps": -1,
"seed": -1
}
)
image_bytes_base64 = base64.b64decode(response.json()["image_byte_base64"])
img = Image.open(BytesIO(image_bytes_base64))
img.save("image.png")

Private server

Rent your own physically dedicated instance with hourly or long-term monthly billing.

We recommend deploying private instances in the following scenarios:

  • maximize endpoint performance,
  • enable full context for long sequences,
  • ensure top-tier security for data processing in an isolated, dedicated environment,
  • use custom weights, such as fine-tuned models or LoRA adapters.

Recommended configurations for hosting FLUX.1-schnell

Prices:
Name vCPU RAM, MB Disk, GB GPU Price, hour
teslaa2-1.16.32.160 16 32768 160 1 $0.38 Launch
rtx2080ti-1.16.32.160 16 32768 160 1 $0.41 Launch
teslat4-1.16.16.160 16 16384 160 1 $0.46 Launch
teslaa10-1.16.32.160 16 32768 160 1 $0.53 Launch
rtx3080-1.16.32.160 16 32768 160 1 $0.57 Launch
rtx3090-1.16.24.160 16 24576 160 1 $0.88 Launch
rtx4090-1.16.32.160 16 32768 160 1 $1.15 Launch
teslav100-1.12.64.160 12 65536 160 1 $1.20 Launch
rtx5090-1.16.64.160 16 65536 160 1 $1.59 Launch
teslaa100-1.16.64.160 16 65536 160 1 $2.58 Launch
teslah100-1.16.64.160 16 65536 160 1 $5.11 Launch
Prices:
Name vCPU RAM, MB Disk, GB GPU Price, hour
teslaa2-1.16.32.160 16 32768 160 1 $0.38 Launch
teslaa10-1.16.32.160 16 32768 160 1 $0.53 Launch
teslat4-1.16.64.160 16 65536 160 1 $0.55 Launch
rtx2080ti-2.12.64.160 12 65536 160 2 $0.69 Launch
rtx3090-1.16.24.160 16 24576 160 1 $0.88 Launch
rtx3080-2.16.32.160 16 32762 160 2 $0.97 Launch
rtx4090-1.16.32.160 16 32768 160 1 $1.15 Launch
teslav100-1.12.64.160 12 65536 160 1 $1.20 Launch
rtx5090-1.16.64.160 16 65536 160 1 $1.59 Launch
teslaa100-1.16.64.160 16 65536 160 1 $2.58 Launch
teslah100-1.16.64.160 16 65536 160 1 $5.11 Launch
Prices:
Name vCPU RAM, MB Disk, GB GPU Price, hour
teslaa2-2.16.64.160 16 65536 160 2 $0.64 Launch
teslat4-2.16.64.120 16 65536 120 2 $0.86 Launch
teslaa10-2.16.64.160 16 65536 160 2 $0.93 Launch
rtx2080ti-3.16.64.160 16 65536 160 3 $0.95 Launch
teslav100-1.12.64.160 12 65536 160 1 $1.20 Launch
rtx5090-1.16.64.160 16 65536 160 1 $1.59 Launch
rtx3090-2.16.64.160 16 65536 160 2 $1.67 Launch
rtx3080-4.16.64.160 16 65536 160 4 $1.82 Launch
rtx4090-2.16.64.160 16 65536 160 2 $2.19 Launch
teslaa100-1.16.64.160 16 65536 160 1 $2.58 Launch
teslah100-1.16.64.160 16 65536 160 1 $5.11 Launch

Related models

Need help?

Contact our dedicated neural networks support team at nn@immers.cloud or send your request to the sales department at sale@immers.cloud.