BildBlack Forest LabsNeu

FLUX Kontext Pro

Bearbeiten Sie Bilder mit Textanweisungen

model: "flux-kontext-pro"

Modi

Eine Modell-ID, jeder Modus darunter. Die Felder, die Sie senden, wählen den Modus aus, und der Preis folgt dem Modus.

ModusAusgewählt durchTypischer Preis
Bildbearbeitungimage_url
Beispielanfrage
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Struktursteuerungmodecontrol_image_url
Beispielanfrage
{
  "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

Eingabe

Erforderlich

Prompt

Erforderlich

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

Optional
1

Count

Optional

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

Optional

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

Optional

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

Erweiterte Optionen (4)

Anbietereinstellungen jenseits der Hauptsteuerelemente. Lassen Sie diese leer, um die Standardwerte des Modells zu verwenden.

Optional

Let the model rewrite the prompt for better results.

Optional
-

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

Optional

File format of the result.

Optional

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

Ergebnis

FLUX Kontext ProBeispielausgabe

Ein echtes Ergebnis dieses Modells. Führen Sie es aus, um Ihr Ergebnis hier zu sehen.

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