Come creare avatar predefiniti e assicurarsi che nessuno cambi il proprio avatar Voglio impostarli un avatar con il mio sistema API

The best way will be to this and this and probably the next 3 things you’ll ask is to use DiscourseConnect - Official Single-Sign-On for Discourse (sso) and set discourse connect overrides avatar (there are other overrides for other user fields).