flux-2-pro - API لـمصر، بالجنيه المصري
مباشرMulti-reference visual intelligence with unprecedented detail, color precision, and spatial reasoning. The most advanced image generation and editing model. Generate photorealistic images with precise control.
Modality
image
المنطقة
US
Weights
مغلق المصدر
منشور
13 سبتمبر 2026
الأسعار
السعر
≈ 0.8821 ج.م لكل صورة
تقدير مُقرَّب للأعلى، والمبلغ الوارد في الاستجابة هو ما تدفعه فعلًا.
- 0.8821 ج.م لكل صورة مولَّدة، بالسعر نفسه في كل الأحجام المدعومة.
- يحاسب المزوّد على هذا الـ Model من تكلفته الفعلية لا من سعر قائمة ثابت؛ والرقم أعلاه هو السعر الافتراضي الذي ينشره المزوّد.
- يُبلغ المزوّد عن التكلفة الدقيقة مع كل رد، وهي ما تدفعه.
استخدمه عبر واجهة API
يعمل flux-2-pro مع أي SDK متوافقة مع OpenAI: وجّه الـ Base URL إلى https://backend.sovereigneg.com/v1 واستخدم مفتاح API الخاص بك من SovereignEG.
تشغيل خدمات الذكاء الاصطناعي
POST /v1/images/generations — متوافق مع OpenAI: استخدم seg-sdk الخاص بنا، أو أي OpenAI SDK كبديل مباشر.
import base64
from seg import SEG # pip install seg-sdk
client = SEG(api_key="YOUR_API_KEY")
response = client.images.generate(
model="flux-2-pro",
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 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-pro",
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-pro",
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-pro",
"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"
}'الأسئلة الشائعة
أين يُستضاف flux-2-pro؟
يُخدَم flux-2-pro من US (مستضاف في الولايات المتحدة).
هل flux-2-pro Model بـ Weights مفتوحة؟
لا، flux-2-pro هو Model مغلق المصدر. وهو متاح عبر واجهة API من SovereignEG مع محاسبة لكل Token بالجنيه المصري.
كيف أستخدم flux-2-pro عبر واجهة API؟
flux-2-pro متاح عبر واجهة API من SovereignEG المتوافقة مع OpenAI: وجّه الـ Base URL في الـ SDK لديك إلى https://backend.sovereigneg.com/v1، واستدعِ Endpoint /v1/images/generations مع Model ID flux-2-pro ومفتاح API الخاص بك.