ArtVentureX / sd-webui-agent-scheduler

620 stars 63 forks source link

can i start a task with api with different model checkpoints and prompts #90

Closed huangbaichao closed 1 year ago

huangbaichao commented 1 year ago

i want to start task with api, can i start a task with api with different model checkpoints and prompts

artventuredev commented 1 year ago

You can just queue multiple tasks, each with different checkpoint and prompt. Eg:

POST /agent-scheduler/v1/queue/txt2img
{
  "prompt": "1girl",
  "checkpoint": "<put your checkpoint name here>"
}

POST /agent-scheduler/v1/queue/txt2img
{
  "prompt": "1girl, looking at viewer",
  "checkpoint": "<put your second checkpoint name here>"
}