ছবিBlack Forest Labsনতুন

FLUX.1 Schnell

এক সেকেন্ডের নিচে অতি দ্রুত ইমেজ জেনারেশন

model: "flux-schnell"

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

মোড

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

মোডনির্বাচিত দ্বারাসাধারণ মূল্য
লেখা থেকে চিত্রprompt
উদাহরণ অনুরোধ
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.0030
কাঠামো নিয়ন্ত্রণmodecontrol_lora_image_url
উদাহরণ অনুরোধ
{
  "model": "flux-schnell",
  "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

ঐচ্ছিক

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

ঐচ্ছিক
4

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.

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

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

ঐচ্ছিক

Faster inference at a small cost in detail.

ঐচ্ছিক
-

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

ঐচ্ছিক

File format of the result.

ফলাফল

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

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

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-schnell",
  "input": {
    "prompt": "a cute cat being affectionate with a young girl, cat nuzzling the girl, warm and heartwarming scene, soft natural lighting"
  }
}'
FLUX.1 Schnell 1FLUX.1 Schnell 2FLUX.1 Schnell 3FLUX.1 Schnell 4FLUX.1 Schnell 5FLUX.1 Schnell 6