You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IImagesClient.CreateImage.g.cs
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,13 @@ public partial interface IImagesClient
52
52
/// Default Value: png<br/>
53
53
/// Example: png
54
54
/// </param>
55
+
/// <param name="partialImages">
56
+
/// The number of partial images to generate. This parameter is used for<br/>
57
+
/// streaming responses that return partial images. Value must be between 0 and 3.<br/>
58
+
/// When set to 0, the response will be a single image sent in one streaming event.<br/>
59
+
/// Default Value: 0<br/>
60
+
/// Example: 1
61
+
/// </param>
55
62
/// <param name="prompt">
56
63
/// A text description of the desired image(s). The maximum length is 32000 characters for `gpt-image-1`, 1000 characters for `dall-e-2` and 4000 characters for `dall-e-3`.<br/>
57
64
/// Example: A cute baby sea otter
@@ -75,6 +82,13 @@ public partial interface IImagesClient
75
82
/// Default Value: auto<br/>
76
83
/// Example: 1024x1024
77
84
/// </param>
85
+
/// <param name="stream">
86
+
/// Generate the image in streaming mode. Defaults to `false`. See the <br/>
87
+
/// [Image generation guide](/docs/guides/image-generation) for more information.<br/>
88
+
/// This parameter is only supported for `gpt-image-1`.<br/>
89
+
/// Default Value: false<br/>
90
+
/// Example: false
91
+
/// </param>
78
92
/// <param name="style">
79
93
/// The style of the generated images. This parameter is only supported for `dall-e-3`. Must be one of `vivid` or `natural`. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images.<br/>
80
94
/// Default Value: vivid<br/>
@@ -94,9 +108,11 @@ public partial interface IImagesClient
Copy file name to clipboardExpand all lines: src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IImagesClient.CreateImageEdit.g.cs
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,12 @@ public partial interface IImagesClient
34
34
/// For `dall-e-2`, you can only provide one image, and it should be a square <br/>
35
35
/// `png` file less than 4MB.
36
36
/// </param>
37
+
/// <param name="inputFidelity">
38
+
/// Control how much effort the model will exert to match the style and features,<br/>
39
+
/// especially facial features, of input images. This parameter is only supported<br/>
40
+
/// for `gpt-image-1`. Supports `high` and `low`. Defaults to `low`.<br/>
41
+
/// Default Value: low
42
+
/// </param>
37
43
/// <param name="mask">
38
44
/// An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. If there are multiple images provided, the mask will be applied on the first image. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.
39
45
/// </param>
@@ -64,6 +70,13 @@ public partial interface IImagesClient
64
70
/// Default Value: png<br/>
65
71
/// Example: png
66
72
/// </param>
73
+
/// <param name="partialImages">
74
+
/// The number of partial images to generate. This parameter is used for<br/>
75
+
/// streaming responses that return partial images. Value must be between 0 and 3.<br/>
76
+
/// When set to 0, the response will be a single image sent in one streaming event.<br/>
77
+
/// Default Value: 0<br/>
78
+
/// Example: 1
79
+
/// </param>
67
80
/// <param name="prompt">
68
81
/// A text description of the desired image(s). The maximum length is 1000 characters for `dall-e-2`, and 32000 characters for `gpt-image-1`.<br/>
69
82
/// Example: A cute baby sea otter wearing a beret
@@ -83,6 +96,12 @@ public partial interface IImagesClient
83
96
/// Default Value: 1024x1024<br/>
84
97
/// Example: 1024x1024
85
98
/// </param>
99
+
/// <param name="stream">
100
+
/// Edit the image in streaming mode. Defaults to `false`. See the <br/>
101
+
/// [Image generation guide](/docs/guides/image-generation) for more information.<br/>
102
+
/// Default Value: false<br/>
103
+
/// Example: false
104
+
/// </param>
86
105
/// <param name="user">
87
106
/// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).<br/>
88
107
/// Example: user-1234
@@ -93,15 +112,18 @@ public partial interface IImagesClient
/// The number of partial images to generate. This parameter is used for<br/>
208
+
/// streaming responses that return partial images. Value must be between 0 and 3.<br/>
209
+
/// When set to 0, the response will be a single image sent in one streaming event.<br/>
210
+
/// Default Value: 0<br/>
211
+
/// Example: 1
212
+
/// </param>
206
213
/// <param name="prompt">
207
214
/// A text description of the desired image(s). The maximum length is 32000 characters for `gpt-image-1`, 1000 characters for `dall-e-2` and 4000 characters for `dall-e-3`.<br/>
/// Generate the image in streaming mode. Defaults to `false`. See the <br/>
238
+
/// [Image generation guide](/docs/guides/image-generation) for more information.<br/>
239
+
/// This parameter is only supported for `gpt-image-1`.<br/>
240
+
/// Default Value: false<br/>
241
+
/// Example: false
242
+
/// </param>
229
243
/// <param name="style">
230
244
/// The style of the generated images. This parameter is only supported for `dall-e-3`. Must be one of `vivid` or `natural`. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images.<br/>
0 commit comments