FLUX.2 Pro API
FLUX.2 Pro is an image generation model by Black Forest Labs. On Evrona you call it with the same API key and balance as every other model in the catalog. Requests go to the OpenAI-compatible /v1/images/generations.
- Model ID
bfl/flux-2-pro- Developer
- Black Forest Labs
- Type
- Picture
FLUX.2 Pro pricing
| Billed for | Price |
|---|---|
| Generation, per unit | $0.07 |
Accounting inside the service is in USD; EUR prices are recalculated at the current rate and may change.
FLUX.2 Pro request example
Use https://evrona.ru/v1 as the base URL and pass bfl/flux-2-pro in the model field. You create the key in your account after signing up.
curl request
curl
curl https://evrona.ru/v1/images/generations \
-H "Authorization: Bearer ev-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "bfl/flux-2-pro",
"prompt": "A lighthouse on a rocky shore at sunset, watercolor",
"n": 1
}'Python with the official OpenAI SDK
Python
from openai import OpenAI
client = OpenAI(
base_url="https://evrona.ru/v1",
api_key="ev-YOUR_KEY",
)
image = client.images.generate(
model="bfl/flux-2-pro",
prompt="A lighthouse on a rocky shore at sunset, watercolor",
n=1,
)
print(image.data[0])More models by Black Forest Labs
Start using FLUX.2 Pro with Evrona
Sign up, top up your balance and create a key. The same key works for FLUX.2 Pro and every other model in the catalog.