워터마크 API — 파일 & 미디어 보호 | YEB

텍스트, 이미지, 패턴, QR/바코드 및 오디오 워터마크를 이미지, PDF, 동영상, 문서, 오디오, 3D 모델 및 전자책에 추가. 일괄 처리, 템플릿, AI 감지 및 제거 포함.

99.9 % 가동 시간
응답
15 req/s
0.1 크레딧 / 요청

Add Text Watermark


POST https://api.yeb.to/v1/watermark/add-text
매개변수유형필수설명
api_key string Your API key
file file File to watermark (image, PDF, video, doc, audio, 3D, eBook). Alt: file_url or file_base64
text string Watermark text (max 500 chars)
font_family string 선택 Font name (default: Arial)
font_size integer 선택 Font size 8–500 (default: 48)
color string 선택 Hex color (default: #ffffff)
opacity number 선택 Opacity 0–1 (default: 0.5)
position string 선택 top-left, top-center, top-right, center-left, center, center-right, bottom-left, bottom-center, bottom-right, custom (default: bottom-right)
rotation number 선택 Degrees −360 to 360 (default: 0)
shadow boolean 선택 Drop shadow (default: false)
outline boolean 선택 Text outline (default: false)
async boolean 선택 Queue for async processing
return_base64 boolean 선택 Include base64 in response

예시

curl -X POST https://api.yeb.to/v1/watermark/add-text \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "file_url": "https://example.com/photo.jpg",
  "text": "© 2026 My Company",
  "opacity": 0.5,
  "position": "bottom-right",
  "font_size": 36,
  "color": "#ffffff"
}'

응답 예시

{
  "job_id": 1234,
  "status": "completed",
  "url": "https://storage.yeb.to/watermark/output/abc123.jpg",
  "file_size": 245678,
  "credits_used": 0.10,
  "response_code": 200
}
{"error":"text is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Add Text Watermark

watermark/add-text 0.1000 credits

Parameters

API Key
body · string · required
File
body · string · required
Text
body · string · required
Font Family
body · string
Font Size
body · string
Color
body · string
Opacity
body · string
Position
body · string
Rotation
body · string
Shadow
body · string
Outline
body · string
Async
body · string
Return Base64
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Add Image Watermark


POST https://api.yeb.to/v1/watermark/add-image
매개변수유형필수설명
api_key string Your API key
file file File to watermark (image, PDF, video, doc, audio, 3D, eBook). Alt: file_url or file_base64
watermark_image file Logo/image file (multipart). Alt: watermark_image_url or watermark_image_base64
opacity number 선택 Opacity 0–1 (default: 0.5)
position string 선택 top-left, top-center, top-right, center-left, center, center-right, bottom-left, bottom-center, bottom-right, custom (default: bottom-right)
scale number 선택 Size multiplier 0.01–5 (default: 0.2)
rotation number 선택 Degrees −360 to 360 (default: 0)
async boolean 선택 Queue for async processing
return_base64 boolean 선택 Include base64 in response

예시

curl -X POST https://api.yeb.to/v1/watermark/add-image \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "file_url": "https://example.com/photo.jpg",
  "watermark_image_url": "https://example.com/logo.png",
  "opacity": 0.7,
  "position": "bottom-right",
  "scale": 0.2
}'

응답 예시

