No, this is not true. Ashcroft v. Free Speech Coalition (2002) allows non-obscene fictional depictions of sex between minors, provided the depiction is not obscene under the Miller test. In practice, this would have to have some serious literary, artistic, or scientific merit to not be forbidden. Generating images for one’s self-gratification would not qualify.
There are no deterministic rules that cover all possible cases for virtually any crime, much less something as nuanced as this. That's why they make courts.
if model training material includes anything real then that clearly fails.
The models know nudity, and know children, but very likely not child nudity. They know sex positions, but very unlikely to draw the conclusion that if it made an apple and a skateboard engaged in some consensual choke play, that anyone could draw the line back to the model being trained on this.
This is the entire discussion with “is AI creative or just derivative”.