간결한 RESTful 통합
2개 엔드포인트, Bearer 토큰 인증, JSON 입출력. cURL, JavaScript, Python으로 몇 분 만에 시작. SDK 불필요.
하나의 모델, 균일 $0.05/요청. 텍스트→이미지와 이미지→이미지 가격 동일.
text-to-image텍스트 설명으로 이미지를 생성합니다. 원하는 내용을 설명하면 AI가 생성합니다.
image-to-image텍스트 지시로 기존 이미지를 편집합니다. 사진을 업로드하고 변경 사항을 설명하세요.
1:116:99:16사용자 정의 크기1K2K310 MBJPEG, PNG, WebP2,000 chars{ "aspect_ratio": "1:1" // 1:1, 16:9, 9:16 "resolution": "2K" // 1K, 2K "width": 1024 // custom width "height": 1024 // custom height "sub_scene": "watermark_removal" }
AI 이미지 편집을 제품에 통합하는 데 필요한 모든 것. 간결한 API와 투명한 가격.
2개 엔드포인트, Bearer 토큰 인증, JSON 입출력. cURL, JavaScript, Python으로 몇 분 만에 시작. SDK 불필요.
투명한 종량제 과금. 월 최소 요금 없음, 숨겨진 비용 없음. 프로토타입에서 프로덕션까지 원활하게 확장.
편집 작업을 제출하고 결과를 폴링. 평균 응답 10초 이내. 자동 재시도 기능 내장, 프로덕션 환경용 설계.
API 키 인증, 속도 제한, CORS 보호, 요청 검증. 데이터는 안전하게 처리되며 저장되지 않습니다.
배경 제거, 스타일 변환, 가상 피팅, 사진 복원, 객체 제거, 인물 보정 등 — 모두 하나의 API 엔드포인트에서.
편집 작업을 제출하고 결과를 폴링하세요. 그게 전부입니다.
FireRed Image Edit 모델을 사용하여 AI 이미지 편집 작업을 생성합니다.
| Parameter | Type | Required | Description |
|---|---|---|---|
| mediaType | string | optional | 미디어 유형 (기본값: image) |
| model | string | optional | 모델명 (기본값: firered-image-edit) |
| prompt | string | required | 편집 지시 (예: remove the background, change hair color) |
| scene | string | required | 씬 유형: image-to-image 또는 text-to-image |
| options | object | optional | 추가 옵션: resolution, aspect_ratio 등 |
mediaTypestring미디어 유형 (기본값: image)
modelstring모델명 (기본값: firered-image-edit)
promptstringrequired편집 지시 (예: remove the background, change hair color)
scenestringrequired씬 유형: image-to-image 또는 text-to-image
optionsobject추가 옵션: resolution, aspect_ratio 등
성공 응답
{ "code": 0, "data": { "taskId": "..." } }복사하여 바로 사용할 수 있는 코드 예제. API 키만 교체하면 바로 실행됩니다.
| 1 | curl -X POST https://firered-image.com/api/v1/generate \ |
| 2 | -H "Authorization: Bearer sk-xxxxx" \ |
| 3 | -H "Content-Type: application/json" \ |
| 4 | -d '{ |
| 5 | "mediaType": "image", |
| 6 | "model": "firered-image-edit", |
| 7 | "prompt": "remove the background and replace with a sunset beach", |
| 8 | "scene": "image-to-image", |
| 9 | "options": { "aspect_ratio": "1:1", "resolution": "2K" } |
| 10 | }' |
| 11 | |
| 12 | # Poll result |
| 13 | curl https://firered-image.com/api/v1/task/{taskId}?refresh=1 \ |
| 14 | -H "Authorization: Bearer sk-xxxxx" |
API 키를 생성하고 빌드를 시작하세요. 대량 요금제나 문의 사항이 있으시면 연락해 주세요.
사용 사례를 알려주시면 API 접근을 설정해 드리겠습니다.