The last ability of Idol of Endurance doesn't change when you may cast those creature spells. Normally this means during your main phase while the stack is empty, but you can cast a creature spell with flash at other times.