ছবিBlack Forest Labsনতুন

FLUX Kontext Pro

টেক্সট নির্দেশনা দিয়ে ইমেজ সম্পাদনা করুন

model: "flux-kontext-pro"

API ডকুমেন্টেশনএজেন্টদের জন্য ডকুমেন্টেশন

মোড

একটি মডেল আইডি, নিচের প্রতিটি মোড। আপনি যে ক্ষেত্রগুলি পাঠান তা মোড নির্বাচন করে এবং মূল্য মোড অনুসরণ করে।

মোডনির্বাচিত দ্বারাসাধারণ মূল্য
চিত্র সম্পাদনাimage_url
উদাহরণ অনুরোধ
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
কাঠামো নিয়ন্ত্রণmodecontrol_image_url
উদাহরণ অনুরোধ
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "mode": "structure",
    "control_image_url": "https://example.com/image.jpg"
  }
}
$0.050

ইনপুট

প্রয়োজনীয়

Prompt

প্রয়োজনীয়

Image to edit. A public https URL, or an upload URL from POST /v1/uploads.

ঐচ্ছিক
1

Count

ঐচ্ছিক

Control image (https URL), with mode "structure".

ঐচ্ছিক

Selects a mode that the other fields cannot: "structure" follows the edges or depth of a control image.

ঐচ্ছিক

Follow the control image's edges (canny) or its depth.

উন্নত বিকল্পসমূহ (4)

মূল নিয়ন্ত্রণের বাইরে প্রদানকারী সেটিংস। মডেলের ডিফল্ট ব্যবহার করতে সেগুলি খালি রাখুন।

ঐচ্ছিক

Let the model rewrite the prompt for better results.

ঐচ্ছিক
-

How strictly the model follows the prompt. Higher is more literal.

ঐচ্ছিক

File format of the result.

ঐচ্ছিক

Random seed. The same seed and input reproduce the same result.

ফলাফল

FLUX Kontext Proউদাহরণ আউটপুট

এই মডেলের একটি প্রকৃত ফলাফল। আপনার ফলাফল এখানে দেখতে এটি চালান।

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "man with the bycycle"
  }
}'
FLUX Kontext Pro 1FLUX Kontext Pro 2FLUX Kontext Pro 3FLUX Kontext Pro 4FLUX Kontext Pro 5FLUX Kontext Pro 6