I've been thinking about this and there will likely be economic pressure to put filters as close to bare metal as possible. This means companies producing the hardware that is capable of generating the images will likely have special chips dedicated to filtering illegal content from even being generated. It will only take a trusted company with the proven technology to license it out and for governments to mandate it in the future. It won't completely stop it, but it may largely be successful in eradicating 99% of it from the public internet.
This will open up all sorts of debates about speech, etc. But that's another topic of discussion for me.