openai/openai-dotnet

Public

mirrored from https://github.com/openai/openai-dotnetAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
OpenAI_2.0.0-beta.12

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/Custom/Images/GeneratedImageStyle.cs

23lines · modecode

1namespace OpenAI.Images;
2
3// CUSTOM:
4// - Renamed.
5// - Converted extensible enum into an enum.
6// - Edited doc comment.
7/// <summary>
8/// The style of the generated images. Must be one of vivid or natural. Vivid causes the model to lean towards
9/// generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real
10/// looking images. This param is only supported for <c>dall-e-3</c>.
11/// </summary>
12[CodeGenModel("CreateImageRequestStyle")]
13public enum GeneratedImageStyle
14{
15 /// <summary>
16 /// The <c>vivid</c> style, with which the model will tend towards hyper-realistic, dramatic imagery.
17 /// </summary>
18 Vivid,
19 /// <summary>
20 /// The <c>natural</c> style, with which the model will not tend towards hyper-realistic, dramatic imagery.
21 /// </summary>
22 Natural,
23}