Support for an image as input got added with this PR from @oleg . It is in the latest ai-beta image.
ai-beta