diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

[Community Pipeline] Mix Prompting pipeline?

Open daspartho opened this issue 3 years ago • 1 comments

Idea

I've been playing with this concept of mixed embeddings. The premise is simple: the pipeline takes a list of prompts and generates images based on a mix of embeddings of the prompts. It produces some interesting mixed-up outcomes.

Example

Prompt 1: a mountain, cinematic angle, studio Ghibli, cinematic lighting, detailed oil painting, hyperrealistic, 8k Prompt 2: A long and winding beach, tropical, bright, simple, by Studio Ghibli and Greg Rutkowski, artstation

Prompt 1 only

mountain64

Prompt 2 only

beach64

Prompt 1 + Prompt 2

mix64

Implementation

I've put up a working implementation for this here. I could open up a PR for a community pipeline for this if that's something folks would like to be added. #841

daspartho avatar Oct 27 '22 15:10 daspartho

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Nov 27 '22 15:11 github-actions[bot]

There is a ICLR 2022 paper "PROMPT-TO-PROMPT IMAGE EDITING WITH CROSS-ATTENTION CONTROL" that does similar but more things into the pipeline. There are also open sourced code in the web, would be interesting to add them to Diffusers too @patrickvonplaten https://github.com/google/prompt-to-prompt

Randolph-zeng avatar Dec 08 '22 02:12 Randolph-zeng

Hey @Randolph-zeng, we are working on enabling exactly this use case: https://github.com/huggingface/diffusers/pull/1639

patrickvonplaten avatar Dec 12 '22 14:12 patrickvonplaten

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Apr 12 '23 15:04 github-actions[bot]