powered by
This function creates a prompt for generating an image from text using an AI model. This is an experimental function.
createImagePrompt_v1(content, Model = "gpt-4o-mini", len = 200)
A character string that serves as the prompt for generating an image.
A character string describing the image to be generated. If not provided, the function will throw a warning and stop.
A character string specifying the AI model to be used for text generation.
Integer specifying the maximum length of the text input.
Satoshi Kume
Create Image Prompt version 1
if (FALSE) { createImagePrompt_v1(content = "A Japanese girl animation with blonde hair.") }
Run the code above in your browser using DataLab