ImagineBlack Forest LabsNou

FLUX.1 Dev

Generare de imagini de înaltă calitate cu control fin

model: "flux-dev"

Moduri

Un ID model, fiecare mod mai jos. Câmpurile pe care le trimi aleg modul, iar prețul urmează modul.

ModSelectat dePreț tipic
Text în imagineprompt
Exemplu de cerere
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
Editare imagineimage_url
Exemplu de cerere
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030
Control structurămodecontrol_lora_image_url
Exemplu de cerere
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Intrare

Obligatoriu

Prompt

Opțional

Image Size

Opțional
1

Number of Images

Opțional

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.

Opțional

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

Opțional
3.5

Guidance Scale

Opțional
28

Steps

Opțional

Seed

Opțional

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

Opțional

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

Optiuni avansate (2)

Setari ale furnizorului dincolo de comenzile principale. Lasa-le goale pentru a folosi valorile implicite ale modelului.

Opțional

Faster inference at a small cost in detail.

Opțional

File format of the result.

Rezultat

FLUX.1 DevExemplu de rezultat

Un rezultat real din acest model. Rulează-l pentru a vedea aici al tău.

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