flux-2-max - API in Egypt, billed in EGP
LiveThe new top-tier image model from Black Forest Labs, significantly pushing image quality and editing consistency
Modality
image
Region
US
Weights
Proprietary
Published
13 Sept 2026
Pricing
Price
≈ 3.98 EGP per image
Estimate, rounded up; the charge on the response is what you pay.
- 3.98 EGP per generated image, the same at every supported size.
- The provider bills this model from its own cost rather than a fixed list price; the figure above is the provider's published default price.
- Provider list price: 5.69 EGP per image.
- The exact charge is reported by the provider on every response and is what you pay.
Use it via the API
flux-2-max 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-max",
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-max",
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-max",
"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-max hosted?
flux-2-max is served from US (US-hosted inference).
Is flux-2-max an open-weights model?
No — flux-2-max is a proprietary model. It is available through the SovereignEG API with per-token EGP billing.
How do I use flux-2-max via the API?
flux-2-max 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-max" and your API key.