KuvaBlack Forest LabsUusi

FLUX.1 Dev

Korkealaatuinen kuvan generaatio hienosäädön ohjauksella

model: "flux-dev"

Tilat

Yksi mallin tunniste, kaikki tilat alla. Lähettämäsi kentät valitsevat tilan, ja hinta seuraa tilaa.

TilaValitaan seuraavallaTyypillinen hinta
Teksti kuvaksiprompt
Esimerkki kehotteesta
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
Kuvan muokkausimage_url
Esimerkki kehotteesta
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030
Rakenteen hallintamodecontrol_lora_image_url
Esimerkki kehotteesta
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Syöte

Pakollinen

Prompt

Valinnainen

Image Size

Valinnainen
1

Number of Images

Valinnainen

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.

Valinnainen

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

Valinnainen
3.5

Guidance Scale

Valinnainen
28

Steps

Valinnainen

Seed

Valinnainen

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

Valinnainen

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

Lisäasetukset (2)

Palveluntarjoajan asetukset pääohjainten ulkopuolella. Jätä ne tyhjäksi käyttääksesi mallin oletusasetuksia.

Valinnainen

Faster inference at a small cost in detail.

Valinnainen

File format of the result.

Tulos

FLUX.1 DevEsimerkkitulos

Todellinen tulos tältä mallilta. Suorita se nähdäksesi omasi täällä.

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