BildeBlack Forest LabsNy

FLUX.1 Dev

Høykvalitets bildegenerering med fin kontroll

model: "flux-dev"

Moduser

Én modell-ID, hver modus nedenfor. Feltene du sender velger modusen, og prisen følger modusen.

ModusValgt avTypisk pris
Tekst til bildeprompt
Eksempel på forespørsel
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
Bilderedigeringimage_url
Eksempel på forespørsel
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030
Strukturkontrollmodecontrol_lora_image_url
Eksempel på forespørsel
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Inndata

Påkrevd

Prompt

Valgfritt

Image Size

Valgfritt
1

Number of Images

Valgfritt

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.

Valgfritt

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

Valgfritt
3.5

Guidance Scale

Valgfritt
28

Steps

Valgfritt

Seed

Valgfritt

Selects a mode that the other fields cannot: "structure" follows the edges or depth of a control image.

Valgfritt

Follow the control image's edges (canny) or its depth.

Avanserte alternativer (2)

Leverandørinnstillinger utover hovedkontrollene. La dem være tomme for å bruke modellens standarder.

Valgfritt

Faster inference at a small cost in detail.

Valgfritt

File format of the result.

Resultat

FLUX.1 DevEksempelresultat

Et reelt resultat fra denne modellen. Kjør den for å se dine her.

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