{"id":13456168,"url":"https://github.com/feffy380/prompt-morph","last_synced_at":"2025-03-24T09:31:35.723Z","repository":{"id":163545015,"uuid":"544663888","full_name":"feffy380/prompt-morph","owner":"feffy380","description":"Generate morph sequences with Stable Diffusion. Interpolate between two or more prompts and create an image at each step.","archived":false,"fork":false,"pushed_at":"2023-09-12T23:27:19.000Z","size":29,"stargazers_count":116,"open_issues_count":7,"forks_count":16,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-28T23:33:55.753Z","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/feffy380.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}},"created_at":"2022-10-03T02:12:35.000Z","updated_at":"2024-10-18T19:37:20.000Z","dependencies_parsed_at":"2024-01-13T17:48:37.796Z","dependency_job_id":"b65586be-52cb-4ba6-b900-d00f463efa2f","html_url":"https://github.com/feffy380/prompt-morph","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/feffy380%2Fprompt-morph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feffy380%2Fprompt-morph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feffy380%2Fprompt-morph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feffy380%2Fprompt-morph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feffy380","download_url":"https://codeload.github.com/feffy380/prompt-morph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245243319,"owners_count":20583606,"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":[],"created_at":"2024-07-31T08:01:17.181Z","updated_at":"2025-03-24T09:31:35.378Z","avatar_url":"https://github.com/feffy380.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# prompt-morph\nGenerate morph sequences with Stable Diffusion. Interpolate between two or more prompts and create an image at each step.\n\n# Installation\nAutomatic Install:\n1. Add this repository's url (https://github.com/feffy380/prompt-morph.git) to SD Web UI under Extensions -\u003e Install from URL\n2. Restart UI\n\nManual Install:\n1. Copy `prompt_morph.py` into the `scripts` folder in [AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)\n2. Add `moviepy==1.0.3` to `requirements_versions.txt` or install it manually\n\nEnter at least two prompts in the text area in the script interface (one per line). If you use a negative prompt, it will apply to the whole sequence.\nThe script creates a `morphs` directory in your output directory and saves each sequence in its own folder here.  \n\n# How does it work?\nAn explanation of multi-cond guidance from Birch-san can be found [here](https://www.reddit.com/r/StableDiffusion/comments/xr7wwf/sequential_token_weighting_invented_by/iqdm5ya/) but in summary, multiple prompts are used to guide the sampling process. Each prompt has a weight, which allows us to animate a transition from A to B by going from 100% A and 0% B to 0% A and 100% B.\n\n# Example\n[morbin_time.webm](https://user-images.githubusercontent.com/114889020/193788624-872bc76c-d045-458f-8e9c-8a13815017e8.webm)\n\n# Credits\n- Old multi-cond guidance code borrowed from [Birch-san](https://github.com/Birch-san/stable-diffusion/blob/birch-mps-waifu/scripts/txt2img_fork.py)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeffy380%2Fprompt-morph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeffy380%2Fprompt-morph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeffy380%2Fprompt-morph/lists"}