ImagenBlack Forest LabsNuevo

FLUX Kontext Pro

Edita imágenes con instrucciones de texto

model: "flux-kontext-pro"

Modos

Un ID de modelo, cada modo a continuación. Los campos que envías eligen el modo, y el precio sigue al modo.

ModoSeleccionado porPrecio típico
Edición de imagenimage_url
Ejemplo de solicitud
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Control de estructuramodecontrol_image_url
Ejemplo de solicitud
{
  "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

Entrada

Obligatorio

Prompt

Obligatorio

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

Opcional
1

Count

Opcional

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

Opcional

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

Opcional

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

Opciones avanzadas (4)

Configuración del proveedor más allá de los controles principales. Déjalos vacíos para usar los valores predeterminados del modelo.

Opcional

Let the model rewrite the prompt for better results.

Opcional
-

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

Opcional

File format of the result.

Opcional

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

Resultado

FLUX Kontext ProSalida de ejemplo

Un resultado real de este modelo. Ejecútalo para ver el tuyo aquí.

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