תמונה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