{"id":31620755,"url":"https://github.com/vero-code/gameassets-ai","last_synced_at":"2025-10-06T15:05:10.903Z","repository":{"id":315897448,"uuid":"1060662048","full_name":"vero-code/gameassets-ai","owner":"vero-code","description":"AI-powered forge for indie game developers. ⚔️ Instantly create endless asset variations using Black Forest Labs' FLUX.1 Kontext model.","archived":false,"fork":false,"pushed_at":"2025-09-21T12:21:48.000Z","size":6471,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-21T14:31:34.681Z","etag":null,"topics":["black-forest-labs","flux","game-assets","game-development","generative-ai","gradio","hackathon","machine-learning","python"],"latest_commit_sha":null,"homepage":"https://devpost.com/software/gameassets-ai","language":"Python","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/vero-code.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-20T10:36:30.000Z","updated_at":"2025-09-21T12:21:52.000Z","dependencies_parsed_at":"2025-09-21T14:41:44.546Z","dependency_job_id":null,"html_url":"https://github.com/vero-code/gameassets-ai","commit_stats":null,"previous_names":["vero-code/gameassets-ai"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/vero-code/gameassets-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vero-code%2Fgameassets-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vero-code%2Fgameassets-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vero-code%2Fgameassets-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vero-code%2Fgameassets-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vero-code","download_url":"https://codeload.github.com/vero-code/gameassets-ai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vero-code%2Fgameassets-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278629051,"owners_count":26018483,"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-10-06T02:00:05.630Z","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":["black-forest-labs","flux","game-assets","game-development","generative-ai","gradio","hackathon","machine-learning","python"],"created_at":"2025-10-06T15:05:05.962Z","updated_at":"2025-10-06T15:05:10.897Z","avatar_url":"https://github.com/vero-code.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GameAssets AI ⚔️\n\n[![Python](https://img.shields.io/badge/Python-3.10+-blue?logo=python\u0026logoColor=white)](https://www.python.org/)\n[![Gradio](https://img.shields.io/badge/Gradio-UI-orange?logo=gradio)](https://www.gradio.app/)\n[![fal.ai](https://img.shields.io/badge/fal.ai-API-green?logo=fastapi\u0026logoColor=white)](https://fal.ai)\n[![FLUX.1 Kontext](https://img.shields.io/badge/FLUX.1-Kontext-purple?logo=openai\u0026logoColor=white)](https://blackforestlabs.ai/)\n\nAn AI-powered forge for indie developers to generate and transform game assets. Upload a base sprite and instantly create endless fantasy variations using the **FLUX.1 Kontext [dev]** model. \n\n*This project was built for the [Black Forest Labs - FLUX.1 Kontext [dev] Hackathon](https://devpost.com/software/gameassets-ai)*.\n\n![GameAssets AI Logo](assets/logo.png)\n\n🎥 Watch the demo video here: [YouTube link](https://youtu.be/7aJzwBhNUwQ)\n\n## 🚀 Features\n\n  - **Dual Generation Modes:** Choose between two powerful modes for different creative needs. \n  - 🎨 **Inspiration Mode:** Upload a base asset and instantly generate four unique, stylized variations (Fiery, Icy, Ancient, Magic) to spark new ideas. \n  - 🎯 **Single Image Mode:** Take full control by writing a detailed prompt to generate a single, specific asset. \n  - **Interactive UI:** A simple and intuitive web interface built with Gradio. No command line needed. \n  - **Clickable Examples:** Get started immediately by selecting one of the built-in examples (shield, mace, potion, boots).\n\n## 🛠️ Technology \u0026 Model\n\n- **Core AI Model:**  **FLUX.1 Kontext [dev]** by Black Forest Labs\n- **Cloud Inference:**  **fal.ai** for running the model via API\n- **Web Interface:**  **Gradio** for creating the interactive UI\n- **Core Language:**  **Python**\n- **Key Libraries:**  **Pillow** (for image processing), **Requests** (for handling web data)\n\n## 📦 Installation\n\nFollow these steps to get the application running locally.\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/vero-code/gameassets-ai.git\ncd gameassets-ai\n```\n\n### 2. Create Virtual Environment \u0026 Install Dependencies\n\n```bash\n# Create and activate the virtual environment \npython -m venv venv \nvenv\\Scripts\\activate \n\n# Install required packages\npip install -r requirements.txt\n```\n\n### 3. Add Asset Examples\n\nCreate a folder named `assets` in the project's root directory and download the example images into it.\n\n### 4. Set Up API Key\n\n1.  Get your API key from **fal.ai**.\n    \n2.  Create a file named `.env` in the project's root directory.\n    \n3.  Add your key to the file like this:\n\n```\nFAL_KEY=\"your_fal_key_here\"\n```\n\n## ▶️ Usage\n\nWith your environment activated and the `.env` file in place, run the application:\n\n```bash\npython src/app.py\n```\n\nThis will start a local web server. Open the URL provided in the terminal (usually `http://127.0.0.1:7860`) in your web browser to use the app.\n  \n\n### 🖍️ Test file\n\nRun test script:\n\n`python src/test_api.py`\n\nIt will send a request to FLUX.1 Kontext [dev] and return a generated image URL.\nExample output:\n`Generated image URL: https://v3b.fal.media/files/...jpg Size: 832 x 448 Inference time: 1.26 seconds`\n\n## 📂 Project structure\n\n```\ngameassets-ai/\n├─ assets/\n│ └─ ...\n├─ src/\n│ ├─ app.py\n│ └─ test_api.py\n├─ venv/\n├─ .env.example\n├─ .gitignore\n├─ README.md\n└─ requirements.txt\n```\n\n## 📄 License\n\nThis project is licensed under the **MIT License**.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvero-code%2Fgameassets-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvero-code%2Fgameassets-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvero-code%2Fgameassets-ai/lists"}