{"id":20909680,"url":"https://github.com/lovenui/chatbot-with-text-voice-chatting","last_synced_at":"2026-04-25T06:34:56.373Z","repository":{"id":190363353,"uuid":"682456406","full_name":"LoveNui/Chatbot-with-text-voice-chatting","owner":"LoveNui","description":"Telegram bot is developed by AI techniques(Speech-to-Text, Text-to-Speech, Voice-cloning, AI-avatar-geneartor) and telegram bot developing techniques.","archived":false,"fork":false,"pushed_at":"2023-08-31T06:26:01.000Z","size":63289,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T22:14:41.244Z","etag":null,"topics":["artificial-intelligence","juypter-notebook","python","shell","stt","telegram-bot","tts"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LoveNui.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-24T07:56:29.000Z","updated_at":"2024-04-28T20:37:42.000Z","dependencies_parsed_at":"2024-11-18T14:48:26.030Z","dependency_job_id":null,"html_url":"https://github.com/LoveNui/Chatbot-with-text-voice-chatting","commit_stats":null,"previous_names":["lovenui/ai-avatar-generator","lovenui/chatbot-with-text-voice-chatting"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LoveNui%2FChatbot-with-text-voice-chatting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LoveNui%2FChatbot-with-text-voice-chatting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LoveNui%2FChatbot-with-text-voice-chatting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LoveNui%2FChatbot-with-text-voice-chatting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LoveNui","download_url":"https://codeload.github.com/LoveNui/Chatbot-with-text-voice-chatting/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243301122,"owners_count":20269286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","juypter-notebook","python","shell","stt","telegram-bot","tts"],"created_at":"2024-11-18T14:12:18.953Z","updated_at":"2025-12-27T09:28:54.272Z","avatar_url":"https://github.com/LoveNui.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Bot \"My Friend\"\r\n\r\nTelegram Bot \"My Friend\" is bot to help customers to make theirself friends. This bot is developed by AI techniques(Speech-to-Text, Text-to-Speech, Voice-cloning, AI-avatar-geneartor) and telegram bot developing techniques. This bot can chat with customer through text and voice.\r\nThis bot responses as text when customers ask as text, and if customers ask as voice, it responses as video.\r\nCustomers can set their pictures and voice. This bot can make video with customer pictures and voices.\r\n\r\n## Setup\r\n\r\n### Setup 1: Building Environment\r\n- Download code from gitlab\r\n\r\n  `git clone https://gitlab.com/lambda-vision/customersupportgpt.git`\r\n\r\n- Reseetting API keys\r\n    - On the bot_src/private_env.py\r\n      \r\n      DG_KEY = 'c6a441dc5efbbd7e1ef959348c122aec01c325b62'\r\n      OPENAI_KEY = \"sk-Ke7ePCgDFKF3l18m6HmTRs9lbkFJRXDobcl72SOaldgD18FT\"\r\n      SERP_API_KEY = \"3e4d6384rf3ecf52dd4a2868843784f73ed36fb823496b856158503414febe689\"\r\n\r\n    - Creating \".env\" file and Input serpapi_key\r\n\r\n    `SERPAPI_API_KEY = 3e4d6384rf3ecf52dd4a2868843784f73ed36fb823496b856158503414febe689`\r\n\r\n- Make folder \"voice_message\"\r\n- Downloading models (Run ./scripts/download_models.sh)\r\n    \r\n    `bash ./scripts/download_models.sh`\r\n\r\n### Setup 2: Install Libraries\r\n- Install all libraries on requirements.txt\r\n\r\n  `!pip install -r requirements.txt`\r\n\r\n## Useage\r\n### Run Telegram Bot\r\n`python telegram-bot.py`\r\n### Setting Customer Pictures and voice\r\nUsers can set their pictures and voice. When Users upload their pictures and record their voice, the bot saves their pictures and clones users voice, and make video with their pictures and voice\r\n\r\nUsers start with bot using '/start'. If u do, the bot send first message with customer setting buttons. In this here, you can set your pictures and clone your voice.\r\n- 🔥 The telegram bot: voice-to-video response.\r\n\u003cvideo  src=\"./examples/voice-video-response.mp4\" type=\"video/mp4\"\u003e \u003c/video\u003e\r\n\r\n#### Pictures\r\n- Click \"Set Picture\"\r\n- Users upload pictures. The picture's size must be at least 500*500. And the picture's type is '.png'\r\n- If uploaded successfully, bot sends message \"Congratulations!, Successfully uploaded your picture\". When failed to upload pictures, bot sends message \"Failed to upload your pictures. Please try again\".\r\n\r\n#### Voice Cloning\r\n- Click \"Clone Voice\"\r\n- Users send voice message, the legnth is 30~40s. If users send voice message, the bot clones user's voice with this voice message.\r\n- If successfully clone voice, the bot sends message \"Congratulations!, Successfully cloned your voice\". If failed to clone voice, the bot sends \"I am sorry. Failed to clone your voice\"\r\n\r\n- 🔥 customer settings\r\n\r\n\u003cvideo  src=\"./examples/customer-setting.mp4\" type=\"video/mp4\"\u003e \u003c/video\u003e\r\n\r\n- 🔥 Genearte video with customer picture and voice\r\n\r\n| voice_source                  | Video based on customer picture and cloned voice       |   customer pictures |\r\n|:--------------------: |:--------------------: | :----: |\r\n| \u003cvideo  src=\"./examples/voice_source.ogg\" type=\"audio/ogg\"\u003e \u003c/video\u003e | \u003cvideo  src=\"./examples/cloned_voice.mp4\" type=\"video/mp4\"\u003e \u003c/video\u003e  | \u003cimg src='./examples/art_0.png' width='380'\u003e\u003c/img\u003e ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovenui%2Fchatbot-with-text-voice-chatting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovenui%2Fchatbot-with-text-voice-chatting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovenui%2Fchatbot-with-text-voice-chatting/lists"}