Class ImageGenerateParams.Size

  • All Implemented Interfaces:
    com.openai.core.Enum

    
    public final class ImageGenerateParams.Size
     implements Enum
                        

    The size of the generated images. Must be one of 1024x1024, 1536x1024 (landscape), 1024x1536 (portrait), or auto (default value) for the GPT image models, one of 256x256, 512x512, or 1024x1024 for dall-e-2, and one of 1024x1024, 1792x1024, or 1024x1792 for dall-e-3.

    • Constructor Detail