Ideogram Character API 레퍼런스
인물 사진 한 장으로 새 장면과 마스크 편집에서도 같은 얼굴과 헤어 유지
PopNow API 키 하나로 내 코드에서 Ideogram Character을(를) 호출할 수 있습니다. 보낼 모델 ID, 이 모델이 받는 모든 입력 필드, 요청 한 번에 드는 비용(USD), 터미널에 붙여 넣으면 바로 실행되는 요청을 정리했습니다.
파라미터 설명은 모델의 입력 schema에서 가져오므로 영어로만 제공됩니다.
한눈에 보기
- 제작사
- Ideogram
- 결과물
- 이미지
- 최저가
- $0.08 USD 이미지 1장당
- 평균 소요 시간
- 약 16초
요금은 USD로 표시되며 PopNow 잔액에서 차감됩니다. 작업 접수 시 최대 요금을 예약하고 완료 후 실제 사용량으로 정산하며 나머지는 반환합니다. 실패한 작업에는 과금하지 않습니다. 실행 전 정확한 견적은 POST /api/v1/jobs/quote로 확인하세요.
이미지 만들기
ideogram/character/text-to-image
요금
| 옵션 | USD |
|---|---|
turbo | $0.08 이미지 1장당 |
balanced | $0.12 이미지 1장당 |
quality | $0.16 이미지 1장당 |
파라미터
| 필드 | 타입 | 기본값 | 허용 값 | 설명 |
|---|---|---|---|---|
prompt필수 | string | — | 최대 5,000자 | Describe the new scene for the person in the reference photo: setting, outfit, pose, light and camera. |
reference_image_urls필수 | array<string (uri)> | — | 최대 1개 | Exactly one clear photo of the person to keep consistent: face visible, nothing covering it. JPEG, PNG or WebP, up to 10 MB. |
quality선택 | string | balanced | turbo, balanced, quality | Rendering speed tier. turbo is fastest and cheapest, quality is slowest with the most detail. Priced per image. |
style선택 | string | auto | auto, realistic, fiction | Look of the result: auto lets the model decide, realistic aims for photography, fiction for illustration and stylised art. |
num_outputs선택 | integer | 1 | 1~4 | How many images to make in one request, 1 to 4. Each image is billed. |
enable_prompt_expansion선택 | boolean | true | — | Let Ideogram's MagicPrompt rewrite a short prompt into a fuller description before rendering. On by default. |
negative_prompt선택 | string | — | 최대 5,000자 | Things to keep out of the image, as a short list. The main prompt wins where they conflict. |
seed선택 | integer | — | 0~2147483647 | Optional random seed. Reusing it keeps the same starting noise so one change at a time is easier to compare; results are not guaranteed to match exactly. |
요청 예제
이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.
예제의 reference_image_urls에는 PopNow 샘플 파일이 들어 있습니다. 직접 가진 공개 HTTPS 링크, 업로드한 파일, 저장한 에셋으로 바꿔 쓰세요.
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": "ideogram/character/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",
"reference_image_urls": [
"https://media.popnow.ai/influencer/examples/ava.webp"
],
"num_outputs": 1,
"quality": "balanced"
}
}'응답에는 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/character/edit
요금
| 옵션 | USD |
|---|---|
turbo | $0.08 이미지 1장당 |
balanced | $0.12 이미지 1장당 |
quality | $0.16 이미지 1장당 |
파라미터
| 필드 | 타입 | 기본값 | 허용 값 | 설명 |
|---|---|---|---|---|
prompt필수 | string | — | 최대 5,000자 | Describe what fills the black area of the mask: the person, their expression, clothing and light. The rest of the picture is kept. |
image_url필수 | string (uri) | — | — | The picture to work on. JPEG, PNG or WebP, up to 10 MB. |
reference_image_urls필수 | array<string (uri)> | — | 최대 1개 | Exactly one clear photo of the person to keep consistent: face visible, nothing covering it. JPEG, PNG or WebP, up to 10 MB. |
mask_url필수 | string (uri) | — | — | Mask with the same proportions as image_url. Black marks the area to repaint with the character; white is kept unchanged. |
quality선택 | string | balanced | turbo, balanced, quality | Rendering speed tier. turbo is fastest and cheapest, quality is slowest with the most detail. Priced per image. |
style선택 | string | auto | auto, realistic, fiction | Look of the result: auto lets the model decide, realistic aims for photography, fiction for illustration and stylised art. |
num_outputs선택 | integer | 1 | 1~4 | How many images to make in one request, 1 to 4. Each image is billed. |
enable_prompt_expansion선택 | boolean | true | — | Let Ideogram's MagicPrompt rewrite a short prompt into a fuller description before rendering. On by default. |
seed선택 | integer | — | 0~2147483647 | Optional random seed. Reusing it keeps the same starting noise so one change at a time is easier to compare; results are not guaranteed to match exactly. |
요청 예제
이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.
예제의 image_url, mask_url, reference_image_urls에는 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/character/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",
"mask_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"reference_image_urls": [
"https://media.popnow.ai/influencer/examples/ava.webp"
],
"num_outputs": 1,
"quality": "balanced"
}
}'응답에는 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"
