openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/Images/GeneratedImageQuality.cs
31lines · modecode
| 1 | namespace OpenAI.Images; |
| 2 | |
| 3 | // CUSTOM: |
| 4 | // - Renamed enum and its members. |
| 5 | // - Converted extensible enum into an enum. |
| 6 | // - Edited doc comment. |
| 7 | /// <summary> |
| 8 | /// A representation of the quality setting for image operations that controls the level of work that the model will |
| 9 | /// perform. |
| 10 | /// </summary> |
| 11 | /// <remarks> |
| 12 | /// Available qualities consist of: |
| 13 | /// <list type="bullet"> |
| 14 | /// <item><see cref="Standard"/> - <c>standard</c> - The default setting that balances speed, detail, and consistecy. </item> |
| 15 | /// <item><see cref="High"/> - <c>hd</c> - Better consistency and finer details, but may be slower. </item> |
| 16 | /// </list> |
| 17 | /// </remarks> |
| 18 | [CodeGenModel("CreateImageRequestQuality")] |
| 19 | public enum GeneratedImageQuality |
| 20 | { |
| 21 | /// <summary> |
| 22 | /// The <c>hd</c> image quality that provides finer details and greater consistency but may be slower. |
| 23 | /// </summary> |
| 24 | [CodeGenMember("Hd")] |
| 25 | High, |
| 26 | /// <summary> |
| 27 | /// The <c>standard</c> image quality that provides a balanced mix of detailing, consistency, and speed. |
| 28 | /// </summary> |
| 29 | [CodeGenMember("Standard")] |
| 30 | Standard, |
| 31 | } |