---
tool_name: color-focus
summary: Keep one colour alive and drain the rest — the "Sin City" look, computed locally.
input:
  file: binary, required # JPG / PNG / WebP image (max 50MB)
  mode: enum, required # 模式
  hue: number, optional, min 0, max 360 # 保留色相 (0-360)
  tolerance: number, optional, min 5, max 180 # 容差 (±度)
output:
  preview_url: string | watermarked preview, free, no auth
  task_id: string | unique task identifier
  payment_url: string | end-user must complete one-time payment to unlock final output
  final_download_url: string | only available after successful payment
auth: login via email/phone OTP on https://color-focus.yeezhan.com; API callers use a personal API key (Bearer yeek_...)
payment_rule: one-time charge $2.99 per task. NO credits, NO account balance. One payment unlocks only this task.
valid_window: 24 hours after payment
errors:
  - file_too_large
  - invalid_input
  - unsupported_type
  - target_unreachable
  - processing_failed
endpoint: https://color-focus.yeezhan.com/api/v1/run
---
