ImmagineBlack Forest Labs

Style Transfer

Restyle un'immagine da un prompt mantenendo la sua composizione.

model: "style-transfer"

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": "style-transfer",
  "input": {
    "image_url": "https://example.com/image.jpg"
  }
}
$0.060

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.

Style Transfer: Prima
Prima
Style Transfer: Dopo
Dopo

Input

Facoltativo

The style to apply.

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.65

0 keeps the original; 1 follows the prompt fully.

Opzioni avanzate (5)

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

Facoltativo

Faster inference at a small cost in detail.

Facoltativo
-

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

Facoltativo
-

Denoising steps. More is slower and can add detail.

Facoltativo

File format of the result.

Facoltativo

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

Risultato

Style TransferOutput 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": "style-transfer",
  "input": {
    "image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/babdfe77-4b1f-47a5-b168-02ca5830abb6/0.jpg",
    "prompt": "watercolor painting"
  }
}'
Style Transfer 1Style Transfer 2