using api config option and adding cli option for image masking id