छविCodeFormer

Face Restore (CodeFormer)

कम गुणवत्ता वाले चेहरों को पुनः स्थापित करता है और उन्हें अपस्केल करता है।

model: "headshot"

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

मोड

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

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

एक असली रन

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

Face Restore (CodeFormer): पहले
पहले
Face Restore (CodeFormer): बाद में
बाद में

इनपुट

आवश्यक

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

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

वैकल्पिक
2

How many times larger.

वैकल्पिक

Restore only the main face.

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

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

वैकल्पिक

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

परिणाम

Face Restore (CodeFormer)उदाहरण आउटपुट

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

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