flux-2-klein-9b - API لـمصر، بالجنيه المصري
مباشرThe best quality-to-latency ratio, production apps model of the Flux 2 family. Frontier visual intelligence — state-of-the-art image generation and editing from Black Forest Labs
Modality
image
المنطقة
US
Weights
Weights مفتوحة
منشور
13 سبتمبر 2026
الأسعار
السعر
0.8821 ج.م لكل صورة 1024p
يُبلغ المزوّد عن المبلغ الفعلي المخصوم مع كل استجابة.
- السعر لكل وحدة صورة لا لكل صورة: الوحدة الواحدة صورة 1024p، والطلب الافتراضي يكلّف 0.8821 ج.م.
- التكلفة = سعر الوحدة × (العرض / 1024) × (الارتفاع / 1024). الصور الأصغر أرخص، والصور الأكبر والخطوات الأكثر أغلى.
- يُبلغ المزوّد عن التكلفة الدقيقة مع كل رد، وهي ما تدفعه.
استخدمه عبر واجهة API
يعمل flux-2-klein-9b مع أي 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-klein-9b",
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-klein-9b",
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-klein-9b",
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-klein-9b",
"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-klein-9b؟
يُخدَم flux-2-klein-9b من US (مستضاف في الولايات المتحدة).
هل flux-2-klein-9b Model بـ Weights مفتوحة؟
نعم، flux-2-klein-9b هو Model بـ Weights مفتوحة. وتستدعيه عبر واجهة API من SovereignEG مثل أي Model آخر في الكتالوج، مع محاسبة لكل Token بالجنيه المصري.
كيف أستخدم flux-2-klein-9b عبر واجهة API؟
flux-2-klein-9b متاح عبر واجهة API من SovereignEG المتوافقة مع OpenAI: وجّه الـ Base URL في الـ SDK لديك إلى https://backend.sovereigneg.com/v1، واستدعِ Endpoint /v1/images/generations مع Model ID flux-2-klein-9b ومفتاح API الخاص بك.