Custom interfaces get api.images.generate: a player clicks a button and the card draws a picture, such as a newly met NPC for a gallery or the current scene for a panel. It is drawn and billed like a reply's picture.
Before a card's first picture, Yumina asks the player, and draws only after they agree.
Tell the Creation assistant "add a button that draws portraits to the gallery" and it will use it. The creator guide shows how.