Infinicraft-Mod / infinicraft

Minecraft Infinicraft mod
MIT License
93 stars 12 forks source link

Using Infinite Craft website API instead of local AI or ChatGPT to generate item name #14

Closed StellarLis closed 4 months ago

StellarLis commented 4 months ago

Infinite Craft website (https://neal.fun/infinite-craft/) sends a request to its API when combining two items. Screenshot

So, this mod can just send a request to that API and get item name, it's free and you don't need a token or local AI instance.

shrimp-alfredo commented 4 months ago

im pretty sure sometimes it redirects to not allowed

NonzeroCornet commented 4 months ago

We can't do this due to the fact we need more information about the new item than just a name. Is it edible? Can you throw it? (eventually) Can it be placed? That API only returns a name/emoji.

shrimp-alfredo commented 4 months ago

use a mixture of both chatgpt and neal api

StellarLis commented 4 months ago

Yeah, after a couple of tests, I've found out that this endpoint sometimes sends 4xx status code.