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
clientTimeout Non-dynamicinteger
Default
10
download booleanstring
Default
false
n Non-dynamicinteger
size string
Default
LARGE
Possible Values
SMALL
MEDIUM
LARGE
user string
Outputs
images array
SubType string