Skip to main content
OpenAI보통울트라

GPT Image 2

강력한 지시 이해력, 선명한 텍스트 렌더링, 정밀한 편집을 갖춘 OpenAI의 최첨단 이미지 생성/편집 모델입니다. 품질 기반 가격으로 비용-품질 트레이드오프를 선택할 수 있습니다.

480 크레딧
이미지당 (high/auto); medium 176, low 45 크레딧
뛰어난 프롬프트/지시 이해력
선명한 타이포그래피 및 텍스트 렌더링
input_images로 합성/편집 지원
품질 단계: low / medium / high / auto
투명/불투명 배경 제어

지금 바로 실행해보세요

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

로그인 후 사용해보기

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

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

llms.txt

빠른 시작

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "openai/gpt-image-2",
  "input": {
    "prompt": "A photorealistic close-up portrait of an elderly Japanese ceramicist with deep wrinkles and a warm smile, carefully inspecting a freshly glazed tea bowl in his rustic sun-drenched workshop.",
    "aspect_ratio": "3:2",
    "quality": "high",
    "output_format": "webp"
  }
}'

파라미터

파라미터타입필수기본값설명
promptstringYes-생성할 이미지에 대한 텍스트 설명
input_imagesarrayNo-편집/합성용 입력 이미지 URL 배열
aspect_ratiostringNo1:1출력 비율
1:13:22:3
qualitystringNoauto품질 단계 — 단계가 높을수록 더 선명하지만 느리고 비쌉니다
lowmediumhighauto
backgroundstringNoauto배경 모드 (투명 배경은 미지원)
autoopaque
output_formatstringNowebp출력 이미지 포맷
webppngjpeg
output_compressionintegerNo90webp/jpeg 출력 압축 수준 (0-100)
moderationstringNoauto콘텐츠 모더레이션 수준
autolow
number_of_imagesintegerNo11로 제한 — 배치는 여러 번 호출하세요

파일 입력 방법

이 모델의 input_images 파라미터에 파일을 전달하는 방법은 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=openai/gpt-image-2" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:input_images=@your_file.png"

이미지 URL 전달

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

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

공통 파라미터

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

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

예제

포토리얼 인물 사진

풍부한 디테일을 갖춘 고품질 인물 사진 생성

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "openai/gpt-image-2",
  "input": {
    "prompt": "A photorealistic close-up portrait of an elderly Japanese ceramicist with deep wrinkles and a warm smile, carefully inspecting a freshly glazed tea bowl in his rustic sun-drenched workshop.",
    "aspect_ratio": "3:2",
    "quality": "high",
    "output_format": "webp"
  }
}'

팁 & 모범 사례

1초안은 quality=low로 저렴하게 반복한 뒤 만족 시 high로 재렌더하세요
2기존 비주얼을 합성/편집하려면 input_images를 제공하세요
3텍스트가 들어간 이미지에 특히 강합니다
4시네마틱이나 세로 인물에는 3:2 / 2:3을 사용하세요

사용 사례

가독성 있는 카피가 포함된 마케팅 비주얼
포토리얼 인물 및 제품 사진
멀티 이미지 합성 및 편집
텍스트 요소가 강조된 컨셉 아트