BildeBlack Forest LabsNy

FLUX Kontext Pro

Rediger bilder med tekstinstruksjoner

model: "flux-kontext-pro"

Moduser

Én modell-ID, hver modus nedenfor. Feltene du sender velger modusen, og prisen følger modusen.

ModusValgt avTypisk pris
Bilderedigeringimage_url
Eksempel på forespørsel
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Strukturkontrollmodecontrol_image_url
Eksempel på forespørsel
{
  "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

Inndata

Påkrevd

Prompt

Påkrevd

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

Valgfritt
1

Count

Valgfritt

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

Valgfritt

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

Valgfritt

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

Avanserte alternativer (4)

Leverandørinnstillinger utover hovedkontrollene. La dem være tomme for å bruke modellens standarder.

Valgfritt

Let the model rewrite the prompt for better results.

Valgfritt
-

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

Valgfritt

File format of the result.

Valgfritt

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

Resultat

FLUX Kontext ProEksempelresultat

Et reelt resultat fra denne modellen. Kjør den for å se dine 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