BilledeBlack Forest LabsNy

FLUX.1 Dev

Højkvalitets-billedgenerering med fin kontrol

model: "flux-dev"

Tilstande

Ét model-id, hver tilstand nedenfor. De felter du sender vælger tilstanden, og prisen følger tilstanden.

TilstandValgt afTypisk pris
Tekst til billedeprompt
Eksemelanmodning
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
Billedredigeringimage_url
Eksemelanmodning
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030
Strukturkontrolmodecontrol_lora_image_url
Eksemelanmodning
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Input

Påkrævet

Prompt

Valgfrit

Image Size

Valgfrit
1

Number of Images

Valgfrit

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.

Valgfrit

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

Valgfrit
3.5

Guidance Scale

Valgfrit
28

Steps

Valgfrit

Seed

Valgfrit

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

Valgfrit

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

Avancerede indstillinger (2)

Leverandørindstillinger ud over hovedkontrollerne. Lad dem være tomme for at bruge modelens standarder.

Valgfrit

Faster inference at a small cost in detail.

Valgfrit

File format of the result.

Resultat

FLUX.1 DevEksempel på output

Et reelt resultat fra denne model. Kør den for at se dit resultat 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