azure-sdk-for-java
                                
                                 azure-sdk-for-java copied to clipboard
                                
                                    azure-sdk-for-java copied to clipboard
                            
                            
                            
                        [QUERY]how to use dall-e-2 in 1.0.0-beta.8?
Query/Question how to use dall-e-2 in 1.0.0-beta.8?
i want to use dall-e-2 .but client.getImageGenerations(deploymentOrModelName, imageGenerationOptions) doesnot support dall-e-2 ,how to solve this?
@mssfang PTAL
any solutions? @mssfang @joshfree
Hi, @fengsuxing Sorry to replay it late. I just get back from my vocation. We do support DALL-E ("dall-e-2" or "dall-e-3") in the SDK. Wondering which region of Azure source you are using?
hello ,@mssfang in 1.0.0-beta.8, client.getImageGenerations(deploymentOrModelName, imageGenerationOptions) doesnot support "dall-e-2".if you think it supports,please give me an example on how to Call getImageGenerations using dall-e-2
@fengsuxing You can try to use this sample in the repo
 OpenAIClient client = new OpenAIClientBuilder()
      .credential(new KeyCredential("your-openai-key-here"))
      .buildClient();
For Azure Resource, you can create DALL-E-3(dall-2 is in preview) https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models#dall-e-models
Hi @fengsuxing. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.
Hi @fengsuxing, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!