View source: R/createImagePrompt_v1.R
createImagePrompt_v1 | R Documentation |
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)
content |
A character string describing the image to be generated. If not provided, the function will throw a warning and stop. |
Model |
A character string specifying the AI model to be used for text generation. |
len |
Integer specifying the maximum length of the text input. |
Create Image Prompt version 1
A character string that serves as the prompt for generating an image.
Satoshi Kume
## Not run:
createImagePrompt_v1(content = "A Japanese girl animation with blonde hair.")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.