{"id":18561919,"url":"https://github.com/maheshpaulj/Prompt2Shorts","last_synced_at":"2025-08-29T08:30:58.454Z","repository":{"id":255384728,"uuid":"849438908","full_name":"CityIsBetter/Prompt2Shorts","owner":"CityIsBetter","description":"Prompt2Shorts is an innovative application that generates short-form content by transforming prompts into full scripts, voice-over audio, and relevant videos. Designed for creators who want to quickly produce engaging content, Prompt2Shorts integrates advanced AI and APIs to automate the creation process.","archived":false,"fork":false,"pushed_at":"2024-08-30T12:31:15.000Z","size":4701,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-06T22:08:36.250Z","etag":null,"topics":["ai","openrouter","rapidapi","reels-maker","shorts-maker","tiktok-maker","webapp"],"latest_commit_sha":null,"homepage":"https://prompt2shorts.vercel.app","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/CityIsBetter.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":"2024-08-29T15:41:17.000Z","updated_at":"2024-09-26T02:48:11.000Z","dependencies_parsed_at":"2024-08-29T17:49:27.418Z","dependency_job_id":null,"html_url":"https://github.com/CityIsBetter/Prompt2Shorts","commit_stats":null,"previous_names":["cityisbetter/prompt2shorts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CityIsBetter%2FPrompt2Shorts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CityIsBetter%2FPrompt2Shorts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CityIsBetter%2FPrompt2Shorts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CityIsBetter%2FPrompt2Shorts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CityIsBetter","download_url":"https://codeload.github.com/CityIsBetter/Prompt2Shorts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231345809,"owners_count":18362502,"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","openrouter","rapidapi","reels-maker","shorts-maker","tiktok-maker","webapp"],"created_at":"2024-11-06T22:08:17.911Z","updated_at":"2025-08-29T08:30:52.926Z","avatar_url":"https://github.com/CityIsBetter.png","language":"TypeScript","funding_links":[],"categories":["ai"],"sub_categories":[],"readme":"# Prompt2Shorts\n\n**Prompt2Shorts** is an innovative application that generates short-form content by transforming prompts into full scripts, voice-over audio, and relevant videos. Designed for creators who want to quickly produce engaging content, Prompt2Shorts integrates advanced AI and APIs to automate the creation process.\n![screenshot](./public/ss2.png)\n\n## Features\n\n- **Script Generation:** Utilizes Nous: Hermes 3 AI to convert prompts into well-structured scripts.\n- **Voice Over Audio:** Generates high-quality voice-over audio using Express Voic AI.\n- **Video Retrieval:** Fetches relevant video clips from Pexels API based on the generated script.\n- **Video Editing:** Provides an editing interface for users to customize and compile their final video with transitions and captions.\n\n## Technologies Used\n\n- **Frontend:** Next.js 14, TypeScript, Tailwind CSS\n- **Script Generation:** Nous: Hermes 3 AI\n- **Audio Generation:** Express Voic AI\n- **Video Retrieval:** Pexels API\n\n## Usage Example\n![screenshot](./public/ss.png)\n## Getting Started\n\n### Prerequisites\n\n- Node.js\n- Yarn or npm\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/CityIsBetter/Prompt2Shorts.git\n   cd Prompt2Shorts\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   yarn install\n   # or\n   npm install\n   ```\n\n3. Create a `.env` file in the root directory and add your API keys:\n\n   ```env\n   NEXT_PUBLIC_OPENROUTER_API_TOKEN=your_openrouter_api_token\n   NEXT_PUBLIC_PLAY_SECRET=your_play_ht_secret\n   NEXT_PUBLIC_PLAY_USER_ID=your_play_ht_user_id\n   NEXT_PUBLIC_RAPIDAPI_KEY=your_rapidapi_key\n   ```\n\n4. Start the development server:\n\n   ```bash\n   yarn dev\n   # or\n   npm run dev\n   ```\n\n5. Open your browser and navigate to `http://localhost:3000` to see the app in action.\n\n## Usage\n\n1. **Enter Prompt:** Input a prompt to generate a script.\n2. **Script Generation:** The AI generates a script based on the provided prompt.\n3. **Voice Over:** The app generates a voice-over audio file for the script.\n4. **Video Retrieval:** Fetches and displays relevant video clips based on the script.\n\n## API Integration\n\n### Nous: Hermes 3 AI\n\nUsed for generating scripts from prompts. I used this model using OpenRouter API. Ensure you have the API key and endpoint configured in your `.env` file.\n\n### Express Voic AI\n\nGenerates voice-over audio from scripts. I used this model using RapidAPI API. API key and endpoint should be set in the `.env` file. Check out Play HT text-to-speech AI, it is more realistic but the freeium version has very less credits.\n\n### Pexels API\n\nFetches video clips relevant to the generated script. API key must be included in the `.env` file.\n\n## Future Additions\n\n- **More Video Options:** Integrate additional video sources for a wider variety of content.\n- **Final Video Compilation:** Automatically compile the final video with synchronized audio, video clips, and captions.\n- **Advanced Video Editor:** Implement a robust video editor allowing users to manually adjust video clips, add effects, and fine-tune their final content.\n\n## Contributing\n\nWe welcome contributions to improve Prompt2Shorts! Please fork the repository and submit a pull request. Ensure that your code adheres to the existing style and includes tests where applicable.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n\n---\n\nThank you for using Prompt2Shorts!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaheshpaulj%2FPrompt2Shorts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaheshpaulj%2FPrompt2Shorts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaheshpaulj%2FPrompt2Shorts/lists"}