Skip to main content

Black Forest Labs · Image

Kontext Dev — Fast, Flexible, and Developer Friendly

Modifica velocemente. Spedisci più velocemente. FLUX Kontext Dev è una versione open-weight, orientata agli sviluppatori, del potente modello di sviluppo Kontext. Offre editing di immagini ultraveloce, supporto batch e funzionalità di inferenza multi-immagine, il tutto accessibile tramite API. Perfetto per esperimenti, pipeline di produzione o automazione creativa.

Prezzi

Kontex Dev offre prezzi competitivi a soli $0.02 per ogni generazione di immagini riuscita. Saranno offerte molteplici varianti per soddisfare i diversi requisiti di velocità e qualità.

Flux Kontext Dev

$0.02/img

Developer-ready API access

Caratteristiche principali

Pesi aperti, inferenza ultraveloce e supporto multi-framework progettati per gli sviluppatori

Pesi aperti

Pesi del modello completamente open source ospitati su HuggingFace per la ricerca e l'implementazione personalizzata. Pesi dei modelli disponibili gratuitamente con licenza non commerciale.

Inferenza ultraveloce

Il modello ottimizzato supporta una risposta rapida, adatto per la distribuzione locale, piattaforme sperimentali e flussi di lavoro di elaborazione batch.

Compatibilità con il framework

Supporta le principali piattaforme di inferenza tra cui HuggingFace Diffusers, ComfyUI e TensorRT. Funziona immediatamente su pipeline locali o basate su cloud.

Prestazioni comprovate da benchmark

Supera diversi modelli di editing di immagini closed source e open source nella nostra valutazione KontextBench (inclusi Gemini Flash, Bagel, ecc.).

NVIDIA ottimizzato

Fornisce pesi TensorRT ottimizzati per l'architettura NVIDIA Blackwell (BF16/FP8/FP4), bilanciando velocità ed efficienza.

Pronto per la produzione API

Kontext Il modello di sviluppo è distribuito sulla nostra piattaforma. Non è necessaria alcuna distribuzione locale: registrati e inizia a utilizzare immediatamente. Supporta chiamate batch e risposte a bassa latenza per tutti gli scenari di sviluppo. Non è necessaria alcuna configurazione: basta chiamare API.

Fatturazione basata su crediti

Gli utenti possono chiamare direttamente il modello API acquistando crediti. Prezzi semplici e trasparenti senza necessità di negoziare la licenza. Adatto a singoli sviluppatori di applicazioni aziendali. Paga solo per ciò che utilizzi: flessibile e scalabile. Licenza commerciale

pronta

Portale di licenze self-service disponibile per le aziende per acquistare rapidamente licenze commerciali e integrarle in prodotti e servizi.

Webhook in tempo reale

Notifiche istantanee al completamento dell'elaborazione asincrona. Nessun polling richiesto, migliorando l'efficienza della risposta dell'applicazione.

Risposta a bassa latenza

Il motore di inferenza ottimizzato garantisce tempi di risposta rapidi, adatti a scenari applicativi in ​​tempo reale.

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.