PopNowAPI 문서
본문

GPT Image 2.6 Flare API 레퍼런스

OpenAI의 빠른 모델, 초안·편집·반복 GIF에 적합

PopNow API 키 하나로 내 코드에서 GPT Image 2.6 Flare을(를) 호출할 수 있습니다. 보낼 모델 ID, 이 모델이 받는 모든 입력 필드, 요청 한 번에 드는 비용(USD), 터미널에 붙여 넣으면 바로 실행되는 요청을 정리했습니다.

파라미터 설명은 모델의 입력 schema에서 가져오므로 영어로만 제공됩니다.

한눈에 보기

제작사
OpenAI
결과물
이미지
최저가
$0.02232 USD 이미지 1장당
평균 소요 시간
약 29초

요금은 USD로 표시되며 PopNow 잔액에서 차감됩니다. 작업 접수 시 최대 요금을 예약하고 완료 후 실제 사용량으로 정산하며 나머지는 반환합니다. 실패한 작업에는 과금하지 않습니다. 실행 전 정확한 견적은 POST /api/v1/jobs/quote로 확인하세요.

이미지 만들기

openai/gpt-image-2.6-flare/text-to-image

요금

옵션USD
quality = low, resolution = 1k$0.02232 이미지 1장당
quality = low, resolution = 512$0.027 이미지 1장당
quality = medium, resolution = 1k$0.03915 이미지 1장당
quality = low, resolution = 2k$0.04131 이미지 1장당
quality = low, resolution = 768$0.04392 이미지 1장당
quality = high, resolution = 1k$0.04743 이미지 1장당
quality = medium, resolution = 512$0.04752 이미지 1장당
quality = high, resolution = 512$0.05742 이미지 1장당
quality = medium, resolution = 2k$0.07299 이미지 1장당
quality = low, resolution = 4k$0.07479 이미지 1장당
quality = medium, resolution = 768$0.07776 이미지 1장당
quality = xhigh, resolution = 1k$0.08433 이미지 1장당
quality = high, resolution = 2k$0.08847 이미지 1장당
quality = high, resolution = 768$0.09432 이미지 1장당
quality = xhigh, resolution = 512$0.10206 이미지 1장당
quality = medium, resolution = 4k$0.13221 이미지 1장당
quality = xhigh, resolution = 2k$0.15723 이미지 1장당
quality = high, resolution = 4k$0.16011 이미지 1장당
quality = xhigh, resolution = 768$0.1674 이미지 1장당
quality = max, resolution = 1k$0.18972 이미지 1장당
quality = max, resolution = 512$0.22941 이미지 1장당
quality = xhigh, resolution = 4k$0.28512 이미지 1장당
quality = max, resolution = 2k$0.35379 이미지 1장당
quality = max, resolution = 768$0.37638 이미지 1장당
quality = max, resolution = 4k$0.64044 이미지 1장당

요청마다 실제로 사용한 토큰으로 과금해요. 텍스트 입력은 100만 토큰당 $4.5, 이미지 입력은 $7.2, 이미지 출력은 $27이에요. 표는 단계별 정사각형 이미지 가격이며, 다른 비율은 보통 더 저렴해요. 여러 장을 출력하면 입력 토큰은 장수만큼 계산돼요.

파라미터

필드타입기본값허용 값설명
prompt필수string—최대 5,000자Describe the picture: subject, setting, light and any short text to render in quotes.
aspect_ratio선택string1:11:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21, 2:1, 1:2, 3:1, 1:3, 5:4, … (+1)Output aspect ratio.
resolution선택string1k1k, 2k, 4k, 512, 768Output size tier: 1k is about 1 megapixel, 2k about 3.7, 4k about 8.3. For GIF output use 512 or 768, the size of one frame.
quality선택stringmediumlow, medium, high, xhigh, maxRendering quality. Higher tiers add detail, time and cost.
reasoning_effort선택string—low, medium, highHow much the model plans the picture before drawing. Higher helps dense text and complex layouts and takes longer; the price does not change. Leave it unset for the model default (high).
num_outputs선택integer11~10How many images to return, each billed separately.
background선택stringautoauto, transparent, opaqueBackground treatment. Transparent needs PNG or WebP output.
output_format선택stringpngpng, jpeg, webp, gifFile format of the returned images. gif returns an animated loop; describe the motion in the prompt.
frame_count선택integer—2~16Number of frames in a GIF, 2 to 16 (default 9). Every 8 frames are billed as one more frame sheet. Only with gif output.
frame_duration_ms선택integer—20~2000How long each GIF frame stays on screen, 20 to 2000 milliseconds (default 200). Only with gif output.
output_quality선택integer—0~100Compression quality for JPEG and WebP output, from 0 to 100.

