server generate picture