{"id":17464122,"url":"https://github.com/mpaepper/stablediffusion_magicmix","last_synced_at":"2025-04-19T18:59:44.306Z","repository":{"id":62671218,"uuid":"561565860","full_name":"mpaepper/stablediffusion_magicmix","owner":"mpaepper","description":"Implementation of the ByteDance MagicMix paper","archived":false,"fork":false,"pushed_at":"2022-11-04T01:56:42.000Z","size":4122,"stargazers_count":20,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T12:02:42.735Z","etag":null,"topics":["deep-learning","generative-ai","stable-diffusion"],"latest_commit_sha":null,"homepage":"https://www.paepper.com/blog/posts/everything-you-need-to-know-about-stable-diffusion/","language":"Jupyter Notebook","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/mpaepper.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}},"created_at":"2022-11-04T01:06:36.000Z","updated_at":"2023-06-30T22:12:37.000Z","dependencies_parsed_at":"2022-11-04T10:49:09.450Z","dependency_job_id":null,"html_url":"https://github.com/mpaepper/stablediffusion_magicmix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpaepper%2Fstablediffusion_magicmix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpaepper%2Fstablediffusion_magicmix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpaepper%2Fstablediffusion_magicmix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpaepper%2Fstablediffusion_magicmix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpaepper","download_url":"https://codeload.github.com/mpaepper/stablediffusion_magicmix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249771304,"owners_count":21323077,"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","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":["deep-learning","generative-ai","stable-diffusion"],"created_at":"2024-10-18T10:44:43.116Z","updated_at":"2025-04-19T18:59:44.290Z","avatar_url":"https://github.com/mpaepper.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StableDiffusion MagicMix\n\nSince the ByteDance paper titled \"MagicMix: Semantic Mixing with Diffusion Models\" (https://arxiv.org/abs/2210.16056) didn't publish their code, I've implemented a Jupyter notebook here, so you can try it out.\n\nThe notebook implements a function called `magic_mix` which takes the path to an image and the prompt towards which it should adapt the image.\n\nAdditional optional parameters:\n\nnu: controls how much the prompt should overwrite the original image in the initial layout phase. If your result is too close to the original image, try increasing this parameter.\n\ntotal_steps: number of inference steps for stable diffusion\n\nguidance_scale: this is the classifier free guidance. The higher this is set, the more it will drive your result towards your prompt.\n\nExamples:\n\n![Example results](magic-mix-examples.gif \"Example results with this notebook\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpaepper%2Fstablediffusion_magicmix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpaepper%2Fstablediffusion_magicmix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpaepper%2Fstablediffusion_magicmix/lists"}