{
  "job_id": 1235,
  "status": "completed",
  "url": "https://storage.yeb.to/watermark/output/def456.jpg",
  "file_size": 312456,
  "credits_used": 0.10,
  "response_code": 200
}
{"error":"watermark image is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Add Image Watermark

watermark/add-image 0.1000 credits

Parameters

API Key
body · string · required
File
body · string · required
Watermark Image
body · string · required
Opacity
body · string
Position
body · string
Scale
body · string
Rotation
body · string
Async
body · string
Return Base64
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Add Pattern Watermark


POST https://api.yeb.to/v1/watermark/add-pattern
매개변수유형필수설명
api_key string Your API key
file file File to watermark (image, PDF, video, doc, audio, 3D, eBook). Alt: file_url or file_base64
text string Pattern text (max 200 chars)
font_size integer 선택 Font size 8–200 (default: 32)
color string 선택 Hex color (default: #808080)
opacity number 선택 Opacity 0–1 (default: 0.15)
rotation number 선택 Degrees −360 to 360 (default: −30)
spacing_x integer 선택 Horizontal spacing 50–2000 (default: 300)
spacing_y integer 선택 Vertical spacing 50–2000 (default: 200)
async boolean 선택 Queue for async processing
return_base64 boolean 선택 Include base64 in response

예시

curl -X POST https://api.yeb.to/v1/watermark/add-pattern \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "file_url": "https://example.com/photo.jpg",
  "text": "CONFIDENTIAL",
  "opacity": 0.15,
  "rotation": -30
}'

응답 예시

{
  "job_id": 1236,
  "status": "completed",
  "url": "https://storage.yeb.to/watermark/output/ghi789.jpg",
  "file_size": 289012,
  "credits_used": 0.15,
  "response_code": 200
}
{"error":"text is required for pattern watermark","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Add Pattern Watermark

watermark/add-pattern 0.1500 credits

Parameters

API Key
body · string · required
File
body · string · required
Text
body · string · required
Font Size
body · string
Color
body · string
Opacity
body · string
Rotation
body · string
Spacing X
body · string
Spacing Y
body · string
Async
body · string
Return Base64
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Add Code Watermark


POST https://api.yeb.to/v1/watermark/add-code
매개변수유형필수설명
api_key string Your API key
file file File to watermark (image, PDF, video, doc, audio, 3D, eBook). Alt: file_url or file_base64
payload string Data to encode (max 2000 chars)
code_format string Code type: qr, code128, code39, ean13, ean8, datamatrix
encryption_key string 선택 AES-256 encryption key for payload
code_color string 선택 Code hex color (default: #000000)
code_bg_color string 선택 Background hex color (default: #FFFFFF)
opacity number 선택 Opacity 0–1 (default: 0.8)
position string 선택 top-left, top-center, top-right, center-left, center, center-right, bottom-left, bottom-center, bottom-right, custom (default: bottom-right)
scale number 선택 Size multiplier 0.01–5 (default: 0.15)
async boolean 선택 Queue for async processing
return_base64 boolean 선택 Include base64 in response

예시

curl -X POST https://api.yeb.to/v1/watermark/add-code \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "file_url": "https://example.com/photo.jpg",
  "payload": "OWNER-2026-ID-12345",
  "code_format": "qr",
  "position": "bottom-right"
}'

응답 예시

{
  "job_id": 1237,
  "status": "completed",
  "url": "https://storage.yeb.to/watermark/output/jkl012.jpg",
  "file_size": 267890,
  "credits_used": 0.15,
  "response_code": 200
}
{"error":"payload is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Add Code Watermark

watermark/add-code 0.1500 credits

Parameters

API Key
body · string · required
File
body · string · required
Payload
body · string · required
Code Format
body · string · required
Encryption Key
body · string
Code Color
body · string
Background
body · string
Opacity
body · string
Position
body · string
Scale
body · string
Async
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Add Audio Watermark


POST https://api.yeb.to/v1/watermark/add-audio
매개변수유형필수설명
api_key string Your API key
file file Video or audio file. Alt: file_url, file_base64
audio_file file 선택 Watermark audio file. Alt: audio_url
audio_type string Type: voice_tag, tone, intro_outro, ultrasonic
volume number 선택 Volume 0–1 (default: 0.3)
position string 선택 Where to place: start, end, repeat, random
interval_seconds integer 선택 Repeat interval 5–3600 sec (default: 30)
frequency integer 선택 Hz for ultrasonic 100–22000 (default: 19000)
async boolean 선택 Queue for async processing

예시

curl -X POST https://api.yeb.to/v1/watermark/add-audio \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "file_url": "https://example.com/video.mp4",
  "audio_type": "ultrasonic",
  "frequency": 19000,
  "position": "repeat",
  "interval_seconds": 30
}'

응답 예시

{
  "job_id": 1238,
  "status": "queued",
  "message": "Audio watermark processing queued",
  "credits_used": 0.30,
  "response_code": 200
}
{"error":"audio_type is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Add Audio Watermark

watermark/add-audio 0.3000 credits

Parameters

API Key
body · string · required
File
body · string · required
Audio File
body · string
Audio Type
body · string · required
Volume
body · string
Position
body · string
Interval
body · string
Frequency
body · string
Async
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Preview Watermark


POST https://api.yeb.to/v1/watermark/preview
매개변수유형필수설명
api_key string Your API key
file file Image file only. Alt: file_url, file_base64
watermark_type string 선택 Type: text, image, pattern, code (default: text)
text string 선택 Watermark text (for text/pattern type)
opacity number 선택 Opacity 0–1
position string 선택 Watermark position

예시

curl -X POST https://api.yeb.to/v1/watermark/preview \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "file_url": "https://example.com/photo.jpg",
  "watermark_type": "text",
  "text": "PREVIEW",
  "opacity": 0.5
}'

응답 예시

{
  "preview_url": "https://storage.yeb.to/watermark/preview/xyz.jpg",
  "response_code": 200
}
{"error":"file is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Preview

watermark/preview 0.0000 credits

Parameters

API Key
body · string · required
File
body · string · required
Watermark Type
body · string
Text
body · string
Opacity
body · string
Position
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Batch Process


POST https://api.yeb.to/v1/watermark/batch
매개변수유형필수설명
api_key string Your API key
files array Array of files to watermark (max 100). Upload via multipart/form-data with multiple file fields
watermark_type string Type: text, image, pattern, code
text string 선택 Watermark text
opacity number 선택 Opacity 0–1
position string 선택 Watermark position

예시

curl -X POST https://api.yeb.to/v1/watermark/batch \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "watermark_type": "text",
  "text": "BATCH WATERMARK",
  "opacity": 0.5,
  "position": "center"
}'

응답 예시

{
  "batch_id": 42,
  "total_items": 5,
  "status": "processing",
  "credits_used": 0.40,
  "response_code": 200
}
{"error":"files field is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Batch Process

watermark/batch 0.0800 credits

Parameters

API Key
body · string · required
Files
body · string · required
Watermark Type
body · string · required
Text
body · string
Opacity
body · string
Position
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Batch Status


POST https://api.yeb.to/v1/watermark/batch-status
매개변수유형필수설명
api_key string Your API key
batch_id integer Batch ID to check

예시

curl -X POST https://api.yeb.to/v1/watermark/batch-status \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "batch_id": 42
}'

응답 예시

{
  "batch_id": 42,
  "status": "completed",
  "total_items": 5,
  "completed_items": 5,
  "failed_items": 0,
  "credits_used": 0.40,
  "items": [
    {
      "job_id": 101,
      "status": "completed",
      "url": "..."
    }
  ],
  "response_code": 200
}
{"error":"batch_id is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Batch Status

watermark/batch-status 0.0000 credits

Parameters

API Key
body · string · required
Batch ID
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Job Status


POST https://api.yeb.to/v1/watermark/status
매개변수유형필수설명
api_key string Your API key
job_id integer Job ID to check

예시

curl -X POST https://api.yeb.to/v1/watermark/status \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "job_id": 1234
}'

응답 예시

{
  "job_id": 1234,
  "status": "completed",
  "progress_percent": 100,
  "url": "https://storage.yeb.to/watermark/output/abc123.jpg",
  "file_size": 245678,
  "output_format": "jpg",
  "credits_used": 0.10,
  "response_code": 200
}
{"error":"job not found","code":404}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Job Status

watermark/status 0.0000 credits

Parameters

API Key
body · string · required
Job ID
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Download Result


POST https://api.yeb.to/v1/watermark/download
매개변수유형필수설명
api_key string Your API key
job_id integer Completed job ID
return_base64 boolean 선택 Include base64-encoded file in response

예시

curl -X POST https://api.yeb.to/v1/watermark/download \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "job_id": 1234
}'

응답 예시

{
  "url": "https://storage.yeb.to/watermark/output/abc123.jpg",
  "filename": "photo_watermarked.jpg",
  "file_size": 245678,
  "response_code": 200
}
{"error":"job is not completed yet","code":400}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Download

watermark/download 0.0000 credits

Parameters

API Key
body · string · required
Job ID
body · string · required
Return Base64
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

List Templates


POST https://api.yeb.to/v1/watermark/templates
매개변수유형필수설명
api_key string Your API key
category string 선택 Filter by category name

예시

curl -X POST https://api.yeb.to/v1/watermark/templates \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY"
}'

응답 예시

{
  "templates": [
    {
      "id": 1,
      "name": "Company Logo",
      "slug": "company-logo",
      "category": "custom",
      "watermark_type": "image",
      "config": {
        "opacity": 0.5,
        "position": "bottom-right"
      }
    }
  ],
  "response_code": 200
}
{"error":"unauthorized","code":401}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

List Templates

watermark/templates 0.0000 credits

Parameters

API Key
body · string · required
Category
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Save Template


POST https://api.yeb.to/v1/watermark/template-save
매개변수유형필수설명
api_key string Your API key
name string Template name (max 100)
watermark_type string Type: text, image, pattern, audio, invisible, code
config object Watermark configuration object
template_id integer 선택 Update existing template (omit to create new)
category string 선택 Category name (default: custom)

예시

curl -X POST https://api.yeb.to/v1/watermark/template-save \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "name": "My Text Template",
  "watermark_type": "text",
  "config": {
    "text": "\u00a9 My Company",
    "opacity": 0.5,
    "position": "bottom-right",
    "font_size": 36
  }
}'

