BildBlack Forest Labs

Inpaint (FLUX Fill)

Malt die maskierte Fläche aus einer Eingabeaufforderung neu und fügt sie in den Rest des Bildes ein.

model: "inpaint-flux-fill"

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
Bild rein, Bild rausimage_urlmask_url
Beispielanfrage
{
  "model": "inpaint-flux-fill",
  "input": {
    "image_url": "https://example.com/image.jpg",
    "mask_url": "https://example.com/image.jpg",
    "prompt": "a lighthouse at dusk"
  }
}
$0.050

Ein echter Lauf

Dies ist die tatsächliche Ausgabe des Tools auf dem nebenstehenden Bild. Der Playground unten öffnet sich mit demselben Input, damit Sie es selbst ausführen können.

Inpaint (FLUX Fill): Vorher
Vorher
Inpaint (FLUX Fill): Nachher
Nachher

Eingabe

Erforderlich

What to paint in the masked area.

Erforderlich

The image to work on (https URL, or an upload URL from POST /v1/uploads).. A public https URL, or an upload URL from POST /v1/uploads.

Erforderlich

White marks the area to repaint, black is kept (https URL).. A public https URL, or an upload URL from POST /v1/uploads.

Erweiterte Optionen (3)

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

File format of the result.

Optional

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

Ergebnis

Inpaint (FLUX Fill)Beispielausgabe

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": "inpaint-flux-fill",
  "input": {
    "image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/babdfe77-4b1f-47a5-b168-02ca5830abb6/0.jpg",
    "mask_url": "https://assets.arteza.ai/uploads/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/api/oqsLYVdazMWOeIzRouFbFA.png",
    "prompt": "a small red ribbon bow"
  }
}'
Inpaint (FLUX Fill) 1Inpaint (FLUX Fill) 2