{"id":49573274,"url":"https://github.com/aminammar1/image-generator-next-app","last_synced_at":"2026-05-03T15:37:49.034Z","repository":{"id":348630332,"uuid":"1199064761","full_name":"aminammar1/image-generator-next-app","owner":"aminammar1","description":"AI-powered creative generation studio generate images, edit photos, and create videos from a single workspace.","archived":false,"fork":false,"pushed_at":"2026-04-02T03:04:26.000Z","size":27877,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-02T16:13:15.082Z","etag":null,"topics":["fastapi","image-generation","nextjs","replicate"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/aminammar1.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":"2026-04-02T02:46:54.000Z","updated_at":"2026-04-02T14:11:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/aminammar1/image-generator-next-app","commit_stats":null,"previous_names":["aminammar1/ai-media-studio-app"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/aminammar1/image-generator-next-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminammar1%2Fimage-generator-next-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminammar1%2Fimage-generator-next-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminammar1%2Fimage-generator-next-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminammar1%2Fimage-generator-next-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aminammar1","download_url":"https://codeload.github.com/aminammar1/image-generator-next-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminammar1%2Fimage-generator-next-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32575114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["fastapi","image-generation","nextjs","replicate"],"created_at":"2026-05-03T15:37:47.623Z","updated_at":"2026-05-03T15:37:49.020Z","avatar_url":"https://github.com/aminammar1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"web/public/screenshots/swappy-20260402-031358.png\" width=\"700\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eamine studio\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eAI-powered creative generation studio — generate images, edit photos, and create videos from a single workspace.\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Next.js-16-000?style=flat-square\u0026logo=nextdotjs\u0026logoColor=white\" alt=\"Next.js\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/React-19-61DAFB?style=flat-square\u0026logo=react\u0026logoColor=black\" alt=\"React\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/TypeScript-5-3178C6?style=flat-square\u0026logo=typescript\u0026logoColor=white\" alt=\"TypeScript\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Tailwind_CSS-4-06B6D4?style=flat-square\u0026logo=tailwindcss\u0026logoColor=white\" alt=\"Tailwind CSS\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Framer_Motion-12-0055FF?style=flat-square\u0026logo=framer\u0026logoColor=white\" alt=\"Framer Motion\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/FastAPI-0.115-009688?style=flat-square\u0026logo=fastapi\u0026logoColor=white\" alt=\"FastAPI\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-3.15-3776AB?style=flat-square\u0026logo=python\u0026logoColor=white\" alt=\"Python\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Replicate-API-000?style=flat-square\u0026logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiLz48L3N2Zz4=\u0026logoColor=white\" alt=\"Replicate\" /\u003e\n\u003c/p\u003e\n\n---\n\n## ✨ Features\n\n| Feature | Description |\n|---|---|\n| **Image Generation** | Generate images from text prompts using Google Imagen 4 via Replicate |\n| **Image Editing** | Upload a photo and describe edits — the AI applies style changes, background swaps, and more |\n| **Video Generation** | Turn a still frame into a 6-second video using Minimax video-01 |\n| **Style Presets** | Three curated aesthetic lanes: Women Authentic, Anime, and Menswear |\n| **B\u0026W Design** | Premium black-and-white UI with grayscale images that reveal color on hover |\n| **LTX-Inspired Effects** | Parallax hero, scroll animations, text shimmer, film grain, floating orbs |\n| **Separate Landing + Studio** | Clean storytelling on `/` and focused creation on `/studio` |\n\n## 📸 Media Showcase\n\n### Application Walkthrough Video\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"web/public/screenshots/demo.gif\" alt=\"Application Walkthrough Video\" width=\"100%\" /\u003e\n\u003c/div\u003e\n\n### Interface Screenshots\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"web/public/screenshots/swappy-20260402-031500.png\" width=\"48%\" alt=\"Application UI\" /\u003e\n  \u0026nbsp;\n  \u003cimg src=\"web/public/screenshots/swappy-20260402-031358.png\" width=\"48%\" alt=\"Studio Panel\" /\u003e\n\u003c/p\u003e\n\n## 🏗️ Tech Stack\n\n### Frontend\n- **[Next.js 16](https://nextjs.org/)** — React framework with App Router and Turbopack\n- **[React 19](https://react.dev/)** — UI component library\n- **[TypeScript](https://www.typescriptlang.org/)** — Type-safe JavaScript\n- **[Tailwind CSS 4](https://tailwindcss.com/)** — Utility-first CSS\n- **[Framer Motion](https://www.framer.com/motion/)** — Scroll-triggered animations and transitions\n- **[Lucide React](https://lucide.dev/)** — Icon library\n\n### Backend\n- **[FastAPI](https://fastapi.tiangolo.com/)** — Python API server\n- **[Uvicorn](https://www.uvicorn.org/)** — ASGI server\n- **[Replicate](https://replicate.com/)** — AI model hosting (Imagen 4 + video-01)\n\n### AI Models\n| Model | Provider | Use |\n|---|---|---|\n| `google/imagen-4` | Replicate | Image generation + editing |\n| `minimax/video-01` | Replicate | Image-to-video generation |\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- **Python 3.15+**\n- **Node.js 20+**\n- **Replicate API Token** — [Get one here](https://replicate.com/account/api-tokens)\n\n### 1. Clone the repo\n\n```bash\ngit clone \u003cyour-repo-url\u003e\ncd image-video-ai-app\n```\n\n### 2. Set up environment\n\n```bash\ncp .env.example .env\n# Edit .env and add your REPLICATE_API_TOKEN\n```\n\n### 3. Install dependencies\n\n```bash\nmake install\n```\n\n### 4. Run the dev server\n\n```bash\nmake dev\n```\n\nThis starts both:\n- **Backend** at `http://localhost:8000`\n- **Frontend** at `http://localhost:3000`\n\n## 📁 Project Structure\n\n```\nimage-video-ai-app/\n├── app/                    # FastAPI backend\n│   ├── api/                # API routes\n│   ├── providers/          # AI provider integrations\n│   ├── services/           # Business logic\n│   ├── config.py           # Configuration\n│   ├── main.py             # FastAPI app entry\n│   └── schemas.py          # Request/response schemas\n├── web/                    # Next.js frontend\n│   ├── public/             # Static assets (images, screenshots)\n│   ├── src/\n│   │   ├── app/            # App Router pages + API routes\n│   │   │   ├── api/        # Next.js API routes (image, edit, video)\n│   │   │   ├── studio/     # Studio page\n│   │   │   ├── globals.css # Global styles\n│   │   │   ├── layout.tsx  # Root layout\n│   │   │   └── page.tsx    # Landing page\n│   │   ├── components/     # React components\n│   │   │   ├── ui/         # Shadcn-style primitives\n│   │   │   ├── landing-page.tsx\n│   │   │   └── studio-panel.tsx\n│   │   └── lib/            # Utilities, API helpers, model config\n│   └── package.json\n├── scripts/                # Utility scripts\n├── tests/                  # Backend tests\n├── Makefile                # Dev commands\n├── requirements.txt        # Python dependencies\n└── README.md\n```\n\n## 🛠️ Available Commands\n\n| Command | Description |\n|---|---|\n| `make install` | Install all Python + Node dependencies |\n| `make dev` | Start backend + frontend together |\n| `make run-api` | Start FastAPI backend only |\n| `make run-web` | Start Next.js frontend only |\n| `make test` | Run backend tests |\n| `make live-test` | Run live Replicate model test |\n| `make check-token` | Validate Replicate API token |\n| `make web-build` | Production build of Next.js |\n| `make web-lint` | Lint the frontend |\n| `make clean` | Remove all caches and build output |\n\n## 📄 License\n\nMIT\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003csub\u003eBuilt with 🖤 by amine\u003c/sub\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminammar1%2Fimage-generator-next-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faminammar1%2Fimage-generator-next-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminammar1%2Fimage-generator-next-app/lists"}