{"id":27017608,"url":"https://github.com/uddhav-paudel/a2v","last_synced_at":"2026-02-26T19:36:36.414Z","repository":{"id":283139902,"uuid":"950817409","full_name":"Uddhav-Paudel/A2V","owner":"Uddhav-Paudel","description":"Text2Video converter AI Project","archived":false,"fork":false,"pushed_at":"2025-03-19T15:53:50.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-16T21:25:09.893Z","etag":null,"topics":["azure","azure-ai","azure-serverless-function","expressjs","hackathon-project","nodejs","rest-api","text-to-video-generation","webapi"],"latest_commit_sha":null,"homepage":"https://t2v.uddhavpaudel.com.np","language":"JavaScript","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/Uddhav-Paudel.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,"zenodo":null}},"created_at":"2025-03-18T18:19:48.000Z","updated_at":"2025-03-23T00:24:26.000Z","dependencies_parsed_at":"2025-03-18T19:42:14.534Z","dependency_job_id":"69c1d1ff-ec6d-41ce-8c62-f3f3be8c0b61","html_url":"https://github.com/Uddhav-Paudel/A2V","commit_stats":null,"previous_names":["uddhav-paudel/a2v"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Uddhav-Paudel/A2V","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uddhav-Paudel%2FA2V","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uddhav-Paudel%2FA2V/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uddhav-Paudel%2FA2V/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uddhav-Paudel%2FA2V/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uddhav-Paudel","download_url":"https://codeload.github.com/Uddhav-Paudel/A2V/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uddhav-Paudel%2FA2V/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29868696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T18:42:30.764Z","status":"ssl_error","status_checked_at":"2026-02-26T18:41:47.936Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["azure","azure-ai","azure-serverless-function","expressjs","hackathon-project","nodejs","rest-api","text-to-video-generation","webapi"],"created_at":"2025-04-04T16:29:07.615Z","updated_at":"2026-02-26T19:36:36.378Z","avatar_url":"https://github.com/Uddhav-Paudel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Node.js** API Project. It integrates with Azure AI services to provide features like content safety analysis, text summarization, text-to-image generation, text-to-speech synthesis, and video generation.\n\n## Features\n\n- **Content Safety API**: Analyze text for safety using Azure Content Safety.\n- **Text Summarization**: Summarize text using Azure OpenAI.\n- **Text-to-Image API**: Generate images from text descriptions.\n- **Text-to-Speech API**: Convert text to speech audio.\n- **Video Generation**: Create videos by combining images and audio.\n\n## Prerequisites\n\n- Node.js (v16 or higher)\n- Azure Cognitive Services API keys and endpoints for:\n  - Content Safety\n  - OpenAI\n  - Text-to-Image\n  - Text-to-Speech\n\n## Setup\n\n1. Clone the repository:\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd A2VNode\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Configure environment variables:\n   - Rename `.env.example` to `.env`.\n   - Update the placeholders in `.env` with your Azure API keys and endpoints.\n\n   Example `.env` file:\n   ```properties\n   AZURE_CONTENT_SAFETY_ENDPOINT=https://\u003cyour-content-safety-endpoint\u003e.cognitiveservices.azure.com\n   AZURE_CONTENT_SAFETY_API_KEY=\u003cyour-content-safety-api-key\u003e\n\n   AZURE_OPENAI_ENDPOINT=https://\u003cyour-openai-endpoint\u003e.openai.azure.com\n   AZURE_OPENAI_API_KEY=\u003cyour-openai-api-key\u003e\n\n   AZURE_TEXT_TO_IMAGE_ENDPOINT=https://\u003cyour-text-to-image-endpoint\u003e.cognitiveservices.azure.com\n   AZURE_TEXT_TO_IMAGE_API_KEY=\u003cyour-text-to-image-api-key\u003e\n\n   AZURE_TEXT_TO_SPEECH_ENDPOINT=https://\u003cyour-text-to-speech-endpoint\u003e.cognitiveservices.azure.com\n   AZURE_TEXT_TO_SPEECH_API_KEY=\u003cyour-text-to-speech-api-key\u003e\n\n   PORT=3000\n   ```\n\n4. Run the server:\n   ```bash\n   npm start\n   ```\n\n## API Endpoints\n\n### Content Safety\n- **POST** `/ai/content-safety`\n  - **Body**: `{ \"content\": \"text to analyze\" }`\n  - **Response**: Safety analysis result.\n\n### Text Summarization\n- **POST** `/ai/summarize`\n  - **Body**: `{ \"content\": \"text to summarize\" }`\n  - **Response**: Summarized text.\n\n### Text-to-Image\n- **POST** `/ai/text-to-image`\n  - **Body**: `{ \"description\": \"image description\" }`\n  - **Response**: Generated image.\n\n### Text-to-Speech\n- **POST** `/ai/text-to-speech`\n  - **Body**: `{ \"text\": \"text to convert to speech\" }`\n  - **Response**: Audio file in Base64 format.\n\n### Video Generation\n- **POST** `/video/generate`\n  - **Body**: `[ { \"image\": \"base64-image\", \"audio\": \"base64-audio\" }, ... ]`\n  - **Response**: Generated video in Base64 format.\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuddhav-paudel%2Fa2v","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuddhav-paudel%2Fa2v","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuddhav-paudel%2Fa2v/lists"}