ImmagineCodeFormer

Face Restore (CodeFormer)

Restaura i volti di bassa qualità e li ingrandisce.

model: "headshot"

Modalità

Un ID modello, ogni modalità qui sotto. I campi che invii scelgono la modalità, e il prezzo segue la modalità.

ModalitàSelezionato daPrezzo tipico
Immagine in ingresso, immagine in uscitaimage_url
Esempio di richiesta
{
  "model": "headshot",
  "input": {
    "image_url": "https://example.com/image.jpg"
  }
}
$0.0084

Una generazione reale

Questo è l'output effettivo dello strumento sull'immagine accanto. Il playground qui sotto si apre con lo stesso input, così puoi eseguirlo tu stesso.

Face Restore (CodeFormer): Prima
Prima
Face Restore (CodeFormer): Dopo
Dopo

Input

Obbligatorio

The image to work on (https URL, or an upload URL from POST /v1/uploads).. A public https URL, or an upload URL from POST /v1/uploads.

Facoltativo
0.5

Higher stays closer to the original face; lower restores more.

Facoltativo
2

How many times larger.

Facoltativo

Restore only the main face.

Opzioni avanzate (1)

Impostazioni del provider oltre i controlli principali. Lasciali vuoti per usare i valori predefiniti del modello.

Facoltativo

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

Risultato

Face Restore (CodeFormer)Output di esempio

Un risultato reale da questo modello. Eseguilo per vedere il tuo qui.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "headshot",
  "input": {
    "image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/11c8171c-25fe-448c-8c89-8f7f36b69f42/0.jpg"
  }
}'
Face Restore (CodeFormer) 1Face Restore (CodeFormer) 2