cURL
AI Detection 주문 생성
AI Detection 주문을 생성하고 이미지 업로드를 위한 S3 프리사인드 URL을 발급합니다.
처리 흐름
- 이 엔드포인트를 호출하여 프리사인드 업로드 URL을 발급받습니다
- 발급된 프리사인드 URL로 이미지를 S3에 직접 업로드합니다
POST /api/v2/orders/ai-detection/{orderId}/confirm을 호출하여 비동기 감지를 시작합니다- 웹훅 또는 주문 상세 조회 엔드포인트를 통해 결과를 확인합니다
주문 상태
| 상태 | 설명 |
|---|---|
pending | 파일 업로드 대기 중 |
inProgress | 감지 처리 중 |
complete | 감지 완료, 결과 확인 가능 |
failed | 감지 실패 |
지원 파일 형식
jpg, jpeg, png, webp, bmp, tiff
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://docs.bizmori.com/llms.txt
Use this file to discover all available pages before exploring further.
이미지 업로드 방법
응답에서 받은uploadUrl을 사용하여 PUT 요청으로 S3에 직접 이미지를 업로드합니다:
프리사인드 업로드 URL은 10분 후 만료됩니다. 만료 전에 이미지를 업로드하고 주문 확인 엔드포인트를 호출하세요.
감지 결과 확인
업로드를 확인하면 주문 상태가inProgress로 변경됩니다. 감지가 완료되면 다음 방법으로 결과를 확인할 수 있습니다:
- 웹훅 —
order.aiDetection.completed또는order.aiDetection.failed이벤트 구독 - 폴링 — 주문 상세 조회 엔드포인트를 상태가
complete또는failed가 될 때까지 호출
aiDetection 필드에 포함됩니다:
상태 코드
statusCode | 의미 |
|---|---|
1 | AI 생성 가능성 매우 높음 |
2 | AI 생성 가능성 높음 |
3 | 사람이 창작했을 가능성 높음 |
4 | 사람이 창작했을 가능성 매우 높음 |
Authorizations
API Key for external client access
Body
application/json
Idempotency key to prevent duplicate requests
Example:
"key-ai-detection-001"
Image file name with extension. Supported: jpg, jpeg, png, webp, bmp, tiff
Example:
"photo.jpg"
Order name (optional, auto-generated if not provided)
Maximum string length:
64Example:
"my-detection-order"
Output options (optional). Generated files are included in the order detail response.
Response
Order created successfully