Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 573 Bytes

using-api-etc.md

File metadata and controls

15 lines (12 loc) · 573 Bytes

Using the API etc:

[OUTDATED!!!] To skip actually generating new image (which consumes credits at the AI-service), you can add the "use-mock" query param like this: (May be combined with other query params mentioned in this doc)

http://localhost:3000/api/slack-daily?use-mock

To get around the "spam"-blocker (which tries to prevent multiple requests to generate new images on the same date), you can add the "force" query param like this: (May be combined with other query params mentioned in this doc)

http://localhost:3000/api/slack-daily?force