ImagesFactory

API Developer Guide

Automate banner creation and resizing with the ImagesFactory API. Call programmatically from servers, scripts, and CI/CD pipelines.

Authentication

All API requests must include an Authorization header.

Header Format

Authorization: Bearer <token>:<secret>

Get your API Key: Get your API Key from My Page > API Keys. The Secret is only shown once at creation — save it securely.

curl -X POST https://www.imagefactory.co.kr/api/product-banner/generate \
  -H "Authorization: Bearer imf_xxx:your_secret" \
  -H "Content-Type: application/json" \
  -d '{"productImageUrl": "...", "headline": "...", ...}'

API Endpoints

Error Handling

HTTP StatusError CodeDescription
401AUTH_REQUIREDAuthorization header missing
401INVALID_TOKENInvalid API Key
400INSUFFICIENT_POINTSInsufficient points
400PROMPT_TOO_SHORTPrompt too short (min 3 chars)
500-Server error
{
  "success": false,
  "errorCode": "INSUFFICIENT_POINTS",
  "error": "포인트가 부족합니다. 필요: 100pt, 현재: 50pt"
}

Pricing

APIPoints
Product Banner100P per image
Extreme Ratio Banner100P per image
Banner Resize100P per size
Background Image10P
Content Recommendation5P
Main Image10P

Same points as the web UI are deducted. Charge points