Liking cljdoc? Tell your friends :D

qy-upup.choose-your-bed.core

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.
raw docstring

extract-keywordsclj

(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.
raw docstring

generate-image-urlclj

(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.
raw docstring

mock-bed-choicesclj

(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.
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