{"id":13695296,"url":"https://github.com/cbh123/youtune","last_synced_at":"2025-07-30T14:14:23.483Z","repository":{"id":203852923,"uuid":"710537800","full_name":"cbh123/youtune","owner":"cbh123","description":"Fine tune SDXL on YouTube videos","archived":false,"fork":false,"pushed_at":"2024-08-20T13:30:17.000Z","size":46,"stargazers_count":175,"open_issues_count":4,"forks_count":19,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-03T11:21:22.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/cbh123.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}},"created_at":"2023-10-26T22:51:49.000Z","updated_at":"2025-02-20T03:36:53.000Z","dependencies_parsed_at":"2023-11-07T15:29:54.095Z","dependency_job_id":"6cccb5bf-982b-4d04-b526-948fa715e6df","html_url":"https://github.com/cbh123/youtune","commit_stats":null,"previous_names":["cbh123/youtune"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cbh123/youtune","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbh123%2Fyoutune","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbh123%2Fyoutune/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbh123%2Fyoutune/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbh123%2Fyoutune/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbh123","download_url":"https://codeload.github.com/cbh123/youtune/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbh123%2Fyoutune/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267881654,"owners_count":24159944,"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-07-30T02:00:09.044Z","response_time":70,"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":"2024-08-02T18:00:20.820Z","updated_at":"2025-07-30T14:14:23.434Z","avatar_url":"https://github.com/cbh123.png","language":"Python","funding_links":[],"categories":["Built with Replicate"],"sub_categories":[],"readme":"# YouTune\n\n![DALL·E 2023-10-26 19 39 10 - Photo of a sophisticated logo for 'YouTune'  The design emphasizes the theme of tuning videos  It incorporates a stylized film reel that intertwines w](https://github.com/cbh123/youtune/assets/14149230/808411aa-cecc-4735-a2dd-18344317601a)\n\n[YouTune Video Walkthrough](https://www.loom.com/share/193fa040b8074f44bb5ddabd4dd42b01?sid=4b09aa1b-5cd6-4e4f-a538-d3d62cb1bdc0)\n\nYouTune makes it really easy to:\n\n- fine-tune SDXL on images from YouTube videos\n- fine-tune MusicGen on audio from YouTube videos\n\n## Fine-tuning SDXL\n\nJust give it a URL and a model name on Replicate, and it’ll download the video, take screenshots of every 50 frames, remove near duplicates and very light/dark images, and create a training for you.\n\n```bash\npython tune.py \u003cyoutube-url\u003e\n```\n\n## Fine-tuning MusicGen\n\nWith `--audio`, it’ll download just the audio, convert it to mp3 and create a training for you.\n\n```bash\npython tune.py \u003cyoutube-url\u003e --audio\n```\n\n## Setup\n\nClone this repo, and setup and activate a virtualenv:\n\n```bash\npython3 -m pip install virtualenv\npython3 -m virtualenv venv\nsource venv/bin/activate\n```\n\nThen, install the dependencies:\n`pip install -r requirements.txt`\n\nMake a [Replicate](https://replicate.com) account and set your token:\n\n`export REPLICATE_API_TOKEN=\u003ctoken\u003e`\n\n## Run it!\n\n```bash\npython tune.py \u003cyoutube-url\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbh123%2Fyoutune","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbh123%2Fyoutune","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbh123%2Fyoutune/lists"}