छविBlack Forest Labs

Style Transfer

एक प्रॉम्प्ट से इमेज को फिर से स्टाइल करता है जबकि इसकी संरचना को रखता है।

model: "style-transfer"

API दस्तावेज़एजेंट के लिए दस्तावेज़

मोड

एक मॉडल आईडी, नीचे सभी मोड। आप जो फ़ील्ड भेजते हैं वह मोड चुनते हैं, और कीमत मोड के अनुसार होती है।

मोडइनके द्वारा चयनितसामान्य कीमत
छवि में, छवि बाहरimage_url
उदाहरण अनुरोध
{
  "model": "style-transfer",
  "input": {
    "image_url": "https://example.com/image.jpg"
  }
}
$0.060

एक असली रन

यह इसके आगे की इमेज पर टूल का वास्तविक आउटपुट है। नीचे का प्लेग्राउंड समान इनपुट पर खुलता है, इसलिए आप इसे स्वयं चला सकते हैं।

Style Transfer: पहले
पहले
Style Transfer: बाद में
बाद में

इनपुट

वैकल्पिक

The style to apply.

आवश्यक

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.

वैकल्पिक
0.65

0 keeps the original; 1 follows the prompt fully.

उन्नत विकल्प (5)

मुख्य नियंत्रणों से परे प्रदाता सेटिंग्स। मॉडल के डिफ़ॉल्ट का उपयोग करने के लिए उन्हें खाली छोड़ दें।

वैकल्पिक

Faster inference at a small cost in detail.

वैकल्पिक
-

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

वैकल्पिक
-

Denoising steps. More is slower and can add detail.

वैकल्पिक

File format of the result.

वैकल्पिक

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

परिणाम

Style Transferउदाहरण आउटपुट

इस मॉडल से वास्तविक परिणाम। इसे चलाकर अपना परिणाम यहाँ देखें।

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