-
Notifications
You must be signed in to change notification settings - Fork 42
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.
If you want to change the instructions Llama should follow you can give 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.)