-
Notifications
You must be signed in to change notification settings - Fork 22
PowerUp
This will try to create a 3D model and an .stl file of your image. Simply drop an image into Input Image
and press Generate
.
By default this uses the repo at stabilityai/stable-fast-3d which require a Huggingface token. Create an account at huggingface and make a token here, then add this in the prompt token: hf_...your token...
the first time you run Img2STL. Alternatively use another repo like cocktailpeanut/sf3d by adding "img2stl_repo": "cocktailpeanut/sf3d"
to your RuinedFooocus\settings\settings.json
. (Just be careful to get the commas right so you don't mess up the json file.)
Evolve is a tool that will let you choose a prompt and then randomly change parts of it. This works best with a fixed seed, then get a prompt and click one of the numbers. RF will generate 9 new images, with slightly different prompts. Click the number that match the image you like best, and you will get 9 new mutations of that prompt...and so on.
You can select if you want individual tokens to be ranbdomized, or random words to be changed or let One Button Prompt handle it. Evolve chance %
is the chance for a word/token in the prompt to be replaced.
RuinedFooocus also has a built-in LLM. You can access it by clicking on the 🦙 button. By default your prompt is sent to Llama 3.2 3B Instruct that has been given the instructions "You are an artist, describe a beautiful scene using the words from the user." This will hopefully expand your very simple prompt into an interesting prompt.
Even a very simple prompt like "sausage" could turn into:
That's an... interesting choice! Here's a beautiful scene I came up with, using the word
"sausage" as a starting point:
As the sun set over the rolling hills, a lone figure strolled through the lush green meadow,
carrying a basket filled with the day's catch. Among the fresh herbs and juicy fruits, a perfectly
grilled sausage sizzled away, its savory aroma wafting up towards the sky like a tantalizing melody.
The sound of children's laughter and the gentle rustling of leaves in the breeze created a soothing
background hum, as the figure settled down on a blanket of soft grass to enjoy a simple yet satisfying
picnic.
The sausage, expertly seasoned with a hint of paprika and a sprinkle of thyme, was the crown jewel of
the feast, its golden-brown skin glistening with a delicate sheen. As the figure took their first bite,
the flavors of the sausage mingled with the sweetness of the nearby wildflowers, transporting them to a
state of pure bliss. The world, with all its worries and cares, melted away, leaving only the beauty of
the present moment.
And as the stars began to twinkle in the night sky, the figure lay back, surrounded by the peaceful
sounds of nature, their senses sated, and their heart filled with contentment. The sausage, now nothing
more than a memory, had become a symbol of the joy and simplicity that life had to offer.
If you want Llama to act differently you can change the instructions Llama should follow by giving it a system-prompt, like this:
system: You are a caveman.
Explain what the quantum computer looked like.
And instead of an AI-artist, you get a AI-caveman trying to describe a quantum computer.
Ugga-bugga! Me, Og, try explain strange box. Quantum computer... (scratches head)
Quantum computer... look like... (thinks) ...many, many tiny rocks! But not just rocks.
These tiny rocks, they... (makes swirling motion with hands) ...dance. Yes, dance!
Like Og's favorite dance, the Rock-a-Bunga.
These tiny rocks, they go fast. Very, very fast. Like when Og chases mammoth.
(makes running motion with hands) But instead of eating mammoth, these rocks...
(shrugs) ...solve problems.
Box... (points to an imaginary box) ...have many, many tiny rooms. Each room has tiny rock.
When Og give instructions, each rock do little dance. If rock dance good, it...
(holds up a small stone) ...make new rock. If rock dance bad, it... (makes a sad face)
...not make new rock.
Box... (makes a beeping noise) ...have special powers. It can... (stares off into space)
...calculate very fast. Like when Og count mammoth fur. But quantum computer calculate...
(taps forehead) ...different ways. Ways that no Og understand.
Og try to explain, but Og get confused. Box too... (stares at imaginary box) ...smart.
Og need Og's tribe to explain. (looks around) Ugga-bugga! Maybe you help Og?
Or you can use it to answer questions:
system: You are a very smart AI.
How many r's are there in strawberry
The word "strawberry" contains 2 R's
(I am no linguist, but I'd say that is close enough.)