응답 예시

{
  "template_id": 15,
  "message": "Template saved successfully",
  "response_code": 200
}
{"error":"name is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Save Template

watermark/template-save 0.0000 credits

Parameters

API Key
body · string · required
Name
body · string · required
Watermark Type
body · string · required
Config
body · string · required
Template ID
body · string
Category
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Delete Template


POST https://api.yeb.to/v1/watermark/template-delete
매개변수유형필수설명
api_key string Your API key
template_id integer Template ID to delete

예시

curl -X POST https://api.yeb.to/v1/watermark/template-delete \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "template_id": 15
}'

응답 예시

{
  "message": "Template deleted successfully",
  "response_code": 200
}
{"error":"template not found","code":404}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Delete Template

watermark/template-delete 0.0000 credits

Parameters

API Key
body · string · required
Template ID
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Detect Watermark


POST https://api.yeb.to/v1/watermark/detect
매개변수유형필수설명
api_key string Your API key
file file File to analyze (multipart upload). Alt: file_url or file_base64

예시

curl -X POST https://api.yeb.to/v1/watermark/detect \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "file_url": "https://example.com/watermarked-photo.jpg"
}'

응답 예시

{
  "has_watermark": true,
  "detections": [
    {
      "type": "text",
      "confidence": 0.92,
      "region": {
        "x": 50,
        "y": 450,
        "width": 200,
        "height": 30
      }
    }
  ],
  "response_code": 200
}
{"error":"file is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Detect Watermark

watermark/detect 0.5000 credits

Parameters

API Key
body · string · required
File
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Verify Watermark


POST https://api.yeb.to/v1/watermark/verify
매개변수유형필수설명
api_key string Your API key
file file File to verify (multipart upload). Alt: file_url or file_base64
tracking_id string Metadata watermark tracking ID to verify

예시

curl -X POST https://api.yeb.to/v1/watermark/verify \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "file_url": "https://example.com/photo.jpg",
  "tracking_id": "TRK-2026-001"
}'

