[TASK] Improve Image and TextWithImages node generator

- Add support for caption