T2I

Create a text-to-image template

Changed on

Required scope: config

post/api/v1/t2i/templates

Request

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

Request body

namestring required
contentstring required

Response

Standard AstrBot success response

status'ok' required
messagestring
dataunknown required

Changes