Source
yaml
id: openai-dall-e-create-image
namespace: company.team
tasks:
- id: puppy
type: io.kestra.plugin.openai.CreateImage
apiKey: "{{ secret('OPENAI_API_KEY') }}"
n: 1
download: true
prompt: the cutest little happy smiling puppy
About this blueprint
AI
This flow will use OpenAI's DALL-E to create an image based on a prompt. If you set the download attribute to true
, the image will be available for download from the Outputs tab on the Executions page.
Example result:
More Related Blueprints