Core logic for interacting with AI walking video generators, focusing on URL generation and metadata extraction. Currently, this library provides utilities specific to SuperMaker's AI Walking Video Generator (https://supermaker.ai/blog/ai-walking-video-generator-create-realistic-walking-videos-free/). Future versions may support other platforms.
Core logic for interacting with AI walking video generators, focusing on URL generation and metadata extraction. Currently, this library provides utilities specific to SuperMaker's AI Walking Video Generator (https://supermaker.ai/blog/ai-walking-video-generator-create-realistic-walking-videos-free/). Future versions may support other platforms.
(extract-video-id url)Extracts the video ID from a SuperMaker AI walking video URL.
Assumes the video ID is the last path segment in the URL.
Takes a URL string as input.
Returns the video ID as a string, or nil if the URL is invalid or the ID cannot be extracted.
Extracts the video ID from a SuperMaker AI walking video URL. Assumes the video ID is the last path segment in the URL. Takes a URL string as input. Returns the video ID as a string, or nil if the URL is invalid or the ID cannot be extracted.
(generate-supermaker-url {:keys [prompt style resolution]})Generates a SuperMaker AI walking video URL based on input parameters.
Takes a map of parameters: :prompt (string) - The text prompt for the video. Required. :style (string) - The style of the video (e.g., 'realistic', 'cartoon'). Optional. :resolution (string) - The video resolution (e.g., '720p', '1080p'). Optional.
Returns a URL string. Returns nil if the prompt is missing.
Generates a SuperMaker AI walking video URL based on input parameters. Takes a map of parameters: :prompt (string) - The text prompt for the video. Required. :style (string) - The style of the video (e.g., 'realistic', 'cartoon'). Optional. :resolution (string) - The video resolution (e.g., '720p', '1080p'). Optional. Returns a URL string. Returns nil if the prompt is missing.
(mock-video-metadata video-id)Generates mock video metadata for testing purposes.
Takes a video ID as input.
Returns a map containing mock metadata, including title, description, and creation date.
Generates mock video metadata for testing purposes. Takes a video ID as input. Returns a map containing mock metadata, including title, description, and creation date.
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 |