응답 예시

{
  "verified": true,
  "tracking_id": "TRK-2026-001",
  "details": {
    "embedded_at": "2026-02-20T10:30:00Z",
    "type": "metadata"
  },
  "response_code": 200
}
{"error":"tracking_id is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Verify Watermark

watermark/verify 0.3000 credits

Parameters

API Key
body · string · required
File
body · string · required
Tracking ID
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Remove Watermark


POST https://api.yeb.to/v1/watermark/remove
매개변수유형필수설명
api_key string Your API key
file file File to process (multipart upload). Alt: file_url or file_base64
x integer 선택 X coordinate of region to remove
y integer 선택 Y coordinate of region to remove
width integer 선택 Width of region (default: 100)
height integer 선택 Height of region (default: 50)

예시

curl -X POST https://api.yeb.to/v1/watermark/remove \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "file_url": "https://example.com/watermarked-photo.jpg"
}'

응답 예시

{
  "job_id": 1240,
  "status": "completed",
  "url": "https://storage.yeb.to/watermark/output/cleaned.jpg",
  "file_size": 234567,
  "credits_used": 1.00,
  "response_code": 200
}
{"error":"file is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Remove Watermark

watermark/remove 1.0000 credits

Parameters

API Key
body · string · required
File
body · string · required
X
body · string
Y
body · string
Width
body · string
Height
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Decode Code Payload


POST https://api.yeb.to/v1/watermark/decode-code
매개변수유형필수설명
api_key string Your API key
scanned_text string Encrypted text from scanned QR/barcode
encryption_key string Decryption key used during watermarking

예시

curl -X POST https://api.yeb.to/v1/watermark/decode-code \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "scanned_text": "base64iv:encrypteddata...",
  "encryption_key": "my-secret-key"
}'

