A Diminished/ Blues Scale Hex-0-Tonic
Regardless of which witch stirs the pot, the makings of great solo improvisation isn't about magic - even when the results do seem magical.
The "toil and trouble" part of it comes down to the consistency of - and attitude towards - one´s own practice regimen. The "toil" ceases to be "trouble", as positive results begin to manifest.
Since there actually is a method to this magic, one spellbinding, tried and true device for your bag of tricks is the use of Triad Pairs. This involves two mutually exclusive triads (no common tones between them) and their inversions - which in turn forms a 6-note (Hexatonic) scale.