{"id":24352151,"url":"https://github.com/lohiyah/vidcraft","last_synced_at":"2026-04-12T09:36:53.870Z","repository":{"id":272978204,"uuid":"918357353","full_name":"LohiyaH/VidCraft","owner":"LohiyaH","description":"VidCraft is an AI-driven full stack application that generates videos from user-defined topics and backgrounds. It combines text, audio, and visuals using advanced AI services, making video creation accessible and efficient for developers and content creators alike.","archived":false,"fork":false,"pushed_at":"2025-02-02T06:09:37.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T05:16:11.354Z","etag":null,"topics":["ai","elevenlabs","fastapi","ffmpgeg","full-stack-web-development","gemini-ai","huggingface","image-generation","machine-learning","reactjs","subtitles","text-to-speech","typescript","video-generation","whisper"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/LohiyaH.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}},"created_at":"2025-01-17T19:04:11.000Z","updated_at":"2025-02-06T09:02:48.000Z","dependencies_parsed_at":"2025-01-17T20:23:52.577Z","dependency_job_id":"5d028b03-3d52-4803-9568-08960f17d7ec","html_url":"https://github.com/LohiyaH/VidCraft","commit_stats":null,"previous_names":["lohiyah/vidcraft"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LohiyaH%2FVidCraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LohiyaH%2FVidCraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LohiyaH%2FVidCraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LohiyaH%2FVidCraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LohiyaH","download_url":"https://codeload.github.com/LohiyaH/VidCraft/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243159168,"owners_count":20245675,"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":["ai","elevenlabs","fastapi","ffmpgeg","full-stack-web-development","gemini-ai","huggingface","image-generation","machine-learning","reactjs","subtitles","text-to-speech","typescript","video-generation","whisper"],"created_at":"2025-01-18T15:39:20.809Z","updated_at":"2026-04-12T09:36:53.864Z","avatar_url":"https://github.com/LohiyaH.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VidCraft\n\n## Description\nThis backend application is built using FastAPI and is designed to generate videos based on user-defined topics and backgrounds. It integrates multiple AI services for text generation, audio synthesis, image creation, and subtitle generation. The application handles various tasks, including cleaning text, formatting subtitles, and generating video files using FFmpeg.\n\n## Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/LohiyaH/VidCraft\n   cd VidCraft\n   ```\n2. Install the required dependencies:\n   ```bash\n   pip install -r backend/requirements.txt\n   ```\n3. Set up environment variables in a `.env` file (see `.env.example`):\n   ```\n   GEMINI_API_KEY=\u003cyour-gemini-api-key\u003e\n   ELEVENLABS_API_KEY=\u003cyour-elevenlabs-api-key\u003e\n   HUGGINGFACE_API_KEY=\u003cyour-huggingface-api-key\u003e\n   STORAGE_PATH=storage\n   ALLOWED_ORIGINS=http://localhost:3000\n   ```\n\n## Usage\n1. Run the FastAPI application:\n   ```bash\n   uvicorn backend.main:app --reload\n   ```\n2. Access the API documentation at `http://localhost:8000/docs`.\n\n# Navigate to the frontend directory\n3. cd frontend\n\n# Install dependencies\n4. npm install\n\n5. Create a frontend `.env.local` file with:\n   ```\n   NEXT_PUBLIC_API_URL=http://localhost:8000\n   ```\n\n# Start the development server\n6. npm run dev\n\n## API Endpoints\n- **POST** `/api/generate-video`\n  - **Request Body**:\n    ```json\n    {\n      \"topic\": \"string\",\n      \"background\": \"string\"\n    }\n    ```\n  - **Response**:\n    ```json\n    {\n      \"videoUrl\": \"string\"\n    }\n    ```\n\n- **GET** `/api/test`\n  - Returns a simple test message.\n\n## Contributing\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flohiyah%2Fvidcraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flohiyah%2Fvidcraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flohiyah%2Fvidcraft/lists"}