Budget: 5000 UAH Deadline: 10 days
Hello! I have analyzed your task and am ready to propose the development of a Telegram bot (or a similar one on another platform, if you specify) that will accept a child's photo and name, integrate them into a ready-made video template, and output a finished MP4 clip. Based on the example video (personalized greeting with elements of animation, photo, and voiceover of the name), I see that we need to create dynamic, cute content for children — with photo overlay, TTS voiceover, and simple editing.
Understanding the task
Input data: Child's photo (JPEG/PNG) and name (text).
Process:
The bot receives the photo and name from the user.
Uses a pre-set video template (I assume you will provide the original MP4 template with "empty" spots for photo and audio).
Overlays the photo: cuts out the face (using face detection) or simply scales/animates it in the necessary frames.
Generates audio: synthesizes speech with the name (for example, "Dear [Name], we congratulate you!").
Edits: inserts photo and audio into the template, adds transitions/effects (fade-in, zoom for photo).
Outputs: finished video to the user (up to 30-60 seconds, optimized for Telegram).
Additionally: Error handling (poor quality photo), file size limit, simple authorization (if needed).
Implementation plan
Bot setup: Creating a Telegram bot using BotFather, processing messages (photo + text).
Photo processing: Using OpenCV for face detection and cutting out the face, then overlaying it on video frames.
Audio generation: TTS with a Russian voice (gTTS or Yandex SpeechKit for naturalness).
Video editing: MoviePy for inserting photo/audio into the template, adding text/animations.
Testing: Checking with different photos, optimizing generation time (goal — 10-30 seconds per clip).
Deployment: Hosting on VPS (Heroku/VPS), integration with your template.
Technologies
Language: Python 3.10+.
Libraries:
Telebot or aiogram (for the bot).
OpenCV (face detection and overlay).
MoviePy (video editing).
gTTS or pyttsx3 (TTS).
Hosting: Free/paid (VPS from $5/month for production).
Security: Storing the template locally, temporary files are deleted after sending.
Timelines and stages
Stage 1: Prototype (MVP with basic overlay and TTS) — 3-5 days.
Stage 2: Full implementation (animations, error handling, testing) — +5-7 days.
Total time: 10-14 days from the approval of the technical specifications and provision of the template.
Support: 1 month of free revisions, then — by agreement.
я правильно розумію сюди вставляти фото потрібно?