How to make material translucent in one spot?

Hey guys, I’m trying to make a material that is translucent in the middle and opaque on the edges. I want to use it on a body and I want it to be translucent in the middle to show organs and then gradually fade into being opaque on the rest of the body so I can’t do it with 2 materials because I don’t want it to look like 2 separate materials. Is there any way to do this with any method?

Thank you for the help.