---
tool_name: ringtone-maker
summary: Turn any song into a 40-second iPhone ringtone with faded in/out ends — pick the exact chorus moment.
input:
  file: binary, required # audio file (MP3/WAV/M4A/FLAC/OGG/AAC) (max 200MB)
  start_sec: number, required, min 0 # 开始时间
  duration_sec: number, required, min 1, max 40 # 时长
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://ringtone-maker.yeezhan.com; API callers use a personal API key (Bearer yeek_...)
payment_rule: one-time charge $0.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://ringtone-maker.yeezhan.com/api/v1/run
---
