Skip to main content
Pruna AI빠름표준

Pruna P-Image

Pruna AI가 경량화(distilled)한 text-to-image 모델로, 매우 낮은 비용과 높은 처리량에 최적화되어 있습니다. 빠른 속도와 저렴한 가격 덕분에 Replicate에서 가장 많이 실행된 커뮤니티 모델 중 하나입니다(1,560만+ 실행).

12 크레딧
이미지 1장당
매우 낮은 비용과 높은 처리량에 맞춰 조정된 경량화(distilled) 아키텍처
Replicate에서 가장 많이 실행된 커뮤니티 모델 중 하나(1,560만+ 실행)
aspect_ratio=custom 모드로 너비/높이를 직접 지정 가능(16의 배수, 최대 1440px)
LLM 기반 프롬프트 업샘플링으로 더 풍부한 프롬프트 생성 지원
HuggingFace URL 기반 LoRA 가중치 로드로 스타일 커스터마이징
재현 가능한 생성을 위한 시드 값 지정

지금 바로 실행해보세요

콘솔의 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": "prunaai/p-image",
  "input": {
    "prompt": "A minimalist logo concept for a coffee roastery, flat vector style, warm tones",
    "aspect_ratio": "16:9"
  }
}'

파라미터

파라미터타입필수기본값설명
promptstringYes-이미지 생성을 위한 텍스트 프롬프트입니다.
aspect_ratiostringNo16:9생성된 이미지의 종횡비입니다.
1:116:99:164:33:43:22:3custom
widthintegerNo-생성된 이미지의 너비입니다. aspect_ratio=custom일 때만 사용되며 16의 배수여야 합니다.
heightintegerNo-생성된 이미지의 높이입니다. aspect_ratio=custom일 때만 사용되며 16의 배수여야 합니다.
prompt_upsamplingbooleanNofalseLLM을 사용해 프롬프트를 보강(업샘플링)합니다.
seedintegerNo-랜덤 시드입니다. 동일한 결과를 재현하려면 값을 지정하세요.
disable_safety_checkerbooleanNofalse생성된 이미지에 대한 안전성 검사기를 비활성화합니다.
lora_weightsstringNo-LoRA 가중치를 로드합니다. huggingface.co/<owner>/<model-name>[/<lora-weights-file.safetensors>] 형식의 HuggingFace URL을 지원합니다. 접근에 인증이 필요한 HuggingFace LoRA는 `hf_api_token`으로 토큰을 제공해야 할 수 있습니다.
lora_scalenumberNo0.5메인 LoRA를 얼마나 강하게 적용할지 결정합니다. 대부분의 LoRA에는 0.5가 무난하게 작동합니다.
hf_api_tokenstringNo-HuggingFace API 토큰입니다. 인증이 필요한 HuggingFace LoRA를 사용하는 경우 API 토큰을 제공해야 합니다.

공통 파라미터

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

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

예제

빠른 컨셉 변형

기본 16:9 종횡비로 만든 저비용·고속 초안입니다.

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "prunaai/p-image",
  "input": {
    "prompt": "A minimalist logo concept for a coffee roastery, flat vector style, warm tones",
    "aspect_ratio": "16:9"
  }
}'

커스텀 픽셀 크기

aspect_ratio=custom을 사용해 정확한 가로/세로 픽셀 크기로 생성합니다.

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "prunaai/p-image",
  "input": {
    "prompt": "A product photo of running shoes on a plain white background, studio lighting",
    "aspect_ratio": "custom",
    "width": 1024,
    "height": 768
  }
}'

팁 & 모범 사례

1정확한 픽셀 크기가 필요하면 aspect_ratio=custom과 width/height를 함께 사용하세요(16의 배수, 최대 1440)
2저비용·고처리량 모델이므로 하나의 완성작보다는 여러 변형을 빠르게 생성하는 용도에 더 적합합니다
3prompt_upsampling을 켜면 짧은 프롬프트를 LLM이 더 풍부하게 확장해 줍니다
4hf_api_token은 비공개/제한된 HuggingFace LoRA에만 필요합니다 — 공개 LoRA는 설정하지 않아도 됩니다

사용 사례

이미지당 비용이 최고 화질보다 중요한 대량 배치 생성
빠른 프로토타이핑과 창작 아이디어 반복 탐색
채팅 앱, 도구 등 다수 사용자가 온디맨드로 이미지를 생성하는 서비스
커뮤니티 LoRA 가중치를 활용한 커스텀 스타일 출력