
CreateImage
CreateImage
yaml
type: "io.kestra.plugin.openai.CreateImage"Examples
yaml
id: openai
namespace: company.team
tasks:
- id: create_image
type: io.kestra.plugin.openai.CreateImage
prompt: A funny cat in a black suit
apiKey: <your-api-key>
download: true
n: 5
Properties
apiKey*Requiredstring
prompt*Requiredstring
clientTimeoutNon-dynamicinteger
Default
10downloadbooleanstring
Default
falsenNon-dynamicinteger
sizestring
Default
LARGEPossible Values
SMALLMEDIUMLARGEuserstring
Outputs
imagesarray
SubTypestring