Mandala
Tools

Image Generator

Generate images

Usage Instructions

Integrate Image Generator into the workflow. Can generate images using DALL-E 3 or GPT Image.

Tools

openai_image

Generate images using OpenAI's Image models

Input

ParameterTypeRequiredDescription
modelstringYesThe model to use (gpt-image-1 or dall-e-3)
promptstringYesA text description of the desired image
sizestringYesThe size of the generated images (1024x1024, 1024x1792, or 1792x1024)
qualitystringNoThe quality of the image (standard or hd)
stylestringNoThe style of the image (vivid or natural)
backgroundstringNoThe background color, only for gpt-image-1
apiKeystringYesYour OpenAI API key

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectGenerated image data

Notes

  • Category: tools
  • Type: image_generator
Image Generator