تصویرBlack Forest Labsنیا

FLUX.1 Schnell

ایک سیکنڈ سے کم میں انتہائی تیز رفتار تصویر کی تخلیق

model: "flux-schnell"

API دستاویزاتایجنٹس کے لیے دستاویزات

موڈز

ایک ماڈل ID، نیچے دیے گئے تمام موڈز۔ آپ جو فیلڈز بھیجتے ہیں وہ موڈ کا انتخاب کرتے ہیں، اور قیمت موڈ پر عمل کرتی ہے۔

موڈاس کے ذریعے منتخبعام قیمت
متن سے تصویر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