Lurker News

Comments (104) 42 threads

altryne14 replies#
I've used this + Groq yesterday to augment (with a chrome extension) the infinite fun game from Neal Agrawal, but generate actual images and not only emojis.

This feels like the future, near real time image and LLM generation (using Mixtral from Groq as my prompt writer) and Fal API for read time generation!
https://x.com/altryne/status/1760561501096575401?s=20

lakshyaag1 reply#
Woah, that's pretty cool. Wondering if it can be converted into a card-based game
pitherpather2 replies#
> a game

Competitive prompting?

Zircom1 reply#
I've had an idea for a cards vs humanity style game but using image generation instead, there's a central card for the round and you add something from your hand and then pick from 5-10 images to submit.

Continue this thread — 1 reply

jcims#
Prompt Fighter!
airstrike1 reply#
that was a pretty cool video / demo / idea. good stuff!
bigboy12#
Holy shit!!!
albert_e#
Idea: convert this into a side scrolling game where the background gradually and seamlessly transitions into a rendering of the words we are dealing with as we progress.

I am imagining the green lush landscape from early parts of the demo to slowly transform into the dry mountainous landscape from later images while new characters appear in the foreground.
(I'd posted this comment incorrectly under the main HN post earlier, instead of as reply here. Too late to delete it apparently.)

mdrzn#
Damn that looks great! Any chance of sharing the chrome extension?
treesciencebot1 reply#
Yep, this is using SDXL Lightning underneath which is trained by ByteDance on top of Stable Diffusion XL and released as an open source model. In addition to that, it is using our inference engine and real-time infrastructure to provide a smooth experience compared to other UIs out there (which as far as I know, speed-wise, are not even comparable, ~370ms for 4 step here vs ~2-3 seconds in the replicate link you posted).
smallerfish1 reply#
Any plans to make an API? I'm building a website to catalog fairly common objects, and could use images to spice it up. I was looking at pexels...but this is just so much better.

EDIT - ah you have one. You're welcome. Sign up here folks. :)
Couple of questions in that case: a) What is the avg price per 512x512 image? Your pricing is in terms of machine resources, but (for my use case) I want a comparison to pexels. b) What would the equivalent machine setup be to get inference to be as fast as the website demo? c) Is the fast-sdxl api using the exact same stack as the website?

drochetti#
There's no hidden magic in the playground and in the demo app, we use the same API available for all customers and also the same JS client and best practices available in our docs.

To all your questions, I recommend playing with it in the API playground, you'll be able to test different image sizes, parameters, and have an idea of the cost per inference.
If you have any other questions, say hello on our Discord and I'm happy to help you.
https://fal.ai/models/stable-diffusion-xl-lightning

01HNNWZ0MV43FF1 reply#
What's the RAM and speed like for local inference?
r-k-jo1 reply#
It's using ~15GB VRAM
lonk1 reply#
What is the speed with CPU+16GB ram without GPU?

Continue this thread — 1 reply

r-k-jo1 reply#
I also made a demo with Gradio, but it's 2x slower than fal.ai! Using stable-fast compilation running on a single A10G

https://huggingface.co/spaces/radames/Real-Time-Text-to-Imag...
I you have GPU/cuda/Docker you can try it locally
docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all -e SFAST_COMPILE="1" -e USE_TAESD="0" registry.hf.space/radames-real-time-text-to-image-sdxl-lightning:latest python app.py

smcleod#
This is fantastic, thank you so much for taking the time to make a local demo available.
treesciencebot#
Spatial prompt adherence is a general missing piece is SDXL (or previous versions of the SD). Hoping that the SD will get it into a good shape as your examples!

Test the example on Stable Cascade as well (latest open-weight stability model), and yeah, even that is not great at it https://fal.ai/models/stable-cascade?share=eab44060-690b-497....

nomel#
Cycling through different seeds gives very different results.
refulgentis1 reply#
_Really_ impressive demo but it'd be oh-so-much-more-impressive if it was smooth, right now ex. deleting a word or adding a space causes 4 inferences in quick session so it feels janky (EDIT: maybe intentional? step by step displayed?)

Btw this is from fal.ai, I first heard of them when they posted a Stable Cascade demo the morning it was released.
They're *really* good, I *highly* recommend them for any inferencing you're doing outside OpenAI. Been in AI for going on 3 years, and on it 24/7 since last year.
Fal is the first service that sweats the details to get it to the point it runs _this_ fast in practice, not just in papers. ex. web socket connection, use short-lived JWTs to avoid having to go through an edge function to sign a request with an API key, etc.

jameshart1 reply#
Good point. If it’s this fast, maybe it should generate intermediate images along a smooth path through the latent space, rather than just jumping right to the target
refulgentis2 replies#
It's sort of the inverse if I'm seeing it correctly: adding one character triggers one inference, but you see steps 1, 2, 3, and 4 of the inference

the latent space stuff became popular through it being a visual allegory, which accidentally confused the technical term it originated from. there's nothing visually smooth about it, it's not a linear interpolation in 3D space, it's a chaotic journey through 3 billion dimension space

jameshart#
Well, it ends up being a journey through different images pulled from the same noise, so yes, any smoothness results more from the degree to which the sampling approach produces similar features when pulled towards slightly different target embeddings than from intrinsically the images being 'neighbors'.

These low-step approaches probably preserve a lot less of the 'noise' features in the final image so latent space cruising is probably less fun.

FeepingCreature1 reply#
Sure, but it still has to result in a smooth interpolation. If the relation between latent and pixel space isn't continuous you're gonna have problems during learning.

Continue this thread — 1 reply

Load more comments