Playing scales is great for learning where to find the notes you can use to improvise. But it sounds like you are ready to start applying your knowledge of scales and exercising your creativity.
There are tons of videos on YouTube that teach various ways to improvise and you can learn quite a bit from those (for free). Make a word document and paste the link for the ones you like with a brief description of what the video is about. This will allow you to start a "collection" of the videos you find most useful.
You will also get a great deal of mileage from simply playing along with others, jam tracks, loops, or backing tracks. One of the best ways to improve your skills is to simply use them often to improvise over the aforementioned sources of harmony.
Since you play chords, you might try a simple looper to lay down some chord progressions. Although that won't help in identifying the key.
Another option is to make your own jam tracks using the free open source audio editing program Audacity Audacity Free Download to remove the lead guitar from many popular recorded songs. There are many articles on line that explain how this is done. Here is one Remove Lead Guitar From Recording. Then you can play along and improvise with your favorite bands.
Where I live, there are many open mic nights at local restaurants, pubs, sports bars and other venues. The ones I participate in provide opportunities for folks to "sit it" and improvise with some of the performers. You might try searching on line for "open mic in ________" (insert name of your city).
In the USA try Open Mic US Website
Open mic nights are also a great way to meet other musicians to jam with. I met all the members of my band at various open mics around my town.
Bottom line, I think you have the foundation you need. Now it's time to start putting your knowledge into practice. The more you play - using your creativity, the more natural it will become.
Have fun!