The Sayori webserver API only accepts three parameters: Mainly poem
, font
, and bg
.
To make a poem at the API endpoint, simply make a GET request with query parameters.
curl -X GET http://localhost:7270/?poem=Hello%20world&font=y1&bg=y2 --verbose
Poem parameter is required and must be URL-encoded. Otherwise, the API will return a 400 error.
Font parameter must be the following in string format:
m1
- Monikan1
- Natsukis1
- Sayoriy1
- Yuriy2
- Yuri (Fast)y3
- Yuri (Obsessed)
API will error with a 400 that is anything beyond this list.
Background parameter must be the following in string format:
default
- Default backgroundy2
- Yuri (Fast)y3
- Yuri (Obsessed)
API will return a 400 that is anything beyond this list.