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 などを含む) よりも優れたパフォーマンスを示します。
NVIDIA Blackwell アーキテクチャ (BF16 / FP8 / FP4) に最適化された TensorRT 重みを提供し、速度と効率のバランスをとります。
Kontext 開発モデルがプラットフォームにデプロイされます。ローカル展開は必要ありません。登録してすぐに使用を開始できます。すべての開発シナリオでバッチ呼び出しと低遅延応答をサポートします。セットアップは必要ありません。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.