Official Clojure SDK for Movoa (https://movoa.ai), the AI video generator with sound.
(require '[movoa.core :as movoa]) (movoa/generate-video "a paper boat drifting down a rain gutter, low angle") ;; => URL of the finished MP4 (movoa/generate-video "a fox trotting through fresh snow at dawn" {:model "seedance-2-5" :duration 10 :aspect-ratio "9:16"}) (movoa/credits)
Pass :api-key or set MOVOA_API_KEY; create a key at https://movoa.ai/settings/apikeys. Runs cost credits on your Movoa account, at the prices on https://movoa.ai/pricing.
Options: :model, :image-url, :api-key, :client (a configured io.github.hanshs474.movoa.Movoa), :timeout-ms, :poll-ms. Every other key is sent as a model option, with hyphens turned into underscores (:aspect-ratio -> aspect_ratio).
Official Clojure SDK for Movoa (https://movoa.ai), the AI video generator with sound.
(require '[movoa.core :as movoa])
(movoa/generate-video "a paper boat drifting down a rain gutter, low angle")
;; => URL of the finished MP4
(movoa/generate-video "a fox trotting through fresh snow at dawn"
{:model "seedance-2-5" :duration 10 :aspect-ratio "9:16"})
(movoa/credits)
Pass :api-key or set MOVOA_API_KEY; create a key at
https://movoa.ai/settings/apikeys. Runs cost credits on your Movoa account,
at the prices on https://movoa.ai/pricing.
Options: :model, :image-url, :api-key, :client (a configured
io.github.hanshs474.movoa.Movoa), :timeout-ms, :poll-ms. Every other key
is sent as a model option, with hyphens turned into underscores
(:aspect-ratio -> aspect_ratio).(credits)(credits opts)The remaining credits on the account.
The remaining credits on the account.
(generate-video prompt)(generate-video prompt opts)Generates one clip with sound and returns its MP4 URL. Default model "minimax-h3". Pass :image-url for photo to video, and options like :duration, :resolution, :aspect-ratio.
Generates one clip with sound and returns its MP4 URL. Default model "minimax-h3". Pass :image-url for photo to video, and options like :duration, :resolution, :aspect-ratio.
(status id)(status id opts)Where a run stands: {:id :status :video-url :videos :error-message :failure-kind :queued :queue-eta :raw}.
Where a run stands: {:id :status :video-url :videos :error-message :failure-kind :queued :queue-eta :raw}.
(submit prompt)(submit prompt opts)Starts a run without waiting and returns its task id; follow it with status.
Default model "minimax-h3".
Starts a run without waiting and returns its task id; follow it with `status`. Default model "minimax-h3".
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 |