응답 예시

{
  "payload": "OWNER-2026-ID-12345",
  "response_code": 200
}
{"error":"decryption failed - invalid key","code":400}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Decode Code

watermark/decode-code 0.0500 credits

Parameters

API Key
body · string · required
Scanned Text
body · string · required
Encryption Key
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Read Code from Image


POST https://api.yeb.to/v1/watermark/read-code
매개변수유형필수설명
api_key string Your API key
file file Image with QR/code watermark (multipart upload)
encryption_key string 선택 Decryption key to decode encrypted payload

예시

curl -X POST https://api.yeb.to/v1/watermark/read-code \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY"
}'

응답 예시

{
  "scanned_text": "OWNER-2026-ID-12345",
  "encrypted": false,
  "response_code": 200
}
{"error":"No QR code found in this image","code":400}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Read Code from Image

watermark/read-code 0.0500 credits

Parameters

API Key
body · string · required
File
body · string · required
Encryption Key
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

List Brand Kits


POST https://api.yeb.to/v1/watermark/brand-kit-list
매개변수유형필수설명
api_key string Your API key

예시

curl -X POST https://api.yeb.to/v1/watermark/brand-kit-list \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY"
}'

응답 예시

{
  "brand_kits": [
    {
      "id": 1,
      "name": "Acme Corp",
      "logos": [],
      "fonts": ["Arial", "Helvetica"],
      "colors": ["#e11d48", "#ffffff"],
      "is_default": true
    }
  ],
  "response_code": 200
}
{"error":"unauthorized","code":401}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

List Brand Kits

watermark/brand-kit-list 0.0000 credits

Parameters

API Key
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Save Brand Kit


POST https://api.yeb.to/v1/watermark/brand-kit-save
매개변수유형필수설명
api_key string Your API key
name string Brand kit name (max 100)
logos array 선택 Array of logo definitions
fonts array 선택 Array of font names
colors array 선택 Array of hex color values
default_config object 선택 Default watermark config
is_default boolean 선택 Set as default brand kit
brand_kit_id integer 선택 Update existing (omit to create new)

예시

curl -X POST https://api.yeb.to/v1/watermark/brand-kit-save \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "name": "Acme Corp",
  "fonts": ["Arial", "Helvetica"],
  "colors": ["#e11d48", "#ffffff", "#1c1917"],
  "is_default": true
}'

응답 예시

{
  "brand_kit_id": 5,
  "message": "Brand kit saved successfully",
  "response_code": 200
}
{"error":"name is required","code":422}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Save Brand Kit

