BilledeBlack Forest LabsNy

FLUX Kontext Pro

Rediger billeder med tekstinstruktioner

model: "flux-kontext-pro"

Tilstande

Ét model-id, hver tilstand nedenfor. De felter du sender vælger tilstanden, og prisen følger tilstanden.

TilstandValgt afTypisk pris
Billedredigeringimage_url
Eksemelanmodning
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Strukturkontrolmodecontrol_image_url
Eksemelanmodning
{
  "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

Påkrævet

Prompt

Påkrævet

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

Valgfrit
1

Count

Valgfrit

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

Valgfrit

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

Valgfrit

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

Avancerede indstillinger (4)

Leverandørindstillinger ud over hovedkontrollerne. Lad dem være tomme for at bruge modelens standarder.

Valgfrit

Let the model rewrite the prompt for better results.

Valgfrit
-

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

Valgfrit

File format of the result.

Valgfrit

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

Resultat

FLUX Kontext ProEksempel på output

Et reelt resultat fra denne model. Kør den for at se dit resultat her.

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