Maybe have a vision model “look” at the pdf or whatever and have it translated hopefully to safe language?
That’s the thing, though. DALLE3 generates prompts from what you write, and sometimes if what you write is valid, it will self-insert no-no words to get it to fail…