watermark/brand-kit-save 0.0000 credits

Parameters

API Key
body · string · required
Name
body · string · required
Logos
body · string
Fonts
body · string
Colors
body · string
Default Config
body · string
Is Default
body · string
Brand Kit ID
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Delete Brand Kit


POST https://api.yeb.to/v1/watermark/brand-kit-delete
매개변수유형필수설명
api_key string Your API key
brand_kit_id integer Brand kit ID to delete

예시

curl -X POST https://api.yeb.to/v1/watermark/brand-kit-delete \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "brand_kit_id": 5
}'

응답 예시

{
  "message": "Brand kit deleted successfully",
  "response_code": 200
}
{"error":"brand kit not found","code":404}

응답 코드

코드설명
200 Success요청 처리 완료.
400 Bad Request입력 유효성 검사 실패.
401 UnauthorizedAPI 키 누락 또는 오류.
403 Forbidden키 비활성 또는 허용되지 않음.
429 Rate Limit요청이 너무 많습니다.
500 Server Error예기치 않은 오류.

Delete Brand Kit

watermark/brand-kit-delete 0.0000 credits

Parameters

API Key
body · string · required
Brand Kit ID
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

워터마크 API — 파일 & 미디어 보호 | YEB — Practical Guide

A hands-on guide to the Watermark API: add text, image, pattern, QR/barcode, and audio watermarks to any file type. Batch processing, reusable templates, AI-powered detection & removal, and brand kit management.

#What the Watermark API does

The Watermark API provides 21 endpoints for adding, managing, detecting, and removing watermarks across 7 file types: images, PDFs, videos, audio, documents, 3D models, and eBooks.

#Endpoints at a glance

Endpoint What it does Credits
add-text Add a text watermark (font, size, color, opacity, rotation, shadow, outline) 0.1
add-image Overlay an image/logo watermark with scaling and positioning 0.1
add-pattern Tile repeating text across the entire file 0.15
add-code Embed a QR code or barcode (Code128, EAN-13, DataMatrix, etc.) 0.15
add-audio Add audio watermarks: voice tags, tones, intros/outros, ultrasonic 0.3
preview Preview watermark placement without processing (free) 0
batch Watermark up to 50 files in one request 0.08
batch-status Check batch processing progress 0
status Check individual job status 0
download Download the watermarked result 0
templates List saved watermark templates 0
template-save Save a reusable watermark configuration 0
template-delete Delete a saved template 0
detect AI-powered watermark detection in images 0.5
verify Verify a specific tracking ID in a file 0.3
remove AI-powered watermark removal from images 1
decode-code Decrypt an encrypted barcode/QR payload 0.05
read-code Scan and read a QR/barcode from an image 0.05
brand-kit-list List brand kits (logos, fonts, colors) 0
brand-kit-save Save or update a brand kit 0
brand-kit-delete Delete a brand kit 0

#Supported file formats

CategoryFormatsWatermark Types
ImagesJPEG, PNG, GIF, BMP, WebP, TIFFText, Image, Pattern, Code
PDFPDFText, Image, Pattern, Code
VideoMP4, AVI, MOV, MKV, WebMText, Image, Pattern, Code
AudioMP3, WAV, FLAC, OGG, AACAudio (voice tag, tone, intro/outro, ultrasonic)
DocumentsDOCX, XLSX, PPTXText, Image
3D ModelsOBJ, STL, GLTF, FBXText, Image
eBooksEPUB, MOBIText, Image

#Quick start

Add a text watermark to an image in one API call:

POST
curl -X POST https://api.yeb.to/v1/watermark/add-text \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_KEY",
    "file_url": "https://example.com/photo.jpg",
    "text": "© 2026 My Company",
    "opacity": 0.5,
    "position": "bottom-right",
    "font_size": 36,
    "color": "#ffffff"
  }'

The response includes the watermarked file URL immediately for small files, or a job_id for async processing of larger files:

{
  "job_id": 1234,
  "status": "completed",
  "url": "https://storage.yeb.to/watermark/output/abc123.jpg",
  "file_size": 245678,
  "credits_used": 0.10,
  "response_code": 200
}