요청 예제

이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.

POST /api/v1/jobs/createTask?wait=60
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask?wait=60" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "openai/gpt-image-2.6-flare/text-to-image",
  "input": {
    "prompt": "A cozy reading nook beside a rain-streaked window, warm lamp light, a sleeping orange cat on a knitted blanket, soft film grain",
    "num_outputs": 1,
    "quality": "medium",
    "resolution": "1k"
  }
}'

응답에는 taskId가 바로 들어 있습니다. 결과는 GET /api/v1/jobs/recordInfo로 가져오거나, callBackUrl을 넣어 알림을 받으세요.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

이미지 편집

openai/gpt-image-2.6-flare/edit

요금

옵션USD
quality = low, resolution = 1k$0.02232 이미지 1장당
quality = medium, resolution = 1k$0.03915 이미지 1장당
quality = low, resolution = 2k$0.04131 이미지 1장당
quality = high, resolution = 1k$0.04743 이미지 1장당
quality = medium, resolution = 2k$0.07299 이미지 1장당
quality = low, resolution = 4k$0.07479 이미지 1장당
quality = xhigh, resolution = 1k$0.08433 이미지 1장당
quality = high, resolution = 2k$0.08847 이미지 1장당
quality = medium, resolution = 4k$0.13221 이미지 1장당
quality = xhigh, resolution = 2k$0.15723 이미지 1장당
quality = high, resolution = 4k$0.16011 이미지 1장당
quality = max, resolution = 1k$0.18972 이미지 1장당
quality = xhigh, resolution = 4k$0.28512 이미지 1장당
quality = max, resolution = 2k$0.35379 이미지 1장당
quality = max, resolution = 4k$0.64044 이미지 1장당

요청마다 실제로 사용한 토큰으로 과금해요. 텍스트 입력은 100만 토큰당 $4.5, 이미지 입력은 $7.2, 이미지 출력은 $27이에요. 표는 단계별 정사각형 이미지 가격이며, 다른 비율은 보통 더 저렴해요. 여러 장을 출력하면 입력 토큰은 장수만큼 계산돼요.

파라미터

필드타입기본값허용 값설명
prompt필수string—최대 5,000자Say what to change and what must stay the same. Refer to the images as Image 1, Image 2 and so on.
image_urls필수array<string (uri)>—최대 16개One to 16 source images, in the order your prompt refers to them. Each one adds a small charge.
mask_url선택string (uri)——Optional PNG mask: transparent pixels mark the area to repaint in the first image, same size as that image. Cannot be combined with markup_url.
markup_url선택string (uri)——Optional transparent PNG with circles, sketches or notes drawn over the first image to show what to change, same size as that image. Cannot be combined with mask_url.
aspect_ratio선택string—1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21, 2:1, 1:2, 3:1, 1:3, 5:4, … (+1)Output aspect ratio. Leave it unset to keep the first image's shape (1k only); pick a ratio for 2k or 4k.
resolution선택string1k1k, 2k, 4kOutput size tier: 1k is about 1 megapixel, 2k about 3.7, 4k about 8.3.
quality선택stringmediumlow, medium, high, xhigh, maxRendering quality. Higher tiers add detail, time and cost.
reasoning_effort선택string—low, medium, highHow much the model plans the picture before drawing. Higher helps dense text and complex layouts and takes longer; the price does not change. Leave it unset for the model default (high).
num_outputs선택integer11~10How many images to return, each billed separately.
background선택stringautoauto, transparent, opaqueBackground treatment. Transparent needs PNG or WebP output.
output_format선택stringpngpng, jpeg, webpFile format of the returned images.
output_quality선택integer—0~100Compression quality for JPEG and WebP output, from 0 to 100.

요청 예제

이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.

예제의 image_urls에는 PopNow 샘플 파일이 들어 있습니다. 직접 가진 공개 HTTPS 링크, 업로드한 파일, 저장한 에셋으로 바꿔 쓰세요.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "openai/gpt-image-2.6-flare/edit",
  "input": {
    "prompt": "Change the orange jacket to deep forest green and add soft golden-hour light; keep the face, pose and background unchanged",
    "image_urls": [
      "https://media.popnow.ai/influencer/examples/marco.webp"
    ],
    "num_outputs": 1,
    "quality": "medium",
    "resolution": "1k"
  }
}'

응답에는 taskId가 바로 들어 있습니다. 결과는 GET /api/v1/jobs/recordInfo로 가져오거나, callBackUrl을 넣어 알림을 받으세요.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

다음 단계

이 페이지에서