छवि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