🧰Lib Developers
This is for lib developers only not API users!
This page is only for library developers. API users need to use the endpoints listed in the sidebar.
Here is what an API client lib should look like.
The http client should always include an Authorization
header for every request and an optional header for User-Agent
to show the library name or project/bot name.
Send Request Method
Image Gen Method
This should be the same as Send Request but the response you get will contain raw image data (bytes) that you should handle.
Some http clients/libs may require sending a POST request to use json body.
Endpoints
Last updated