#Watermark types explained

Text watermark

The add-text endpoint overlays customizable text. Control the font family, size (8–500px), color, opacity (0–1), position (9 presets + custom x/y), rotation (-360° to 360°), and optional shadow or outline effects.

Image watermark

The add-image endpoint overlays a logo or image. Upload via watermark_image, watermark_image_url, or watermark_image_base64. Control opacity, position, scale, and rotation.

Pattern watermark

The add-pattern endpoint tiles repeating text across the entire file — commonly used for “DRAFT” or “CONFIDENTIAL” overlays. Adjust font size, color, opacity, rotation, and horizontal/vertical spacing.

Code watermark (QR/barcode)

The add-code endpoint embeds a machine-readable code. Supported formats: QR, Code128, Code39, EAN-13, EAN-8, and DataMatrix. Optionally encrypt the payload with an encryption_key for tamper-proof verification.

Audio watermark

The add-audio endpoint embeds audio marks into audio/video files. Four types: voice_tag (spoken watermark), tone (beep/chime), intro_outro (clip at start/end), and ultrasonic (inaudible high-frequency mark for tracking).

#Batch processing

Watermark up to 50 files in a single API call using the batch endpoint. All files receive the same watermark configuration. The request returns a batch_id that you can poll with batch-status to track progress.

  • Each file is processed independently and asynchronously
  • Credits are charged per file (same rate as individual endpoints)
  • Failed files don’t block the rest of the batch
  • Results are available for download as each file completes

#Reusable templates

Save your watermark configuration as a template to reuse across requests. Templates store the watermark type, position, opacity, font settings, and all other parameters.

  1. Savetemplate-save creates or updates a template with a name and config object
  2. Listtemplates returns all your saved templates, optionally filtered by category
  3. Use — pass a template_id to any watermark endpoint to apply saved settings
  4. Deletetemplate-delete removes a template by ID

#Code watermarks & verification

Code watermarks enable machine-readable tracking. The workflow:

  1. add-code — embed a QR/barcode with an optional encrypted payload
  2. read-code — scan the code from an image to extract the raw payload
  3. decode-code — decrypt the payload using your encryption key

This is useful for tracking document provenance, verifying authenticity, or embedding license keys in media files.

#Detection & removal

Three AI-powered endpoints for working with existing watermarks:

  • detect (0.50 credits) — analyzes an image to find watermark regions, returning bounding boxes and confidence scores
  • verify (0.30 credits) — checks if a specific tracking ID or steganographic mark is present in a file
  • remove (1.00 credits) — attempts AI-powered watermark removal from images (works best on semi-transparent text overlays)

#Brand kits

Brand kits store your organization’s logos, fonts, colors, and default watermark configuration. Once saved, they can be referenced across all watermark endpoints for consistent branding.

  • brand-kit-save — create or update a kit with name, logos, fonts, colors, and default config
  • brand-kit-list — retrieve all your brand kits
  • brand-kit-delete — remove a kit by ID

#Authentication

All requests require an api_key parameter in the JSON body. Get your key from the dashboard. The key identifies your account and is used for credit billing and rate limiting.

#Error handling

Standard HTTP status codes are used. Common errors:

CodeMeaning
400Bad request — missing or invalid parameters
401Unauthorized — invalid or missing API key
402Insufficient credits
413File too large (max 50 MB for images, 500 MB for video)
422Validation error — check the error field for details
429Rate limit exceeded — max 15 req/s
500Server error — retry or contact support

자주 묻는 질문

이미지(JPEG, PNG, GIF, BMP, WebP, TIFF), PDF, 동영상(MP4, AVI, MOV, MKV, WebM), 오디오(MP3, WAV, FLAC, OGG, AAC), 문서(DOCX, XLSX, PPTX), 3D 모델(OBJ, STL, GLTF, FBX), 전자책(EPUB, MOBI).

