Open Kardbord opened 1 year ago
The implementation of this issue is going to change significantly with the move to Open AI's Dalle-2 service as opposed to Jina AI's dalle-flow. See #74.
With the introduction of /render
in #101 the implementation details of this will be affected, but the overall scope remains the same.
Overview
jina-ai/dalle-flow provides a relatively simple client interface for human-in-the-loop generation of images from user prompts. When
/dalle-flow
was initially implemented, all human interaction beyond the initial prompt was removed for simplicity. For a better user experience, human-in-the-loop functionality should now be added back in. The interaction should go something like this.Subtasks
Edit: These subtasks are OBE. See below.
- [x] Updatedalle-flow.py
to optionally take a prompt, generate images, and write the the sprite plot to disk.- [ ] Updatedalle-flow.py
to optionally take a path to a sprite plot, diffuse a selected sprite, and write the result to disk.- [ ] Updatedalle-flow.py
to optionally take a path to a sprite plot, upscale a selected sprite, and write the result to disk.- [ ] Update/dalle-flow
interaction to return a sprite plot with buttons for upscaling or diffusion.- [ ] Implement upscale button handlers.- [ ] Implement diffusion button handlers.