AfbeeldingBlack Forest Labs

Style Transfer

Past de stijl van een afbeelding aan vanuit een prompt terwijl de compositie behouden blijft.

model: "style-transfer"

Modi

Eén model-id, elke modus hieronder. De velden die je verzendt bepalen de modus, en de prijs volgt de modus.

ModusBepaald doorTypische prijs
Afbeelding in, afbeelding uitimage_url
Voorbeeldverzoek
{
  "model": "style-transfer",
  "input": {
    "image_url": "https://example.com/image.jpg"
  }
}
$0.060

Een echte uitvoering

Dit is de werkelijke uitvoer van het hulpmiddel op de afbeelding ernaast. De speeltuin hieronder opent met dezelfde invoer, zodat je het zelf kunt uitproberen.

Style Transfer: Voor
Voor
Style Transfer: Na
Na

Invoer

Optioneel

The style to apply.

Verplicht

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.

Optioneel
0.65

0 keeps the original; 1 follows the prompt fully.

Geavanceerde opties (5)

Providerinstellingen buiten de hoofdbedieningen. Laat ze leeg om de standaardinstellingen van het model te gebruiken.

Optioneel

Faster inference at a small cost in detail.

Optioneel
-

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

Optioneel
-

Denoising steps. More is slower and can add detail.

Optioneel

File format of the result.

Optioneel

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

Resultaat

Style TransferVoorbeeld uitvoer

Een echt resultaat van dit model. Voer het uit om jouw resultaat hier te zien.

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