Flux Kontext - टेक्स्ट prompts के साथ सहज इमेज एडिटिंग
Flux Kontext एक उन्नत image-to-image एडिटिंग मॉडल है जो आपके विज़ुअल्स और क्रिएटिव इंटेंट दोनों को समझता है। इसे Black Forest Labs ने बनाया है और production उपयोग के लिए अनुकूलित किया है।
Kontext Dev प्राइसिंग
सिर्फ सफल जनरेशन पर भुगतान करें
Flux Kontext API
$0.02/img /image
Developer-ready API access
उदाहरण उपयोग मामले
देखें कि Flux Kontext के साथ अलग-अलग मॉडल और उपयोग मामलों में क्या संभव है
बैकग्राउंड बदलना
सब्जेक्ट की पोज़िशन और लाइटिंग बनाए रखते हुए बैकग्राउंड बदलें
टेक्स्ट बदलना
टाइपोग्राफी और डिज़ाइन बनाए रखते हुए प्रोडक्ट टेक्स्ट एडिट करें
प्रोडक्ट ब्रांडिंग
मूल डिज़ाइन को सुरक्षित रखते हुए ब्रांडिंग अपडेट करें
हेयरस्टाइल बदलना
चेहरे के फीचर्स और कंपोज़िशन को बनाए रखते हुए हेयरस्टाइल बदलें
वॉटरकलर स्टाइल
फोटो को असली टेक्स्चर वाले वॉटरकलर आर्ट में बदलें
90s कार्टून स्टाइल
रियल फोटो को बोल्ड आउटलाइन और फ्लैट कलर वाले कार्टून में बदलें
कैसे उपयोग करें
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 in the playground
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "Qubico/flux1-dev-advanced",
"task_type": "kontext",
"input": {
"prompt": "Transform this product photo into a refined watercolor editorial.",
"width": 1024,
"height": 1024,
"image": "YOUR_IMAGE_URL"
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"image_url": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run flux-kontext \ prompt="Transform this product photo into a refined watercolor editorial." \ width=1024 \ height=1024 \ image=YOUR_IMAGE_URL ✓ Task completed! https://img.theapi.app/ephemeral/…
अक्सर पूछे जाने वाले प्रश्न
Flux Kontext API क्या है?
Flux Kontext API एक शक्तिशाली image-to-image एडिटिंग सेवा है जो आपको प्राकृतिक भाषा prompts से इमेज ट्रांसफॉर्म करने देती है। इसमें Pro, Max और Dev मॉडल हैं जिनमें स्पीड और क्वालिटी के अलग-अलग संतुलन हैं।
क्या मैं Flux Kontext को कमर्शियल प्रोजेक्ट्स में उपयोग कर सकता हूँ?
हाँ। सभी Kontext मॉडल्स के साथ प्रोडक्ट्स, सर्विसेज़ और क्लाइंट वर्क के लिए पूरा कमर्शियल उपयोग अधिकार मिलता है।
क्या रिफंड मिलता है?
नहीं, हम रिफंड नहीं देते। लेकिन जब आप पहली बार PiAPI के Workspace पर अकाउंट बनाते हैं, तो भुगतान करने से पहले हमारी API आज़माने के लिए आपको मुफ्त क्रेडिट मिलते हैं!
कौन-कौन से इमेज फॉर्मेट्स सपोर्ट होते हैं?
Kontext JPEG, PNG और WebP सपोर्ट करता है। बेहतर प्रदर्शन के लिए इनपुट इमेज 10MB से कम होनी चाहिए।
क्या rate limit है?
Rate limit आपके प्लान और उपयोग पर निर्भर करती है। फ्री यूज़र्स के लिए सीमाएँ कम होती हैं, पेड यूज़र्स को अधिक throughput मिलता है।
More questions? See the API docs.
Our blog
Flux Kontext API



