# Fibo (Bria) na API da WizzyFlow

- ID do modelo: `bria/fibo/relight`
- Tarefa: ferramentas de imagem
- Preço: a partir de R$ 0,39. Preços com o câmbio de 26/11/2026.
- Página: https://wizzyflow.ai/models/bria/fibo/relight

## Autenticação

Envie a chave no cabeçalho `Authorization: Bearer $WIZZYFLOW_API_KEY`. Crie a chave em https://wizzyflow.ai/entrar.

## Chamada (assíncrona)

1. `POST https://api.wizzyflow.ai/api/v3/bria/fibo/relight` com os parâmetros em JSON. A resposta traz `data.id`.
2. `GET https://api.wizzyflow.ai/api/v3/predictions/{id}/result` a cada 2 segundos até `data.status` ser `completed`, `failed` ou `timeout`.
3. As saídas ficam em `data.outputs` (lista de URLs: as imagens geradas, no formato pedido ou em png.) e o valor cobrado, em reais, em `data.price`. Se falhar, nada é cobrado.

Para reenviar o mesmo pedido sem risco de cobrança dupla, use o cabeçalho `Idempotency-Key`.

Exemplo de corpo:

```json
{
  "image": "https://exemplo.com/foto.jpg",
  "light_type": "midday"
}
```

## Parâmetros

| Nome | Tipo | Obrigatório | Valores | Padrão |
|---|---|---|---|---|
| `image` | URL | sim | — | — |
| `light_type` | opção | sim | midday, blue hour light, low-angle sunlight, sunrise light, spotlight on subject, overcast light, soft overcast daylight lighting, cloud-filtered lighting, fog-diffused lighting, moonlight lighting, starlight nighttime, soft bokeh lighting, harsh studio lighting | midday |
| `light_direction` | opção | não | front, side, bottom, top-down | front |
