-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net: Add support for image quality, style, and detail level #7086
Comments
Yes, please prioritize this. This is something we need for our projects. Specifically for chat completion. |
Hello, I was going to use quality and style for my hobby project. Then I thought maybe I could contribute. I have a draft PR up into 'feature-connectors-openai' and it would be great to know if I am moving in the right direction: #8064 Thank you for your time! |
@aghimir3 You approach is good but actually the ideal is to update our ITextToImage abstractions to accept a ExecutionSettings which can contain all those special details when requesting for a ImageGeneration. I'm currently working on this PR to resolve this issue as part of it. |
Thank you for the response! I noticed that the GetImageContentsAsync method in OpenAITextToImageService.cs hasn't been implemented yet. I'd be thrilled to contribute to it if you're open to that! |
Hi @RogerBarreto , I found major differences between #8068 and #7471 in the direction we are going. These files are different:
Could you please advise on what is the right way to continue with this implementation? Thank you for your time! |
This changes are not part of the As the And as soon the feature branch merges to main, we update the code to the new pattern. |
Hi @RogerBarreto , Thanks for merging my changes into #8068 . Since the Thank you for your time! |
Context:
AzureOpenAI SDK v2 allows the specification of image style (Vivid & Natural) and image quality (High & Standard) when generating an image from text.:
AzureOpenAI SDK v2 allows the specification of image detail level (Low, High, and Auto) when sending an image to the model:
ToDo:
Consider extending the SK public API surface to support the options mentioned above.
Notes
Decide whether the support should be shipped as part of the Azure OpenAI v2 migration initiative or afterward.
The text was updated successfully, but these errors were encountered: