{"id":18751108,"url":"https://github.com/samuraigpt/text-to-video-api","last_synced_at":"2025-09-25T14:18:30.387Z","repository":{"id":252950217,"uuid":"841874740","full_name":"SamurAIGPT/Text-To-Video-API","owner":"SamurAIGPT","description":"Text to Video API generation documentation","archived":false,"fork":false,"pushed_at":"2024-08-30T03:03:07.000Z","size":8,"stargazers_count":19,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-04T22:12:14.188Z","etag":null,"topics":["ai-video-generator","image-to-video","image-to-video-generation","sora-ai","sora-video-ai","stable-diffusion","text-to-image","text-to-video","text-to-video-api","text-to-video-generation","video-diffusion","video-diffusion-model","video-editing","video-generation"],"latest_commit_sha":null,"homepage":"https://docs.vadoo.tv","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamurAIGPT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-08-13T08:10:00.000Z","updated_at":"2025-05-21T17:06:48.000Z","dependencies_parsed_at":"2025-04-12T14:34:26.905Z","dependency_job_id":null,"html_url":"https://github.com/SamurAIGPT/Text-To-Video-API","commit_stats":null,"previous_names":["samuraigpt/text-to-video-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamurAIGPT/Text-To-Video-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamurAIGPT%2FText-To-Video-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamurAIGPT%2FText-To-Video-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamurAIGPT%2FText-To-Video-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamurAIGPT%2FText-To-Video-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamurAIGPT","download_url":"https://codeload.github.com/SamurAIGPT/Text-To-Video-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamurAIGPT%2FText-To-Video-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276929884,"owners_count":25730276,"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","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ai-video-generator","image-to-video","image-to-video-generation","sora-ai","sora-video-ai","stable-diffusion","text-to-image","text-to-video","text-to-video-api","text-to-video-generation","video-diffusion","video-diffusion-model","video-editing","video-generation"],"created_at":"2024-11-07T17:14:34.862Z","updated_at":"2025-09-25T14:18:30.341Z","avatar_url":"https://github.com/SamurAIGPT.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text To Video API\n\n### Youtube tutorial -\u003e https://youtu.be/LDBnlO3PDBY\n\n### Medium article -\u003e https://medium.com/@anilmatcha/text-to-video-api-in-python-ai-video-automation-tutorial-561b49241d70\n\n### Steps\n\nTo generate a video from text, here are the steps involved\n\n1. Generate an API key from https://viral.vadoo.tv/profile\n2. Setup a webhook url at https://viral.vadoo.tv/profile to received generated video metadata\n\n### Python code\n\nInstall requests library to send a post request\n\n```pip install requests```\n\nUse the below code to generate a video, the download url of generated video will be sent to the webhook setup\nTopic, voice, theme, language and duration are optional but can be customized. More info about these are available here https://docs.vadoo.tv/docs/category/guide\n\n```\nimport requests\n\n# Replace 'YOUR_API_KEY' with your actual API key\nAPI_KEY = 'YOUR_API_KEY'\nurl = 'https://viralapi.vadoo.tv/api/generate_video'\n\n# Define the request headers\nheaders = {\n    'X-API-KEY': API_KEY,\n    'Content-Type': 'application/json'\n}\n\n# Define the request body parameters\ndata = {\n    'topic': 'Random AI Story',      # Optional: specify your topic or leave it as the default\n    'voice': 'Charlie',              # Optional: specify the voice or leave it as the default\n    'theme': 'Hormozi_1',            # Optional: specify the theme or leave it as the default\n    'language': 'English',           # Optional: specify the language or leave it as the default\n    'duration': '30-60'              # Optional: specify the duration or leave it as the default\n}\n\n# Make the POST request to generate the video\nresponse = requests.post(url, headers=headers, json=data)\n\n# Check if the request was successful\nif response.status_code == 200:\n    response_data = response.json()\n    print(f\"Video ID: {response_data['vid']}\")\nelse:\n    print(f\"Failed to generate video. Status code: {response.status_code}\")\n    print(response.text)\n```\n\nLink to app [Text to Video API](https://www.vadoo.tv/text-to-video-api)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuraigpt%2Ftext-to-video-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuraigpt%2Ftext-to-video-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuraigpt%2Ftext-to-video-api/lists"}