T2I

Set active text-to-image template

Changed on

Required scope: config

put/api/v1/t2i/templates/active

Request

  • Base URL
    http://localhost:6185
  • URL
    http://localhost:6185/api/v1/t2i/templates/active
  • Auth
    API key in header X-API-Key

Request body

namestring required

Response

Standard AstrBot success response

status'ok' required
messagestring
dataunknown required

Changes