تصویرBlack Forest Labsنیا

FLUX.1 Dev

بہتر کنٹرول کے ساتھ اعلیٰ معیار کی تصویر کی تخلیق

model: "flux-dev"

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

موڈز

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

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