Skip to content

Document generating multiple images #46

@kendallroth

Description

@kendallroth

Generating multiple images per prompt is ideal for comparison purposes, but does not seem supported. I am not sure whether this is just some models, or whether all Replicate models only generate a single output. However, it would be beneficial to have a documented approach to generating multiple images, as I am having trouble wading through attempts at such.

I first thought I could create multiple "background" predictions at the same time, but am not sure how to wait until they have all completed processing. Likely would involve the wait() function on all started predictions, but not sure how to go about this.

Is this a process that could be documented if already known? If not, could I get pointed in the right direction (if this is even possible)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions