flux-2-dev - API in Egypt, billed in EGP
LiveBrand-new Flux2 Dev introduces a faster, more modular architecture for next-generation image generation pipelines. It delivers improved performance, cleaner control APIs, and a significantly more flexible development workflow for custom inference setups.
Modality
image
Region
US
Weights
Open weights
Published
13 Sept 2026
Pricing
Price
1.02 EGP per 1024p image
The provider reports the exact charge on every response.
- Priced per image unit, not per image: one unit is a 1024p image at 50 steps, and a default request costs 1.02 EGP.
- The provider's unit price (0.5693 EGP) is for 28 steps; the model runs 50 by default.
- Charge = unit price x (width / 1024) x (height / 1024) x (steps / 28). Smaller images cost less; larger images and more steps cost more.
- The exact charge is reported by the provider on every response and is what you pay.
Use it via the API
flux-2-dev works with any OpenAI-compatible SDK — point the base URL at https://backend.sovereigneg.com/v1 and use your SovereignEG API key.
Run inference
OpenAI-compatible — POST /v1/images/generations — drop-in for any OpenAI SDK.
import base64
from openai import OpenAI
client = OpenAI(
base_url="https://backend.sovereigneg.com/v1",
api_key="YOUR_API_KEY",
)
response = client.images.generate(
model="flux-2-dev",
prompt='Aerial night photo of the floodlit Giza pyramids under a starry sky, an Egyptian flag spread on the sand, and a glowing "SovereignEG" wordmark in a clean geometric typeface across the sky',
)
with open("image.png", "wb") as f:
f.write(base64.b64decode(response.data[0].b64_json))import fs from "node:fs"
import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://backend.sovereigneg.com/v1",
apiKey: "YOUR_API_KEY",
})
const response = await client.images.generate({
model: "flux-2-dev",
prompt: 'Aerial night photo of the floodlit Giza pyramids under a starry sky, an Egyptian flag spread on the sand, and a glowing "SovereignEG" wordmark in a clean geometric typeface across the sky',
})
fs.writeFileSync("image.png", Buffer.from(response.data[0].b64_json, "base64"))curl https://backend.sovereigneg.com/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-2-dev",
"prompt": "Aerial night photo of the floodlit Giza pyramids under a starry sky, an Egyptian flag spread on the sand, and a glowing \"SovereignEG\" wordmark in a clean geometric typeface across the sky"
}'Frequently asked questions
Where is flux-2-dev hosted?
flux-2-dev is served from US (US-hosted inference).
Is flux-2-dev an open-weights model?
Yes — flux-2-dev is an open-weights model. You call it through the SovereignEG API like any other catalog model, with per-token EGP billing.
How do I use flux-2-dev via the API?
flux-2-dev is available through the OpenAI-compatible SovereignEG API: point your SDK's base URL at https://backend.sovereigneg.com/v1 and call /v1/chat/completions with model "flux-2-dev" and your API key.