Overview
Create variations of an image. DALL-E 2 only. Upload an image to generate variations.Method Signature
Parameters
The image to create variations of. Must be a valid PNG file, less than 4MB, and square.
The model to use. Currently only
openai/dall-e-2 is supported for variations.Number of variations to generate (1-10).
Format for returned images:
url or b64_json. URLs are valid for 60 minutes.Size of the generated images. Must be one of
256x256, 512x512, or 1024x1024.Unique identifier for your end-user, for monitoring and abuse detection.
Response
Unix timestamp when the images were created.
List of image variations.