Skip to main content

Dall-E - Generate Images

Overview​

This Blueprint takes a prompt and creates an image from it.

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
Image Promptphoto_promptAlphanumericβœ…--Text sent to OpenAI to generate photos
File Prefixphoto_topicAlphanumericβœ…--Word used to prefix each of the image files
Number of Imagesnumber_of_photosIntegerβœ…1-Number of images for DALL-E to create
API Credentialsapi_credentialsPasswordβœ…--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'