Liking cljdoc? Tell your friends :D

emaki.core

Official SDK for emaki (https://emaki.ai), the Japanese-language AI video generator for Seedance 2.5 and Seedance 2.0.

(require '[emaki.core :as emaki]) (emaki/generate-video "a paper lantern drifting down a night river") ;; => URL of the finished MP4 (emaki/generate-video "a street drummer in the rain" {:model "seedance_2_5" :duration 8 :resolution "720p"}) (emaki/generate-image "a ramen stall in the rain, neon reflections") (emaki/credits)

Pass :api-key or set EMAKI_API_KEY; create a key at https://emaki.ai/settings/apikeys. Every run costs credits on your emaki account, the same price as on the website.

Options: :model, :api-key, :client (a configured io.github.hanshs474.emaki.Emaki), :timeout-ms (default 15 minutes), :poll-ms (default 5000). Every other key is sent as a model parameter, with hyphens turned into underscores (:aspect-ratio -> aspect_ratio).

Failures throw ex-info whose data carries :reason, one of :auth, :quota, :plan, :busy, :rejected, :validation, :failed, :timeout or :other.

Official SDK for emaki (https://emaki.ai), the Japanese-language AI video
generator for Seedance 2.5 and Seedance 2.0.

  (require '[emaki.core :as emaki])
  (emaki/generate-video "a paper lantern drifting down a night river")
  ;; => URL of the finished MP4
  (emaki/generate-video "a street drummer in the rain"
                        {:model "seedance_2_5" :duration 8 :resolution "720p"})
  (emaki/generate-image "a ramen stall in the rain, neon reflections")
  (emaki/credits)

Pass :api-key or set EMAKI_API_KEY; create a key at
https://emaki.ai/settings/apikeys. Every run costs credits on your emaki
account, the same price as on the website.

Options: :model, :api-key, :client (a configured
io.github.hanshs474.emaki.Emaki), :timeout-ms (default 15 minutes),
:poll-ms (default 5000). Every other key is sent as a model parameter,
with hyphens turned into underscores (:aspect-ratio -> aspect_ratio).

Failures throw ex-info whose data carries :reason, one of :auth, :quota,
:plan, :busy, :rejected, :validation, :failed, :timeout or :other.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close