KuvaBlack Forest LabsUusi

FLUX Kontext Pro

Muokkaa kuvia tekstiohjeilla

model: "flux-kontext-pro"

Tilat

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

TilaValitaan seuraavallaTyypillinen hinta
Kuvan muokkausimage_url
Esimerkki kehotteesta
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Rakenteen hallintamodecontrol_image_url
Esimerkki kehotteesta
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "mode": "structure",
    "control_image_url": "https://example.com/image.jpg"
  }
}
$0.050

Syöte

Pakollinen

Prompt

Pakollinen

Image to edit. A public https URL, or an upload URL from POST /v1/uploads.

Valinnainen
1

Count

Valinnainen

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

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 (4)

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

Valinnainen

Let the model rewrite the prompt for better results.

Valinnainen
-

How strictly the model follows the prompt. Higher is more literal.

Valinnainen

File format of the result.

Valinnainen

Random seed. The same seed and input reproduce the same result.

Tulos

FLUX Kontext ProEsimerkkitulos

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-kontext-pro",
  "input": {
    "prompt": "man with the bycycle"
  }
}'
FLUX Kontext Pro 1FLUX Kontext Pro 2FLUX Kontext Pro 3FLUX Kontext Pro 4FLUX Kontext Pro 5FLUX Kontext Pro 6