If you're paying for tokens used to generate that...
Then the service that sold you tokens and delivered copyright infringing content is violating the law