AfbeeldingBlack Forest LabsNieuw

FLUX Kontext Pro

Bewerk afbeeldingen met tekstinstructies

model: "flux-kontext-pro"

Modi

Eén model-id, elke modus hieronder. De velden die je verzendt bepalen de modus, en de prijs volgt de modus.

ModusBepaald doorTypische prijs
Afbeelding bewerkenimage_url
Voorbeeldverzoek
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Structuurbesturingmodecontrol_image_url
Voorbeeldverzoek
{
  "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

Invoer

Verplicht

Prompt

Verplicht

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

Optioneel
1

Count

Optioneel

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

Optioneel

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

Optioneel

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

Geavanceerde opties (4)

Providerinstellingen buiten de hoofdbedieningen. Laat ze leeg om de standaardinstellingen van het model te gebruiken.

Optioneel

Let the model rewrite the prompt for better results.

Optioneel
-

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

Optioneel

File format of the result.

Optioneel

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

Resultaat

FLUX Kontext ProVoorbeeld uitvoer

Een echt resultaat van dit model. Voer het uit om jouw resultaat hier te zien.

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