Models / Image / FLUX.1 [schnell] API
FLUX.1 [schnell] API
Image
Fastest available endpoint for the SOTA open-source image generation model by Black Forest Labs.
Try our FLUX.1 API

API Usage
How to use FLUX.1 [schnell]Model CardPrompting FLUX.1 [schnell]Applications & Use CasesHow to use FLUX.1 [schnell]FLUX.1 [schnell] API Usage
Endpoint
black-forest-labs/FLUX.1-schnell
RUN INFERENCE
curl -X POST "https://api.together.xyz/v1/images/generations" \
-H "Authorization: Bearer $TOGETHER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "black-forest-labs/FLUX.1-schnell",
"prompt": ""
}'
JSON RESPONSE
RUN INFERENCE
from together import Together
client = Together()
response = client.images.generate(
prompt="",
model="black-forest-labs/FLUX.1-schnell"
)
print(response.data[0].b64_json)
JSON RESPONSE
RUN INFERENCE
import Together from "together-ai";
const together = new Together();
const response = await together.images.create({
model: "black-forest-labs/FLUX.1-schnell",
prompt: ""
});
console.log(response.data[0].b64_json);
JSON RESPONSE
Model Provider:
FLUX
Type:
Image
Variant:
[schnell]
Parameters:
12B
Deployment:
✔ Serverless
✔️ On-Demand Dedicated
Quantization
Context length:
Pricing:
Check pricing
Run in playground
Deploy model
Quickstart docs
Quickstart docs
How to use FLUX.1 [schnell]
Model details
Prompting FLUX.1 [schnell]
Applications & Use Cases
How to use FLUX.1 [schnell]
Looking for production scale? Deploy on a dedicated endpoint
Deploy FLUX.1 [schnell] on a dedicated endpoint with custom hardware configuration, as many instances as you need, and auto-scaling.
