---
tool_name: video-gif-limit
summary: Turn a video clip into a forum/social-ready GIF that fits the size cap — palette-accurate colors.
input:
  file: binary, required # video file (MP4/MOV/MKV/AVI/WebM) (max 300MB)
  target_mb: number, required, min 0.1, max 50 # 目标大小
  width: number, optional, min 120, max 1280 # 宽度
  fps: enum, optional # 帧率
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://video-gif-limit.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://video-gif-limit.yeezhan.com/api/v1/run
---
