ИзображениеBlack Forest LabsНовое

FLUX.1 Schnell

Ультрабыстрое создание изображений менее чем за секунду

model: "flux-schnell"

Режимы

Один идентификатор модели — все приведённые ниже режимы. Поля, которые вы отправляете, выбирают режим, а цена зависит от режима.

РежимВыбирается поТипичная цена
Текст в изображениеprompt
Пример запроса
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.0030
Контроль структурыmodecontrol_lora_image_url
Пример запроса
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Входные данные

Обязательное

Prompt

Опционально

Image Size

Опционально
1

Number of Images

Опционально

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

Опционально
4

Steps

Опционально

Seed

Опционально

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.

Дополнительные параметры (3)

Настройки поставщика сверх основных элементов управления. Оставьте их пустыми, чтобы использовать значения модели по умолчанию.

Опционально

Faster inference at a small cost in detail.

Опционально
-

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

Опционально

File format of the result.

Результат

FLUX.1 SchnellПример результата

Реальный результат этой модели. Запустите её, чтобы увидеть свой результат здесь.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-schnell",
  "input": {
    "prompt": "a cute cat being affectionate with a young girl, cat nuzzling the girl, warm and heartwarming scene, soft natural lighting"
  }
}'
FLUX.1 Schnell 1FLUX.1 Schnell 2FLUX.1 Schnell 3FLUX.1 Schnell 4FLUX.1 Schnell 5FLUX.1 Schnell 6