{"id":31076666,"url":"https://github.com/mann1809/ai-youtube-thumbnail-generator","last_synced_at":"2026-04-11T12:03:07.692Z","repository":{"id":313799002,"uuid":"1052708459","full_name":"mann1809/ai-youtube-thumbnail-generator","owner":"mann1809","description":"A Spring Boot web application that uses Google's Nano Banana AI to generate YouTube thumbnails from uploaded images and video descriptions.","archived":false,"fork":false,"pushed_at":"2025-09-08T13:47:30.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-08T15:37:49.881Z","etag":null,"topics":["ai","css","gemini","google","html","java","javascript","nano-banana","nano-banana-ai","nanobanana","spring","spring-boot","spring-mvc","spring-web"],"latest_commit_sha":null,"homepage":"","language":"Java","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/mann1809.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-08T12:45:58.000Z","updated_at":"2025-09-08T13:47:33.000Z","dependencies_parsed_at":"2025-09-08T15:52:09.294Z","dependency_job_id":null,"html_url":"https://github.com/mann1809/ai-youtube-thumbnail-generator","commit_stats":null,"previous_names":["mann1809/ai-youtube-thumbnail-generator"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mann1809/ai-youtube-thumbnail-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mann1809%2Fai-youtube-thumbnail-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mann1809%2Fai-youtube-thumbnail-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mann1809%2Fai-youtube-thumbnail-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mann1809%2Fai-youtube-thumbnail-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mann1809","download_url":"https://codeload.github.com/mann1809/ai-youtube-thumbnail-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mann1809%2Fai-youtube-thumbnail-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275370139,"owners_count":25452540,"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-16T02:00:10.229Z","response_time":65,"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","css","gemini","google","html","java","javascript","nano-banana","nano-banana-ai","nanobanana","spring","spring-boot","spring-mvc","spring-web"],"created_at":"2025-09-16T06:01:10.151Z","updated_at":"2025-09-16T06:02:49.345Z","avatar_url":"https://github.com/mann1809.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI YouTube Thumbnail Generator\n\nA Spring Boot web application that leverages Google's Nano Banana AI to generate eye-catching YouTube thumbnails from uploaded images and video descriptions.\n\n## Project Overview\n\nThis application transforms ordinary images into viral-ready YouTube thumbnails using AI. Users upload an image and provide a video description, then the system uses Google's Nano Banana model to create professional, attention-grabbing thumbnails optimized for YouTube's platform.\n\n## Demo \n\n\u003cimg width=\"1344\" height=\"981\" alt=\"image\" src=\"https://github.com/user-attachments/assets/955e0d91-1363-41c2-911d-a1d1e868bd5a\" /\u003e\n\n## Technology Stack\n\n- **Backend**: Spring Boot 3.5.5 with Java 21\n- **AI Integration**: Google Nano Banana Image Preview API\n- **Frontend**: HTML5, CSS3, Vanilla JavaScript\n\n## Features\n\n- **AI-Powered Generation**: Uses Google Nano Banana for intelligent thumbnail creation\n- **Image Upload**: Supports common image formats (JPG, PNG) up to 10MB\n- **Responsive Web Interface**: Clean, modern UI with real-time preview\n- **Download Functionality**: One-click download of generated thumbnails\n\n## Setup and Configuration\n\n### Prerequisites\n\n- Java 21 or higher\n- Maven 3.6+ \n- Google Cloud account with Gemini API access\n\n### Configuration Steps\n\n1. **Get Google Gemini API Key**\n   - Visit [Google AI Studio](https://aistudio.google.com/)\n   - Create a new API key for Gemini\n\n2. **Configure API Key**\n   \n   Update `src/main/resources/application.yml`:\n   ```yaml\n   gemini:\n     api:\n       key: YOUR_ACTUAL_GEMINI_API_KEY_HERE\n       endpoint: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-image-preview:generateContent\n   ```\n\n3. **Build the Application**\n   ```bash\n   mvn clean compile\n   ```\n\n## How to Run\n\n### Development Mode\n```bash\nmvn spring-boot:run\n```\n\n### Production Build\n```bash\nmvn clean package\njava -jar target/generator-0.0.1-SNAPSHOT.jar\n```\n\n### Docker Deployment\n```bash\n# Build the application\nmvn clean package\n\n# Build Docker image\ndocker build -t ai-thumbnail-generator .\n\n# Run container\ndocker run -p 8080:8080 ai-thumbnail-generator\n```\n\n### Access the Application\n- **Web Interface**: http://localhost:8080\n\n## API Documentation\n\n### Generate Thumbnail Endpoint\n\n**URL**: `POST /api/v1/thumbnail`\n\n**Content-Type**: `multipart/form-data`\n\n**Parameters**:\n- `file` (required): Image file (max 10MB, supports common formats)\n- `title` (required): Video description/title for context\n\n**Response**: Binary image data (PNG format)\n\n**Example Usage**:\n```bash\ncurl -X POST http://localhost:8080/api/v1/thumbnail \\\n  -F \"file=@my-image.jpg\" \\\n  -F \"title=Amazing Travel Vlog - Best Destinations 2024\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmann1809%2Fai-youtube-thumbnail-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmann1809%2Fai-youtube-thumbnail-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmann1809%2Fai-youtube-thumbnail-generator/lists"}