Flux Kontext Dev
$0.02/img
Developer-ready API access
تقدم Kontex Dev أسعارًا تنافسية بسعر 0.02 دولار فقط لكل عملية إنشاء صور ناجحة. سيتم تقديم متغيرات متعددة لتناسب متطلبات السرعة والجودة المختلفة.
$0.02/img
Developer-ready API access
أوزان مفتوحة واستدلال فائق السرعة ودعم متعدد الأطر مصمم للمطورين
أوزان نماذج مفتوحة المصدر بالكامل مستضافة على HuggingFace للبحث والنشر المخصص. الأوزان النموذجية متاحة مجانًا بموجب ترخيص غير تجاري.
يدعم النموذج الأمثل الاستجابة السريعة، وهو مناسب للنشر المحلي، والأنظمة الأساسية التجريبية، وسير عمل المعالجة المجمعة. توافق إطار
يدعم منصات الاستدلال السائدة بما في ذلك HuggingFace Diffusers وComfyUI وTensorRT. يعمل خارج الصندوق على خطوط الأنابيب المحلية أو المستندة إلى السحابة. أداء
يتفوق على العديد من نماذج تحرير الصور المغلقة والمفتوحة المصدر في تقييم KontextBench الخاص بنا (بما في ذلك Gemini Flash وBagel وما إلى ذلك).
يوفر أوزان TensorRT محسنة لبنية NVIDIA Blackwell (BF16 / FP8 / FP4)، مما يوازن بين السرعة والكفاءة.
Kontext تم نشر نموذج Dev على منصتنا. لا حاجة للنشر المحلي - سجل وابدأ في الاستخدام على الفور. يدعم المكالمات المجمعة والاستجابات ذات زمن الوصول المنخفض لجميع سيناريوهات التطوير. لا حاجة إلى أي إعداد — ما عليك سوى الاتصال بـ API.
يمكن للمستخدمين الاتصال مباشرة بالنموذج API عن طريق شراء الأرصدة. تسعير بسيط وشفاف دون الحاجة إلى مفاوضات الترخيص. مناسبة للمطورين الفرديين لتطبيقات المؤسسات. ادفع فقط مقابل ما تستخدمه - مرن وقابل للتطوير.
بوابة ترخيص الخدمة الذاتية متاحة للمؤسسات لشراء التراخيص التجارية بسرعة والاندماج في المنتجات والخدمات.
إخطارات فورية عند اكتمال المعالجة غير المتزامنة. لا يتطلب الاقتراع، وتحسين كفاءة استجابة التطبيق.
محرك الاستدلال الأمثل يضمن أوقات الاستجابة السريعة، ومناسبة لسيناريوهات التطبيق في الوقت الحقيقي. تسعير
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
Use the API docs and the request example above to iterate on prompts and settings before wiring them into your product.
Flux Kontext API is a powerful image-to-image editing service that allows you to transform images using natural language prompts. It offers multiple model variants (Pro, Max, and Dev) with different speed and quality trade-offs. The API supports various editing tasks including style transfer, object modification, background replacement, text editing, and more. Built by Black Forest Labs, it provides production-ready AI image editing capabilities through simple REST API calls.
Yes! All Kontext models come with full commercial use rights. You can integrate them into your products, services, and client work without any additional licensing fees or restrictions.
When you submit an image editing request, you can provide a webhook URL. Once processing is complete, we'll send a POST request to your endpoint with the results. This allows for seamless integration into your applications without polling for status updates.
Kontext supports common image formats including JPEG, PNG, and WebP. Input images should be under 10MB for optimal performance. Output format matches your input format by default, but can be specified in your API request.
Rate limits depend on your plan and usage patterns. Free tier users have lower limits, while paid users get higher throughput. For high-volume applications, contact us about enterprise plans with custom rate limits and dedicated infrastructure.
Failed API calls are not charged. We provide detailed error messages to help you troubleshoot issues. Common failures include invalid image formats, oversized files, or inappropriate content. Our status page shows real-time API health.
Yes! We provide comprehensive API documentation with detailed examples in multiple programming languages including Python, Node.js, PHP, and cURL. Our interactive API explorer lets you test endpoints directly in your browser with real-time examples and response previews.
More questions? See the API docs.