Variables

Generated Prompts

API

You can also use the API to generate prompts.

POST https://promptrandomizer.tdbr.de/api/randomize
Request Format
{
  "template": "/imagine prompt:a {color} car. --v 5",
  "amount": 5,
  "variables": {
    "color": [
      "fire red",
      "navy blue",
      "forest green",
      "amber",
      "khaki",
      "muted yellow",
      "rose",
      "emerald",
      "teal",
      "indigo"
    ]
  }
}
Response Format
{
  "prompts": [
    "/imagine prompt:a teal car. --v 5",
    "/imagine prompt:a forest green car. --v 5",
    "/imagine prompt:a navy blue car. --v 5",
    "/imagine prompt:a emerald car. --v 5",
    "/imagine prompt:a khaki car. --v 5"
  ]
}