Skip to main content
ByteDance빠름높음

PuLID

ByteDance PuLID: SDXL 기반의 튜닝 없는 정체성 커스터마이징 모델입니다. 얼굴 사진 한 장과 프롬프트만으로 어떤 장면·스타일의 인물 사진도 생성 — 별도 학습 없이 4스텝 고속 샘플링, 두 얼굴 혼합까지 지원합니다. 이미지당 2크레딧의 압도적인 가성비가 강점입니다.

6 크레딧
1크레딧 x num_samples (기본 4장 = 6크레딧)
얼굴 사진 한 장으로 학습 없이 정체성 보존
SDXL 기반 4스텝 초고속 샘플링
mix_identities: 서로 다른 두 얼굴을 한 인물로 혼합
fidelity와 'extremely style' 생성 모드 선택
실행당 최대 8장, 이미지당 단 2크레딧

지금 바로 실행해보세요

콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요

로그인 후 사용해보기

AI 어시스턴트에서 사용하기

이 모델의 사용법을 Claude, ChatGPT 등에 복사

빠른 시작

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bytedance/pulid",
  "input": {
    "main_face_image": "https://example.com/face.webp",
    "prompt": "portrait, impressionist painting, loose brushwork, vibrant color, light and shadow play",
    "num_samples": 4,
    "identity_scale": 0.8,
    "generation_mode": "fidelity"
  }
}'

파라미터

파라미터타입필수기본값설명
promptstringNoportrait,color,cinematic,in garden,soft light,detailed face장면과 스타일을 설명하는 텍스트 프롬프트
main_face_imagestringYes-정체성 기준이 되는 메인 얼굴 사진
auxiliary_face_image1stringNo-추가 얼굴 사진 — mix_identities 사용 시 두 번째 얼굴
auxiliary_face_image2stringNo-추가 ID 이미지 (보조)
auxiliary_face_image3stringNo-추가 ID 이미지 (보조)
negative_promptstringNoflaws in the eyes, flaws in the face, flaws, lowres, non-HDRi, low quality, worst quality,artifacts noise, text, watermark, glitch, deformed, mutated, ugly, disfigured, hands, low resolution, partially rendered objects, deformed or partially rendered eyes, deformed, deformed eyeballs, cross-eyed,blurry네거티브 프롬프트
cfg_scalenumberNo1.2CFG. 권장 범위 [1, 1.5]이며, 1이 더 빠름
num_stepsintegerNo4샘플링 스텝 (1-100). 기본값 4가 고속 라이트닝 설정
image_heightintegerNo1024출력 세로 픽셀 (512-2024)
image_widthintegerNo768출력 가로 픽셀 (512-2024)
identity_scalenumberNo0.8정체성 강도 (0-5). 높을수록 얼굴이 강하게 보존됨
generation_modestringNofidelity'fidelity'는 얼굴 유사도, 'extremely style'은 스타일화를 우선
fidelityextremely style
mix_identitiesbooleanNofalse두 얼굴 사진을 하나의 정체성으로 혼합 (auxiliary_face_image1 사용)
seedintegerNo-랜덤 시드. 비우면 무작위
num_samplesintegerNo4생성할 이미지 수 (1-8). 이미지당 2크레딧 과금
output_formatstringNowebp출력 이미지 포맷
webpjpgpng
output_qualityintegerNo80출력 이미지 품질 (0-100). 100이 최고 품질, 0이 최저 품질.

파일 입력 방법

이 모델의 main_face_imageauxiliary_face_image1 파라미터에 파일을 전달하는 방법은 3가지입니다.

추천

간편 업로드 (Multipart)

POST /v1/predictions/upload에 파일을 직접 첨부합니다. 별도 업로드 과정이 필요 없습니다.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=bytedance/pulid" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:main_face_image=@your_file.png"

이미지 URL 전달

공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.

{
  "model": "bytedance/pulid",
  "input": {
    "prompt": "your prompt here",
    "main_face_image": "https://example.com/image.jpg"
  }
}
File Upload 문서에서 Presigned URL 방식 등 더 자세한 업로드 방법을 확인하세요.

공통 파라미터

POST /v1/predictions 요청 시 사용되는 공통 파라미터입니다.

파라미터타입필수기본값설명
modelstringYes-모델 식별자
inputobjectYes-위 테이블의 모델별 파라미터를 포함하는 객체
output_folderstringNo-결과물 저장 폴더 경로 (최대 256자, '..' 사용 불가)
webhook_urlstringNo-완료 시 호출할 Webhook URL
is_publicbooleanNofalsetrue 시 결과물을 영구 공개 URL로도 제공

예제

인상주의 초상화 세트

사진 한 장으로 같은 인물의 인상주의 회화풍 초상화 4장 생성

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bytedance/pulid",
  "input": {
    "main_face_image": "https://example.com/face.webp",
    "prompt": "portrait, impressionist painting, loose brushwork, vibrant color, light and shadow play",
    "num_samples": 4,
    "identity_scale": 0.8,
    "generation_mode": "fidelity"
  }
}'

두 얼굴 정체성 혼합

두 사람의 얼굴 사진을 하나의 새 캐릭터로 혼합

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bytedance/pulid",
  "input": {
    "main_face_image": "https://example.com/face-a.jpg",
    "auxiliary_face_image1": "https://example.com/face-b.jpg",
    "mix_identities": true,
    "prompt": "portrait, color, cinematic, soft light, detailed face",
    "num_samples": 2
  }
}'

팁 & 모범 사례

1num_samples 기본값은 4장(8크레딧)입니다 — 테스트는 1장(2크레딧)으로 시작하세요
2얼굴이 달라지면 identity_scale을 1.2-2로 올리고, 결과가 경직되면 낮추세요
3회화 같은 강한 스타일화는 'extremely style', 사실적 유사도는 'fidelity' 모드를 사용하세요
4mix_identities 사용 시 두 번째 얼굴은 auxiliary_face_image1에 넣고, 두 사진 모두 정면 사진이 좋습니다
5실존 인물 사진은 반드시 본인 동의 하에만 사용하세요

사용 사례

저비용 대량 아바타·프로필 사진 생성
회화·시네마틱·일러스트 등 스타일 인물 사진
정체성을 유지한 빠른 컨셉 탐색
두 얼굴을 혼합한 가상 캐릭터 디자인
게임·커뮤니티용 페르소나 이미지 배치 생성