Skip to main content

How do I use ClipAI through the API?

Do you need to start or stop generation, or change ClipAI settings, through a simple API? Here is how to do it, step by step. The same works for almost any ZennoPoster template.

(!) If you are not a developer, or at least an advanced PC user, this article is unlikely to help you: in that case write to us, and we’ll help you set up what you need.


First, create one or more .bat files with the actions and settings you need. You can do this by following this guide.

Then download Airytec Switch Off. It is completely free. Despite the date of its last update, it works fine with the latest operating systems, including Windows 11.

After installing and starting it, find its icon in the system tray . Left-click it and select “Edit predefined scripts”.

Main window of Airytec Switch Off
Main window of Airytec Switch Off

Move the .bat files you created in the previous steps into the folder that opens.

Then right-click the tray icon and select “Options”. In the “Remote” tab you can set up the web interface (and with it the API): choose the port and, if needed, authentication. Then click “View web interface”. An interface like this will open:

Web interface of Airytec Switch Off
Web interface of Airytec Switch Off

The scripts you added appear right after “Predefined scripts”. Clicking a line starts its script immediately. To get the URL for the GET request that starts a script, right-click its line -> “Copy link address”.