---
tool_name: photo-restoration-studio
summary: One upload, full family-photo rescue: face restoration, colorization and 4x sharpening — steps you choose.
input:
  file: binary, required # image (JPG/PNG) (max 30MB)
  face_fix: boolean, optional # 人脸修复（GFPGAN）
  colorize: boolean, optional # 智能上色
  upscale: boolean, optional # 超分锐化（4x 后缩回原尺寸）
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://photo-restoration-studio.yeezhan.com; API callers use a personal API key (Bearer yeek_...)
payment_rule: one-time charge $5.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://photo-restoration-studio.yeezhan.com/api/v1/run
---
