Models / Image / FLUX.1 [pro]
FLUX.1 [pro]
![](https://cdn.prod.website-files.com/650c3b59079d92475f37b68f/6798c7d10a5b13bb635ccd34_66fe62e5a2afa1d4ebe94cae_bfl-logo.webp)
API Usage
Endpoint
black-forest-labs/FLUX.1-pro
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-pro",
"prompt": "Cats eating popcorn",
"steps": 10,
"n": 4
}'
JSON RESPONSE
RUN INFERENCE
from together import Together
client = Together()
response = client.images.generate(
prompt="Cats eating popcorn",
model="black-forest-labs/FLUX.1-pro",
steps=10,
n=4
)
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-pro",
prompt: "Cats eating popcorn",
steps: 10,
n: 4
});
console.log(response.data[0].b64_json);
JSON RESPONSE
Model Provider:
FLUX
Type:
Image
Variant:
[pro]
Parameters:
Deployment:
✔ Serverless
Quantization
Context length:
Pricing:
See pricing
Run in playground
Deploy model
Quickstart docs
Looking for production scale? Deploy on a dedicated endpoint
Deploy FLUX.1 [pro] on a dedicated endpoint with custom hardware configuration, as many instances as you need, and auto-scaling.
![](https://cdn.prod.website-files.com/64f6f2c0e3f4c5a91c1e823a/6751dcee391c160684337c7e_models_visual.jpg)