Developer Releases REST API to Convert Videos into Telegram-Compliant Avatars
A developer has launched a public REST API for LiveAvaBot, a tool originally built to solve Telegram's strict video avatar format requirements. Telegram video avatars must meet specific technical constraints — H.264 codec, 800x800 resolution, under 2 MB, and MP4 with a faststart flag — which silently reject common iPhone HEVC videos. The bot, which has served 290 users since launching last year, uses an ffmpeg pipeline to automatically crop, re-encode, and optimize videos to meet these specs. After multiple developers requested programmatic access for use cases like profile-picture flows and cross-platform bridges, the creator exposed the conversion pipeline via a REST API endpoint. The API accepts multipart video uploads with optional visual presets and handles the full conversion process server-side.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in