Skip to main content

Black Forest Labs · Image

Kontext Dev — Fast, Flexible, and Developer Friendly

Sunting dengan cepat. Kirim lebih cepat. FLUX Kontext Dev adalah versi open-weight dan berorientasi pengembang dari model dev Kontext yang kuat. Ini memberikan pengeditan gambar ultra-cepat, dukungan batch, dan kemampuan inferensi multi-gambar—semuanya dapat diakses melalui API. Sempurna untuk eksperimen, jalur produksi, atau otomatisasi kreatif. Fitur Inti

Pricing

Kontex Dev menawarkan harga yang kompetitif hanya dengan $0.02 per pembuatan gambar yang sukses. Beberapa varian akan ditawarkan untuk memenuhi persyaratan kecepatan dan kualitas yang berbeda.

Flux Kontext Dev

$0.02/img

Developer-ready API access

Core Features

Bobot terbuka, inferensi ultra-cepat, dan dukungan multi-kerangka yang dirancang untuk pengembang

Bobot Terbuka

Bobot model sumber terbuka sepenuhnya yang dihosting di HuggingFace untuk penelitian dan penerapan khusus. Anak timbangan model tersedia secara bebas di bawah Lisensi Non-Komersial.

Inferensi Sangat Cepat

Model yang dioptimalkan mendukung respons cepat, cocok untuk penerapan lokal, platform eksperimental, dan alur kerja pemrosesan batch. Kompatibilitas Kerangka

Framework Compatibility

Mendukung platform inferensi arus utama termasuk HuggingFace Diffusers, ComfyUI, dan TensorRT. Berfungsi langsung pada pipeline lokal atau berbasis cloud.

Kinerja Terbukti Benchmark

Mengungguli beberapa model pengeditan gambar sumber tertutup dan sumber terbuka dalam evaluasi KontextBench kami (termasuk Gemini Flash, Bagel, dll.).

NVIDIA Dioptimalkan

Memberikan bobot TensorRT yang dioptimalkan untuk arsitektur NVIDIA Blackwell (BF16 / FP8 / FP4), menyeimbangkan kecepatan dan efisiensi.

Siap Produksi API

Kontext Model pengembangan diterapkan di platform kami. Tidak diperlukan penerapan lokal - daftar dan segera mulai gunakan. Mendukung panggilan batch dan respons latensi rendah untuk semua skenario pengembangan. Tidak diperlukan pengaturan — cukup panggil API.

Penagihan Berbasis Kredit

Pengguna dapat langsung menghubungi model API dengan membeli pulsa. Penetapan harga yang sederhana dan transparan tanpa perlu negosiasi perizinan. Cocok untuk pengembang individu hingga aplikasi perusahaan. Bayar hanya sesuai penggunaan Anda — fleksibel dan terukur. Lisensi Komersial

Siap

Portal lisensi layanan mandiri tersedia bagi perusahaan untuk membeli lisensi komersial dengan cepat dan mengintegrasikannya ke dalam produk dan layanan.

Webhook Waktu Nyata

Pemberitahuan instan setelah pemrosesan asinkron selesai. Tidak diperlukan polling, sehingga meningkatkan efisiensi respons aplikasi.

Respons Latensi Rendah

Mesin inferensi yang dioptimalkan memastikan waktu respons yang cepat, cocok untuk skenario aplikasi waktu nyata. Harga

Get started

Create your API key

Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.

Top up credits

Add credits on the billing page when you are ready to scale beyond the free tier.

Call the API

POST your first task following the API docs, then poll the task until the result is ready.

Iterate with the API

Use the API docs and the request example above to iterate on prompts and settings before wiring them into your product.

Frequently asked questions

What is Flux Kontext API?

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.

Can I use Flux Kontext for commercial projects?

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.

How do webhooks work?

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.

What image formats are supported?

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.

Is there a rate limit?

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.

What happens if my API call fails?

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.

Do you offer API documentation and code examples?

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.