ImagemBlack Forest LabsNovo

FLUX.1 Schnell

Geração de imagens ultra-rápida em menos de um segundo

model: "flux-schnell"

Modos

Um ID de modelo, todos os modos abaixo. Os campos que você envia escolhem o modo, e o preço segue o modo.

ModoSelecionado porPreço típico
Texto para imagemprompt
Exemplo de solicitação
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.0030
Controle de estruturamodecontrol_lora_image_url
Exemplo de solicitação
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Entrada

Obrigatório

Prompt

Opcional

Image Size

Opcional
1

Number of Images

Opcional

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

Opcional
4

Steps

Opcional

Seed

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.

Opções avançadas (3)

Configurações do provedor além dos controles principais. Deixe-as vazias para usar os padrões do modelo.

Opcional

Faster inference at a small cost in detail.

Opcional
-

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

Opcional

File format of the result.

Resultado

FLUX.1 SchnellSaída de exemplo

Um resultado real deste modelo. Execute-o para ver o seu aqui.

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