Language:
Free Online Dictionary|3Dict

突發奇想

Source : CEDICT

suddenly have a thought (idiom)/suddenly be inspired to do something