Dall-E - Generate Images
Overviewβ
This Blueprint takes a prompt and creates an image from it.
Variablesβ
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
Image Prompt | photo_prompt | Alphanumeric | β | - | - | Text sent to OpenAI to generate photos |
File Prefix | photo_topic | Alphanumeric | β | - | - | Word used to prefix each of the image files |
Number of Images | number_of_photos | Integer | β | 1 | - | Number of images for DALL-E to create |
API Credentials | api_credentials | Password | β | - | - | Your OpenAI API credentials |
YAMLβ
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
source:
blueprint: Dall-E - Generate Images
inputs:
photo_prompt: null ## REQUIRED
photo_topic: null ## REQUIRED
number_of_photos: '1' ## REQUIRED
api_credentials: null ## REQUIRED
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '0'