Skip to content

Image not shown #7273

Answered by christian-byrne
fafayqa asked this question in Q&A
Mar 16, 2025 · 1 comments · 8 replies
Discussion options

You must be logged in to vote

You are reading the "ui" field then putting it in "images" field of your output.

-       results = PreviewImage().save_images(image_batch, prompt=None, extra_pnginfo=None)["ui"]
+       results = PreviewImage().save_images(image_batch, prompt=None, extra_pnginfo=None)["ui"]["images"]

        return {
            "ui": { "images": results }
        }

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@ltdrdata
Comment options

@fafayqa
Comment options

@christian-byrne
Comment options

@fafayqa
Comment options

@christian-byrne
Comment options

Answer selected by fafayqa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants