ЗображенняBlack Forest LabsНова

FLUX Kontext Pro

Редагуйте зображення за допомогою текстових інструкцій

model: "flux-kontext-pro"

Режими

Один ID моделі, усі режими нижче. Поля, які ви надсилаєте, вибирають режим, а ціна залежить від режиму.

РежимВибирається за допомогоюТипова ціна
Редагування зображенняimage_url
Приклад запиту
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Контроль структуриmodecontrol_image_url
Приклад запиту
{
  "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

Вхідні дані

Обов'язково

Prompt

Обов'язково

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

Необов'язково
1

Count

Необов'язково

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

Необов'язково

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

Необов'язково

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

Додаткові параметри (4)

Параметри постачальника за межами основних елементів керування. Залиште їх порожніми, щоб використовувати стандартні значення моделі.

Необов'язково

Let the model rewrite the prompt for better results.

Необов'язково
-

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

Необов'язково

File format of the result.

Необов'язково

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

Результат

FLUX Kontext ProПриклад результату

Реальний результат цієї моделі. Запустіть її, щоб побачити свій результат тут.

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