---
tool_name: audio-loop-bgm
summary: Stretch a short BGM loop to any video length — clips join seamlessly, loop until the target, fade out at the end.
input:
  file: binary, required # 2+ BGM 片段，按顺序拼接后循环到目标时长 (max 200MB)
  target_sec: number, required, min 1, max 600 # 目标时长
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://audio-loop-bgm.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://audio-loop-bgm.yeezhan.com/api/v1/run
---
