Ideogram 4.5 API 레퍼런스
1K 또는 2K 포스터와 라벨에 읽기 쉬운 글자, 참고 이미지를 활용한 마스크 편집도 지원
PopNow API 키 하나로 내 코드에서 Ideogram 4.5을(를) 호출할 수 있습니다. 보낼 모델 ID, 이 모델이 받는 모든 입력 필드, 요청 한 번에 드는 비용(USD), 터미널에 붙여 넣으면 바로 실행되는 요청을 정리했습니다.
파라미터 설명은 모델의 입력 schema에서 가져오므로 영어로만 제공됩니다.
한눈에 보기
- 제작사
- Ideogram
- 결과물
- 이미지
- 최저가
- $0.011 USD 이미지 1장당
요금은 USD로 표시되며 PopNow 잔액에서 차감됩니다. 작업 접수 시 최대 요금을 예약하고 완료 후 실제 사용량으로 정산하며 나머지는 반환합니다. 실패한 작업에는 과금하지 않습니다. 실행 전 정확한 견적은 POST /api/v1/jobs/quote로 확인하세요.
이미지 만들기
ideogram/4.5/text-to-image
요금
| 옵션 | USD |
|---|---|
low | $0.034 이미지 1장당 |
medium | $0.068 이미지 1장당 |
high | $0.247 이미지 1장당 |
파라미터
| 필드 | 타입 | 기본값 | 허용 값 | 설명 |
|---|---|---|---|---|
prompt필수 | string | — | 최대 10,000자 | Describe the image. Put any words that must appear on it in quotes. |
aspect_ratio선택 | string | 1:1 | 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16 | Frame shape of the image. |
quality선택 | string | medium | low, medium, high | Render quality. Higher quality costs more; very_low is for edits only. |
resolution선택 | string | 1k | 1k, 2k | Output size: 1k is about 1 megapixel, 2k about 4. Both cost the same. |
enable_prompt_expansion선택 | boolean | false | — | Let the model expand a short prompt into a fuller description before drawing. |
요청 예제
이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.
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": "ideogram/4.5/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",
"quality": "medium"
}
}'응답에는 taskId가 바로 들어 있습니다. 결과는 GET /api/v1/jobs/recordInfo로 가져오거나, callBackUrl을 넣어 알림을 받으세요.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"이미지 편집
ideogram/4.5/edit
요금
| 옵션 | USD |
|---|---|
very_low | $0.011 이미지 1장당 |
low | $0.034 이미지 1장당 |
medium | $0.068 이미지 1장당 |
high | $0.247 이미지 1장당 |
파라미터
| 필드 | 타입 | 기본값 | 허용 값 | 설명 |
|---|---|---|---|---|
prompt필수 | string | — | 최대 10,000자 | Say what to change. Put any words that must appear in quotes. Refer to guide images as Image 1, Image 2 and so on. |
image_url필수 | string (uri) | — | — | The image to edit: JPEG, PNG or WebP. |
mask_url선택 | string (uri) | — | — | Optional black-and-white mask: white marks the area to change. |
reference_image_urls선택 | array<string (uri)> | — | 최대 4개 | Up to four style or content guides (three when a mask is set). |
aspect_ratio선택 | string | — | 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16 | Frame shape of the result. Leave it unset to keep the source shape. |
quality선택 | string | medium | very_low, low, medium, high | Render quality. Higher quality costs more; very_low is for edits only. |
resolution선택 | string | 1k | 1k, 2k | Output size: 1k is about 1 megapixel, 2k about 4. Both cost the same. |
edit_precision선택 | string | regular | regular, high | high keeps changes tighter to what you asked for. |
요청 예제
이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.
예제의 image_url에는 PopNow 샘플 파일이 들어 있습니다. 직접 가진 공개 HTTPS 링크, 업로드한 파일, 저장한 에셋으로 바꿔 쓰세요.
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": "ideogram/4.5/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_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"quality": "medium"
}
}'응답에는 taskId가 바로 들어 있습니다. 결과는 GET /api/v1/jobs/recordInfo로 가져오거나, callBackUrl을 넣어 알림을 받으세요.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
