custom recipe loading image

Can I stream images in my custom recipes? If yes, what's the syntax. The example is about yielding text. Thanks.

Hi! You can find the expected data format here: https://prodi.gy/docs/api-interfaces#image

Streams in Prodigy all work the same, regardless of the type of content, so instead of tasks with a key "text", you'd just yield tasks with a key "image". The only thing to keep in mind with images is that your browser will likely block images from local paths, so you want to stream in either URLs or base64-encoded data URIs.