ImagineBlack Forest LabsNou

FLUX Kontext Pro

Editati imagini cu instructiuni text

model: "flux-kontext-pro"

Moduri

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

ModSelectat dePreț tipic
Editare imagineimage_url
Exemplu de cerere
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Control structurămodecontrol_image_url
Exemplu de cerere
{
  "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

Intrare

Obligatoriu

Prompt

Obligatoriu

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

Opțional
1

Count

Opțional

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

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

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

Opțional

Let the model rewrite the prompt for better results.

Opțional
-

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

Opțional

File format of the result.

Opțional

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

Rezultat

FLUX Kontext ProExemplu 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-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