Show HN: Shortbread – Create AI comics in minutes (shortbread.ai)
I built shortbread to help anyone to create comics / manga series. The onboarding process helps you kick start a page from 60%, then you can use your creativity to bring it to 1000% in a fully-controllable editor.
Tech stack:
GPT 3.5 Turbo - the comic script generation. It handled everything from layout, character, scene, SD prompts, to dialogue.
SD 1.5 - We put up SD servers on GCP. For every comic we generate one large image and crop it into panels. Per the experiments of u/Deathmarkedadc on Reddit, this massively helps with consistency. The models are trained on anime scenes tho, and might not be so great with animals.
Frontend: Next.js 13 on Vercel, React + Typescript. We built the entire editor from scratch to compose the comic (images, panels, speech bubbles, text) like a webpage. This allows you to edit and republish your comics like a website. You can dynamically generate panels as well. Try resizing a panel into a long narrow box and generate.
Backend: Firebase.
Sample comics:
a japanese couple sits at dinner table. The husband told the wife a secret (link https://create.shortbread.ai/viewer/debdf25c-3f95-492a-952a-...)
An army of male soldiers fighting against an army of female soldiers in ancient china (https://create.shortbread.ai/viewer/4566613c-7146-4ed7-9b8d-...)
a team of girls play volleyball against a team of boys (https://create.shortbread.ai/viewer/aafc2f61-d008-4f3f-aa8f-... )
Next steps:
- More pages
- Fine panel-level control. Poses, control net, etc.
- Multi-character.
- Different styles.
- Allows you to control character design.
I’m Fengjiao Peng, founder and chief engineer at Shortbread. I was previously a webtoon artist. We want to build this into something you can create entire comics series / manga / webtoons with. Criticism and suggestions welcome!
61 comments
[ 14.7 ms ] story [ 204 ms ] threadSome random suggestions:
- I dunno what diffusion framework you are using, but the AITemplate (for GPUS) or diffusers JAX (for TPUs) backend can massively increase your diffusion throughput.
- Alternatively, I believe HuggingFace already has a JAX backend for Stable Diffusion XL, so you could run a model with much better support for large resolutions/inpainting massive images at a similar (?) speed.
- There are schemes for area prompting and subject "subset" prompting in stable diffusion, as well as using images as input. As an example of how y'all might use this, you could generate a image for Character A, an image for Character B, encode them. specify that the character A prompt latents go on the left side of the image, and the character B prompt latents go on the right side of the image. And of course you can add to these area prompts, like "jumping" on the left side and "ducking" on the right side of the image. There's also a way to specify which prompts/encoded images belong to which subjects instead of manually cutting out areas, see: https://github.com/BlenderNeko/ComfyUI_Cutoff
Yeah, check out their post: https://huggingface.co/blog/sdxl_jax
I dunno how expensive TPU instances are these days, but the performance is insane!
> We tried SDXL but found the quality improvement to be marginal.
Yeah, the vanilla HF diffusers pipe is unimpressive to me.
Try playing with this though, turn on FreeU and specify an anime style: https://github.com/MoonRide303/Fooocus-MRE
I have never gotten such high quality results from simple prompts, even in cloud models like Midjourney/GPT4. The question is how to port even part of that magic over to the diffusers pipeline...
https://github.com/VoltaML/voltaML-fast-stable-diffusion/tre...
The speed jump is massive on my desktop GPU, probably even more dramatic on cloud hardware, and it may support some things (weight swapping/lora swapping/resolution changing/controlnet) better than JAX.
The AITTemplate code is a lightly modified version of Facebook's example dynamic AIT script, to get rid of small issues like VRAM spikes: https://github.com/facebookincubator/AITemplate/tree/main/ex...
InvokeAI is also diffusers based, but they seem to mess with the pipeline a bit more.
Anyway, all that may be better as a reference for interesting features rather than a backend to try and adopt.
I'm not a comic book artist by any means but now I can add this to my skills list with this.
Is there any pricing yet on this and is this backed by YC or bootstrapped?
Main challenge I see is character consistency. I really like the way you set up the prompts, but even so:
Outfit - a simple black sleeveless gi with white pants, a black belt tied around his waist
In two consecutive panels, the output swaps the colors (first panel gets it right, second panel has white gi, black pants).
Curious how you'll tackle this challenge!
Maybe you could build a UI that semi-automates this process?
Perhaps a more simplified style might work better.
I give summary => site gives me panel descriptions to choose from
I pick descriptions = > Site creates a "skeleton" layout option for each panel. At this point I can modify the skeleton or save them
I get skeleton layout => Site makes it look pretty
With each stage modifiable
I think this is very cool and well made.
There's not a lot of plot in a single page, but even with that I wish I had more control, and for longer pieces I would absolutely want a lot more control. I'd want to see some basic text previews, and be able to control both the large scale and fine scale of the progression. I'd want to be able to control the tone of the piece, clarify points that GPT might not be picking up on, override choices, etc. I might tweak some dialog... but most of the changes I envision are before dialog, about how scenes are broken up, or the basic premise of the story/world.
Many of the other features you list (outside of more pages, of course) feel less important than the story building itself. (But that's also coming from my personal interest in the story design.)
https://create.shortbread.ai/viewer/08769382-4e2f-426a-9779-...
The only negative feeling I had was that the layouts are kind of dull, no real way to do angled panels and break up the strict horizontal/vertical flow. But since this would probably be used in combination with image editor software, that is not such a big deal.
https://create.shortbread.ai/viewer/41e5642c-86ee-421e-b985-...
The original (SFW, despite the warning):
https://www.oglaf.com/trapmaster/
The writing obviously will need work, but I can see this being much better in six years time. The fact we can do this at all is pretty neat. And honestly, a lot of people have a hard time going from zero to one. It's much easier for most people to fiddle and edit something, than to stare at a blank page.
I suspect this kind of workflow will permeate all kinds of work, where the generative AI gives us a starting point, and we go from here. The question then, is whether starting points matter, because it's still a far gap to get to the Oglaf strip given the current starting point. Would some people fare better by random? Or we can make AIs that have enough context to know what's fresh for people?
There’s a typo on the message founders page.
Whats the SD workflow? Which models, tools (controlnet, etc) do you use?
One thing that stuck out to me about the https://create.shortbread.ai/viewer/4566613c-7146-4ed7-9b8d-... example, and to a lesser extent the https://create.shortbread.ai/viewer/aafc2f61-d008-4f3f-aa8f-... example is that the people of opposing teams sometimes face in the same direction. Typically you'd have them physically facing each other.
But that is very much a nit-pick. And one that a human can manually fix when looking at the result by mirroring some of the panels. This is super cool!
ChatGPT vs Jarvis : https://create.shortbread.ai/viewer/9a646605-124d-4dfe-8dca-...