Fix serialize missing param is_config.
ImageGenerator: add colorize param.