Instructions to use krea/Krea-2-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use krea/Krea-2-Turbo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Turbo", dtype=torch.bfloat16, device_map="cuda") prompt = "A small, dark-colored cat is captured mid-stride, walking down the center of a narrow, abandoned street. The street is paved and appears cracked and worn. On either side of the street are tall, dilapidated buildings with visible brickwork and windows. A street lamp stands on the right side. The entire image is rendered in a monochromatic blue, with a distinct halftone dot pattern overlaying the scene, giving it a retro or printed appearance. The focus is soft, and the lighting is diffused, creating a hazy, atmospheric effect. The perspective is from ground level, looking down the length of the street, which narrows into the distance., halftone texture" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Most difficult challenge for devs
A torch...without flame... straight upwards... IMPOSSIBLE DIFFICULTY TASK.
always a human, ok i can put in negatives = works
always flame, no fire, no flame = nothing works...
straight, straight upwards = NO KEYWORD WORKS..EVER...
why... how come?
Do i do 1girl prompts? hmmm i do need what i need... and thats just ONE EXAMPLE.
Im not trying to make krea2 look bad, thats why i only give one example.
Also, yes id be happy with a prompt that works if you capable for making such prompt, let me know.
I do need black background..
instead of saying without flame, say unlit, so maybe something like "unlit torch, pointing upwards, black background".
actually your sentence works with commas:
A torch, without flame, straight upwards, black background
what were those DOTS ???
actually your sentence works with commas:
A torch, without flame, straight upwards, black background
what were those DOTS ???
the dots show "part of the sentence". I use either full stentences in prompts or just tags separated by commas. Anyway this model is nowhere near ready for some fun projects, its all about the people and stuff. Quite limited, they just focused on realism and not much else.
Try yourself! black background was so i could have easier time making some assets for fun project, it failed with torch, or wall candle holder or other things. Thats what dots are to describe that i could fill up more examples than just these... bro. anyway no need to beat the dead horse i will close the thread. this model is good for other things but not for what i needed.