Technical Specification for a Developer: Voice Message Bot In simple terms, I need a bot with a backend in Telegram and Django for the web.
The bot should gather information from news sources or my texts, generate a news piece using OpenAI GPT, and post it as a voice message (using MurfAI, ElevenLabs, etc.)
to social platforms like Telegram, Twitter, and YouTube.
I should be able to adjust the text style using prompts, set the length and frequency of posts, schedule messages, and change the voice using options provided by the voice generation services.
Project Overview: Develop a Telegram bot integrated with OpenAI GPT and ElevenLabs (or similar TTS service) to automatically generate and post voice messages based on news sources, custom text, or other input.
The bot should support configuration via Telegram and a Django-based web interface.
The functionality includes posting to multiple Telegram channels, Twitter, and YouTube in various languages with chosen voices and styles.
Functional Requirements: Core Bot Features: Generate text messages using OpenAI GPT based on: Pre-defined news sources (e.g., RSS feeds, Twitter, YouTube descriptions).
User-provided text inputs.
Convert generated text into voice messages using ElevenLabs or similar TTS service.
Automatically post generated voice messages to: Telegram channels (multiple).
Twitter.
YouTube (as voice-over videos).
Schedule posts (e.g., every hour or at specified intervals).
Configuration via Telegram Bot Interface: Set welcome and farewell messages.
Choose news sources for content generation.
Input custom text for message generation.
Select the style (prompt) for GPT-generated text.
Choose languages for generated messages.
Configure posting frequency and automation rules.
Select platforms for message delivery (Telegram channels, Twitter, YouTube).
Assign voices to different channels/platforms.
Web Interface (Django): Manage news sources and user-provided texts.
Set up and edit posting schedules.
Choose voice styles and languages for each platform.
Review and manage the queue of scheduled and drafted messages.
View logs of sent messages and errors.
Platform Integration: Telegram: Support multiple channels.
Twitter: Post messages or voice-over videos.
YouTube: Upload generated voice messages as videos with simple visuals.
Additional Features: Manual message sending via Telegram bot.
Postponed message creation with predefined voices.
Multi-language and multi-voice support for different platforms.
Notifications for errors or successful posts.
Technical Requirements: Backend: Language: Python.
Framework: Django (for web interface and configuration management).
APIs: Telegram Bot API, OpenAI GPT API for text generation, ElevenLabs (or other TTS API) for voice generation, Twitter API for posting, YouTube API for uploading videos.
Database: PostgreSQL or MySQL for storing settings, message logs, and content queues.
Frontend: Django Admin or a custom web interface for configuration and management.
#J-18808-Ljbffr