Liking cljdoc? Tell your friends :D

qy-upup.grok-image-generator.core


create-mock-image-dataclj

(create-mock-image-data blog-post-title image-url alt-text)

Creates mock image data for a blog post. This function is useful for testing and development.

Args: blog-post-title: The title of the blog post. image-url: The URL of the image. alt-text: Alternative text for the image.

Returns: A map containing mock image data.

Creates mock image data for a blog post.  This function is useful for testing and development.

Args:
  blog-post-title: The title of the blog post.
  image-url: The URL of the image.
  alt-text: Alternative text for the image.

Returns:
  A map containing mock image data.
raw docstring

extract-blog-post-titleclj

(extract-blog-post-title slug)

Extracts a potential blog post title from a slug. This is a naive implementation and may not be perfect, but serves as a utility.

Args: slug: The URL-friendly slug of the blog post (e.g., "-grok-image-generator-model-on-supermaker-ai-twitterready-images-made-simple")

Returns: A string representing the potential title of the blog post, capitalized.

Extracts a potential blog post title from a slug.  This is a naive
 implementation and may not be perfect, but serves as a utility.

Args:
  slug: The URL-friendly slug of the blog post (e.g., "-grok-image-generator-model-on-supermaker-ai-twitterready-images-made-simple")

Returns:
  A string representing the potential title of the blog post, capitalized.
raw docstring

generate-blog-post-urlclj

(generate-blog-post-url slug)

Generates a URL for a blog post on supermaker.ai given a slug.

Args: slug: The URL-friendly slug of the blog post (e.g., "-grok-image-generator-model-on-supermaker-ai-twitterready-images-made-simple")

Returns: A string representing the full URL of the blog post.

Generates a URL for a blog post on supermaker.ai given a slug.

Args:
  slug: The URL-friendly slug of the blog post (e.g., "-grok-image-generator-model-on-supermaker-ai-twitterready-images-made-simple")

Returns:
  A string representing the full URL of the blog post.
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