5가지 유형: 텍스트(글꼴, 크기, 색상, 불투명도, 회전, 그림자, 윤곽선 사용자 정의 가능), 이미지 오버레이(크기 조정 및 위치 지정이 가능한 로고), 타일 패턴(파일 전체에 반복되는 텍스트), QR/바코드(선택적 암호화가 가능한 기계 판독 코드), 오디오(보이스 태그, 톤, 인트로/아웃트로, 초음파 마크).

네. 일괄 처리 엔드포인트는 요청당 최대 50개 파일을 처리합니다. 각 파일은 비동기적으로 처리되며 batch-status로 진행 상황을 확인할 수 있습니다.

네. detect 엔드포인트는 AI를 사용하여 이미지에서 기존 워터마크를 찾습니다. remove 엔드포인트는 AI 기반 워터마크 제거를 시도합니다. verify 엔드포인트는 특정 추적 ID가 파일에 포함되어 있는지 확인합니다.

add-code 엔드포인트는 QR 코드, Code128, Code39, EAN-13, EAN-8 또는 DataMatrix 바코드를 파일에 삽입합니다. 페이로드를 선택적으로 암호화할 수 있습니다. decode-code로 복호화하거나 read-code로 이미지에서 코드를 스캔할 수 있습니다.

템플릿은 워터마크 구성(유형, 위치, 불투명도, 글꼴 등)을 저장하여 재사용할 수 있게 합니다. template-save로 템플릿을 만들고 templates 엔드포인트로 목록을 확인할 수 있습니다.

예. 오류가 발생한 요청을 포함하여 모든 요청은 크레딧을 소비합니다. 크레딧은 성공 또는 실패와 관계없이 요청 수에 연결됩니다. 오류가 당사 플랫폼 문제로 인한 것이 분명한 경우 영향을 받은 크레딧을 복원합니다(현금 환불 없음).

[email protected]로 문의하세요. 피드백을 진지하게 받아들입니다—버그 리포트나 기능 요청이 의미 있는 경우 API를 빠르게 수정하거나 개선하고 감사의 표시로 50 무료 크레딧을 제공합니다.

API와 때로는 엔드포인트에 따라 다릅니다. 일부 엔드포인트는 외부 소스의 데이터를 사용하며 더 엄격한 제한이 있을 수 있습니다. 남용을 방지하고 플랫폼 안정성을 유지하기 위해 제한도 적용합니다. 각 엔드포인트의 구체적인 제한은 문서를 확인하세요.

크레딧 시스템으로 운영됩니다. 크레딧은 API 호출과 도구에 사용하는 선불, 환불 불가 단위입니다. 크레딧은 FIFO(오래된 것부터) 방식으로 소비되며 구매일로부터 12개월간 유효합니다. 대시보드에 각 구매 날짜와 만료일이 표시됩니다.

예. 구매한 모든 크레딧(소수 잔액 포함)은 구매일로부터 12개월간 유효합니다. 미사용 크레딧은 유효 기간 종료 시 자동으로 만료되어 영구 삭제됩니다. 만료된 크레딧은 복원하거나 현금 또는 기타 가치로 전환할 수 없습니다. 경과 규칙: 2025년 9월 22일 이전에 구매한 크레딧은 2025년 9월 22일에 구매한 것으로 처리되어 2026년 9월 22일에 만료됩니다(구매 시 더 이른 만료일이 명시되지 않은 한).

예—유효 기간 내에서 이월됩니다. 미사용 크레딧은 계속 사용 가능하며 구매 후 12개월 만료까지 매월 이월됩니다.

크레딧은 환불 불가입니다. 필요한 만큼만 구매하세요—나중에 언제든 충전할 수 있습니다. 플랫폼 오류로 인해 청구가 실패한 경우 조사 후 영향을 받은 크레딧을 복원할 수 있습니다. 현금 환불 없음.

가격은 달러가 아닌 크레딧으로 설정됩니다. 각 엔드포인트에는 자체 비용이 있습니다—위의 "크레딧 / 요청" 배지를 참조하세요. 항상 정확한 지출 금액을 알 수 있습니다.
← API로 돌아가기