Official Clojure SDK for AI GIF Maker (https://aigifmaker.ai): turn text into animated GIFs.
(require '[aigifmaker.core :as gif]) (gif/generate "a corgi in sunglasses dancing on a beach, looping") ;; => URL of the finished GIF (gif/credits)
Pass :api-key or set AIGIFMAKER_API_KEY; create a key at https://aigifmaker.ai/settings/apikeys. Each GIF costs 1 credit on your AI GIF Maker account, the same as on the website.
Options: :api-key, :base-url, :client (a configured io.github.hanshs474.aigifmaker.Aigifmaker), :timeout-ms (default 15 minutes), :poll-ms (default 3000).
Failures throw ex-info whose data carries :reason, one of :auth, :quota, :rejected, :failed, :timeout or :other.
Official Clojure SDK for AI GIF Maker (https://aigifmaker.ai): turn text into animated GIFs. (require '[aigifmaker.core :as gif]) (gif/generate "a corgi in sunglasses dancing on a beach, looping") ;; => URL of the finished GIF (gif/credits) Pass :api-key or set AIGIFMAKER_API_KEY; create a key at https://aigifmaker.ai/settings/apikeys. Each GIF costs 1 credit on your AI GIF Maker account, the same as on the website. Options: :api-key, :base-url, :client (a configured io.github.hanshs474.aigifmaker.Aigifmaker), :timeout-ms (default 15 minutes), :poll-ms (default 3000). Failures throw ex-info whose data carries :reason, one of :auth, :quota, :rejected, :failed, :timeout or :other.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |