이미지CodeFormer

Face Restore (CodeFormer)

저품질 얼굴을 복원하고 업스케일합니다.

model: "headshot"

API 문서에이전트 문서

모드

하나의 모델 ID, 아래의 모든 모드. 전송하는 필드가 모드를 선택하고, 가격은 모드에 따릅니다.

모드선택 기준일반 가격
이미지 입력, 이미지 출력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