Skip to main content

Black Forest Labs · Image

Kontext Dev — Fast, Flexible, and Developer Friendly

แก้ไขอย่างรวดเร็ว จัดส่งได้เร็วขึ้น FLUX Kontext Dev เป็นเวอร์ชัน open-weight ที่มุ่งเน้นนักพัฒนาของโมเดล Kontext dev อันทรงพลัง ให้การแก้ไขภาพที่รวดเร็วเป็นพิเศษ รองรับแบทช์ และความสามารถในการอนุมานหลายภาพ ซึ่งทั้งหมดนี้สามารถเข้าถึงได้ผ่าน API เหมาะสำหรับการทดลอง ไปป์ไลน์การผลิต หรือระบบอัตโนมัติเชิงสร้างสรรค์ คุณสมบัติหลักของ

Pricing

Kontex Dev เสนอราคาที่แข่งขันได้ในราคาเพียง $0.02 ต่อการสร้างอิมเมจที่ประสบความสำเร็จ มีหลายรุ่นให้เลือกเพื่อให้เหมาะกับความต้องการด้านความเร็วและคุณภาพที่แตกต่างกัน

Flux Kontext Dev

$0.02/img

Developer-ready API access

Core Features

Open Weight การอนุมานที่รวดเร็วเป็นพิเศษ และการสนับสนุนหลายเฟรมเวิร์กที่ออกแบบมาสำหรับนักพัฒนา

Open Weights

ตุ้มน้ำหนักโมเดลโอเพ่นซอร์สเต็มรูปแบบที่โฮสต์บน HuggingFace สำหรับการวิจัยและการปรับใช้แบบกำหนดเอง ตุ้มน้ำหนักแบบจำลองมีให้ใช้งานฟรีภายใต้ใบอนุญาตที่ไม่ใช่เชิงพาณิชย์

การอนุมานที่รวดเร็วเป็นพิเศษ

โมเดลที่ได้รับการปรับปรุงให้เหมาะสมรองรับการตอบสนองที่รวดเร็ว เหมาะสำหรับการปรับใช้ในพื้นที่ แพลตฟอร์มทดลอง และเวิร์กโฟลว์การประมวลผลเป็นชุด ความเข้ากันได้ของเฟรมเวิร์ก

Framework Compatibility

รองรับแพลตฟอร์มการอนุมานกระแสหลัก รวมถึง HuggingFace Diffusers, ComfyUI และ TensorRT ทำงานนอกกรอบบนไปป์ไลน์ในพื้นที่หรือบนคลาวด์ ประสิทธิภาพที่ได้รับการพิสูจน์โดยเกณฑ์มาตรฐาน

Benchmark-Proven Performance

มีประสิทธิภาพเหนือกว่าโมเดลการแก้ไขรูปภาพแบบโอเพ่นซอร์สและแบบปิดหลายรูปแบบในการประเมิน KontextBench ของเรา (รวมถึง Gemini Flash, Bagel ฯลฯ)

NVIDIA ปรับให้เหมาะสม

มอบน้ำหนัก TensorRT ที่ปรับให้เหมาะกับสถาปัตยกรรม NVIDIA Blackwell (BF16 / FP8 / FP4) โดยสมดุลระหว่างความเร็วและประสิทธิภาพ

API พร้อมใช้งานในโปรดักชัน

โมเดล Kontext Dev ได้ติดตั้งบนแพลตฟอร์มของเราแล้ว ไม่ต้องติดตั้งในเครื่อง เพียงลงทะเบียนและเริ่มใช้งานได้ทันที รองรับการเรียกแบบแบตช์และการตอบสนองหน่วงต่ำสำหรับทุกสถานการณ์การพัฒนา ไม่ต้องตั้งค่า เพียงเรียกใช้ API

การเรียกเก็บเงินตามเครดิต

ผู้ใช้สามารถเรียกใช้ Model API ได้โดยตรงด้วยการซื้อเครดิต ราคาเรียบง่ายและโปร่งใส ไม่ต้องเจรจาใบอนุญาต เหมาะตั้งแต่นักพัฒนารายบุคคลจนถึงแอปพลิเคชันระดับองค์กร จ่ายเฉพาะที่ใช้ ยืดหยุ่นและขยายได้

พร้อมสำหรับใบอนุญาตเชิงพาณิชย์

พอร์ทัลการให้สิทธิ์การใช้งานแบบบริการตนเองมีให้สำหรับองค์กรต่างๆ เพื่อซื้อใบอนุญาตเชิงพาณิชย์อย่างรวดเร็วและรวมเข้ากับผลิตภัณฑ์และบริการ

Webhooks แบบเรียลไทม์

การแจ้งเตือนทันทีเมื่อการประมวลผลแบบอะซิงโครนัสเสร็จสิ้น ไม่จำเป็นต้องทำการโพล ปรับปรุงประสิทธิภาพการตอบสนองของแอปพลิเคชัน

การตอบสนองความหน่วงต่ำ

เอ็นจิ้นการอนุมานที่ได้รับการปรับปรุงให้ดีที่สุดรับประกันเวลาตอบสนองที่รวดเร็ว เหมาะสำหรับสถานการณ์การใช้งานแบบเรียลไทม์ ราคา

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.