EXCLUSIVE

Octomom may be declaring bankruptcy, but she's still very much the master of her own domain.

Octo has signed on to do a masturbation video ... TMZ has learned. She's hooked up with an online adult entertainment company and will shoot the video this summer. It will be released shortly thereafter -- not a lot of post production, we're told.

As for how much she'll make, it's hush hush, except we're told, "It's a lot more than the $10,000 she made for posing topless."