BilledeBlack Forest Labs

Style Transfer

Omstiler et billede ud fra en prompt, mens kompositionen bevares.

model: "style-transfer"

Tilstande

Ét model-id, hver tilstand nedenfor. De felter du sender vælger tilstanden, og prisen følger tilstanden.

TilstandValgt afTypisk pris
Billede ind, billede udimage_url
Eksemelanmodning
{
  "model": "style-transfer",
  "input": {
    "image_url": "https://example.com/image.jpg"
  }
}
$0.060

En faktisk køring

Dette er værktøjets faktiske output på billedet ved siden af det. Playground nedenfor åbnes med det samme input, så du kan køre det selv.

Style Transfer: Før
Før
Style Transfer: Efter
Efter

Input

Valgfrit

The style to apply.

Påkrævet

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.

Valgfrit
0.65

0 keeps the original; 1 follows the prompt fully.

Avancerede indstillinger (5)

Leverandørindstillinger ud over hovedkontrollerne. Lad dem være tomme for at bruge modelens standarder.

Valgfrit

Faster inference at a small cost in detail.

Valgfrit
-

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

Valgfrit
-

Denoising steps. More is slower and can add detail.

Valgfrit

File format of the result.

Valgfrit

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

Resultat

Style TransferEksempel på output

Et reelt resultat fra denne model. Kør den for at se dit resultat her.

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