{"id":51011396,"url":"https://github.com/xsa-dev/ai-lofi-generator","last_synced_at":"2026-06-21T03:03:19.090Z","repository":{"id":353838596,"uuid":"1221106977","full_name":"xsa-dev/ai-lofi-generator","owner":"xsa-dev","description":"AI-powered lofi music generation using MusicGen, VAE, and other models","archived":false,"fork":false,"pushed_at":"2026-05-19T09:52:45.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-19T12:26:59.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/xsa-dev.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-25T19:03:38.000Z","updated_at":"2026-05-19T09:52:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/xsa-dev/ai-lofi-generator","commit_stats":null,"previous_names":["xsa-dev/ai-lofi-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xsa-dev/ai-lofi-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xsa-dev%2Fai-lofi-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xsa-dev%2Fai-lofi-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xsa-dev%2Fai-lofi-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xsa-dev%2Fai-lofi-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xsa-dev","download_url":"https://codeload.github.com/xsa-dev/ai-lofi-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xsa-dev%2Fai-lofi-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34592057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"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":[],"created_at":"2026-06-21T03:03:17.639Z","updated_at":"2026-06-21T03:03:19.085Z","avatar_url":"https://github.com/xsa-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Music Generator (Multi-Genre)\n\nGenerate instrumental music tracks via MiniMax Music 2.6 API. Supports multiple built-in genres (lofi, hiphop, rock, metal) plus unlimited custom JSON presets.\n\n## Active script\n\n| File | Description |\n|------|-------------|\n| `model/gen_minimax_lofi.py` | Random generation with built-in skills: `lofi`, `hiphop` + custom JSON skills |\n\n## Usage\n\n```bash\nexport MINIMAX_API_KEY='...'\n\n# 5 tracks (default: lofi)\npython model/gen_minimax_lofi.py\n\n# 10 hiphop tracks (backward-compatible flag)\npython model/gen_minimax_lofi.py 10 --style hiphop\n\n# same through the new feature flag\npython model/gen_minimax_lofi.py 10 --skill hiphop\n\n# custom skill from model/skills/*.json\npython model/gen_minimax_lofi.py 6 --skill hiphop_dark\n```\n\n## Custom skills feature\n\nYou can add your own generation skill preset as JSON files in `model/skills/`.\n\n- Each file should contain: `bpm_ranges`, `moods`, `genres`, `instruments`, `drums`, `textures`, `ambiences`, `arrangements`, `extras`\n- Optional `name` overrides filename as skill name\n- Example included: `model/skills/hiphop_dark.json`\n\nOutput files are saved to:\n- `model/lofi_tracks/*.mp3`\n- `model/lofi_tracks/*.meta.json` — prompt saved immediately per track\n- `model/lofi_tracks/prompts.log`\n\n## Notes\n\n~6 requests/minute. Cap at ~6-10 tracks per 10-minute window.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxsa-dev%2Fai-lofi-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxsa-dev%2Fai-lofi-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxsa-dev%2Fai-lofi-generator/lists"}