createImagePrompt_v1 {chatAI4R} | R Documentation |
Create Image Prompt version 1
Description
This function creates a prompt for generating an image from text using an AI model. This is an experimental function.
Usage
createImagePrompt_v1(content, Model = "gpt-3.5-turbo-16k", len = 200)
Arguments
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. |
Details
Create Image Prompt version 1
Value
A character string that serves as the prompt for generating an image.
Author(s)
Satoshi Kume
Examples
## Not run:
createImagePrompt_v1(content = "A Japanese girl animation with blonde hair.")
## End(Not run)
[Package chatAI4R version 0.2.10 Index]