Huggingface for noobs - Year 01 Episode 01 Make an image! - Written for noobs, by a noob. --------------------------------------------------------------------------------------------------- Today I write you this little text to teach you how to make an image. You can do several things with Hugging Face, one of these things are related to something that HF calls 'models'. I don't really know how to explain it but for me it is a sort of 'black box'. I can't explain you yet what is inside. However you can put something in it, and get something out it. I have played a bit around and was able to put text/images/others inside the box, and depending on the mysterious content inside, I got some really nice outputs: an image, a mp3-file or even a text! This tutorial will be focussing on using an existing 'black box' or model where you put some text in and get an image out. This kind of models are called 'Diffusers' by HF. You can find a list of all sorts of Diffusers here (https://huggingface.co/models?library=diffusers). Many of the uploaded Diffusers doesn't work, so don't panick when you try one and nothing happens. I have tested several Diffusers and one that works really nice is the following one: black-forest-labs/FLUX.1-schnell (url: https://huggingface.co/black-forest-labs/FLUX.1-schnell) *If this Diffuser isn't availible again, please let me know by placing a comment on this turial page. So at this webpage, you would like to go to the 'Inference API'-part. This will let you allow to write a sentense and press 'Compute'. This is the place where you write or describe your image. You are writing your description or prompt (see also prompt engineering). As example you can type 'Photo of neon sunflowers', next press compute*. *In some cases the inputfield and/or the computebutton are dissabled. If so, please find another Diffuser. As soon you pressed compute, the 'black box' starts with their mysterious calculations and starts working on your image. As soon as your image is ready, it will displayed. So congratulations, you now have successfully made your first image. It is maybe still ugly or bad, but you can increase it quality by writing a more complex input/prompt. Search online for 'Prompt Engineering' and you will learn what you can do more. In some cases your prompts are just fine, and it is just the model that is acting weird. Just try it once more, if it doesnt get better, just search for another model/diffuser. In some very some cases, you can get a black image as output. This means that the model has a build-in security measure to block NSFW images by painting them black. Note: This method is for testing only, HF has limited the amount of times you can compute something. Sorry i didn't counted it but your rate limit will reset on the full hour.