Skip to content

[Feature Request] Pick multiple values from <random> and <wildcard> #196

@Jobus0

Description

@Jobus0

Similarly to sd-dynamic-prompts, it should be possible to write syntax that allows <random:...> and <wildcard:...> to randomly pick more than one value from their respective lists.

Perhaps something like <random(2):cat,dog,fish> and <wildcard(2):animals> to pick two items at random, but not the same item twice.

Additionally, a range like <wildcard(1-3):animals> should be defined to randomly pick one to three values from the list.

For a more concrete example:
Prompt: <wildcard(2-4):scene_natural>, <wildcard:season>, <wildcard:time>
Output: forest, river, heavy clouds, autumn, evening

(The three forest, river, heavy clouds having been picked from scene_natural)

This feature would be useful for easily creating more diverse batches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions