ছবিBlack Forest Labsনতুন

FLUX.1 Dev

সূক্ষ্ম নিয়ন্ত্রণের সাথে উচ্চ-মানের ইমেজ জেনারেশন

model: "flux-dev"

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

মোড

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

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

ইনপুট

প্রয়োজনীয়

Prompt

ঐচ্ছিক

Image Size

ঐচ্ছিক
1

Number of Images

ঐচ্ছিক

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

ঐচ্ছিক

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

ঐচ্ছিক
3.5

Guidance Scale

ঐচ্ছিক
28

Steps

ঐচ্ছিক

Seed

ঐচ্ছিক

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.

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

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

ঐচ্ছিক

Faster inference at a small cost in detail.

ঐচ্ছিক

File format of the result.

ফলাফল

FLUX.1 Devউদাহরণ আউটপুট

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

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-dev",
  "input": {
    "prompt": "Professional portrait of a woman, soft natural lighting, shallow depth of field, photorealistic"
  }
}'
FLUX.1 Dev 1FLUX.1 Dev 2FLUX.1 Dev 3FLUX.1 Dev 4FLUX.1 Dev 5FLUX.1 Dev 6