ImagemBlack Forest LabsNovo

FLUX 2 Pro

Fotorrealismo de nível de produção

model: "flux-pro-v2"

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-pro-v2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.045
Edição de imagemimage_url
Exemplo de solicitação
{
  "model": "flux-pro-v2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.105

Entrada

Obrigatório

Prompt

Opcional

Size

Opcional

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

Opcional

More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.

Opções avançadas (2)

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

Opcional

File format of the result.

Opcional

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

Resultado

FLUX 2 ProSaí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-pro-v2",
  "input": {
    "prompt": "Concept art of a geostationary relay station in the eye of a vast category-five hurricane seen from low orbit, the spiral wall cloud spreading across an entire ocean below in bands of cool slate and electric white, the station'\''s solar panels catching vivid amber sunrise light above the storm, wide cinematic horizontal sci-fi VFX environment, photorealistic hard-surface material on truss and panel detail, no crew visible, awe-inspiring scale"
  }
}'
FLUX 2 Pro 1FLUX 2 Pro 2FLUX 2 Pro 3FLUX 2 Pro 4FLUX 2 Pro 5FLUX 2 Pro 6