High-quality ionization injection methods for Wake Field Acceleration driven by lasers or charged beams (LWFA/PWFA) can be optimised so as to generate high-brightness electron beams with tuneable duration in the attosecond range. We present a model of the minimum bunch duration obtainable with low-emittance ionization injection schemes, by spotting the roles of the ionization pulse duration, of the wake field longitudinal shape and of the delay of the ionization pulse position with respect to the node of the accelerating field. The model is tested for the resonant multi-pulse ionization injection (ReMPI) scheme, showing that bunches having length of about 300as can be obtained with a ionization pulse having duration of 30fs FWHM