For me the acceptable amount of AI is when AI is used as assistant either in searching examples of working codes, checking for errors in the code or searching image or model reference.
Whatever the AI assistant gives, the developer is the one doing coding etc.