Core namespace for the choose-your-bed video generation library. Provides utility functions for interacting with AI video generation platforms and processing data related to the 'choose your bed' meme.
Core namespace for the choose-your-bed video generation library. Provides utility functions for interacting with AI video generation platforms and processing data related to the 'choose your bed' meme.
(extract-keywords text)Extracts keywords from a string. Very basic implementation for demonstration. In a real application, this would likely use a more sophisticated NLP library.
text: The text to extract keywords from.
Extracts keywords from a string. Very basic implementation for demonstration. In a real application, this would likely use a more sophisticated NLP library. text: The text to extract keywords from.
(generate-image-url prompt)(generate-image-url prompt width height)Generates a URL for an image based on a prompt and optional size parameters. Assumes a simplified image generation service endpoint.
prompt: The text prompt for the image. width (optional): The desired width of the image. Defaults to 512. height (optional): The desired height of the image. Defaults to 512.
Generates a URL for an image based on a prompt and optional size parameters. Assumes a simplified image generation service endpoint. prompt: The text prompt for the image. width (optional): The desired width of the image. Defaults to 512. height (optional): The desired height of the image. Defaults to 512.
(mock-bed-choices num-choices)Generates mock data for bed choices, including descriptions and prompts. Useful for testing and prototyping.
num-choices: The number of mock bed choices to generate.
Generates mock data for bed choices, including descriptions and prompts. Useful for testing and prototyping. num-choices: The number of mock bed choices to generate.
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 |