ImmagineBlack Forest LabsNuovo

FLUX Kontext Pro

Modifica immagini con istruzioni di testo

model: "flux-kontext-pro"

Modalità

Un ID modello, ogni modalità qui sotto. I campi che invii scelgono la modalità, e il prezzo segue la modalità.

ModalitàSelezionato daPrezzo tipico
Modifica immagineimage_url
Esempio di richiesta
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Controllo della strutturamodecontrol_image_url
Esempio di richiesta
{
  "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

Input

Obbligatorio

Prompt

Obbligatorio

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

Facoltativo
1

Count

Facoltativo

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

Facoltativo

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

Facoltativo

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

Opzioni avanzate (4)

Impostazioni del provider oltre i controlli principali. Lasciali vuoti per usare i valori predefiniti del modello.

Facoltativo

Let the model rewrite the prompt for better results.

Facoltativo
-

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

Facoltativo

File format of the result.

Facoltativo

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

Risultato

FLUX Kontext ProOutput di esempio

Un risultato reale da questo modello. Eseguilo per vedere il tuo qui.

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