Fix now aii is able to generate more than a single image if its requested