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
/// - Parameter background: Background type for the generated image.
567
+
/// - Parameter inputFidelity: Control how much effort the model will exert to match the style and features, especially facial features, of input images.
568
+
/// - Parameter imageMask: Optional mask for inpainting.
569
+
/// - Parameter model: The image generation model to use.
570
+
/// - Parameter moderation: Moderation level for the generated image.
571
+
/// - Parameter compression: Compression level for the output image.
572
+
/// - Parameter format: The output format of the generated image.
573
+
/// - Parameter partialImages: Number of partial images to generate in streaming mode, from 0 (default value) to 3.
574
+
/// - Parameter quality: The quality of the generated image.
575
+
/// - Parameter aspectRatio: The aspect ratio of the generated image.
576
+
publicinit(
577
+
background:Background?=nil,
578
+
inputFidelity:InputFidelity?=nil,
579
+
imageMask:ImageMask?=nil,
580
+
model:Model.Image?=nil,
581
+
moderation:String?=nil,
582
+
compression:UInt?=nil,
583
+
format:Format?=nil,
584
+
partialImages:UInt?=nil,
585
+
quality:Quality?=nil,
586
+
aspectRatio:AspectRatio?=nil
587
+
){
556
588
self.model = model
557
589
self.format = format
558
590
self.quality = quality
@@ -562,6 +594,7 @@ import MetaCodable
562
594
self.aspectRatio = aspectRatio
563
595
self.compression = compression
564
596
self.partialImages = partialImages
597
+
self.inputFidelity = inputFidelity
565
598
}
566
599
}
567
600
@@ -677,6 +710,7 @@ public extension Tool {
677
710
///
678
711
/// Learn more about the [image generation tool](https://platform.openai.com/docs/guides/tools-image-generation).
679
712
/// - Parameter background: Background type for the generated image.
713
+
/// - Parameter inputFidelity: Control how much effort the model will exert to match the style and features, especially facial features, of input images.
680
714
/// - Parameter imageMask: Optional mask for inpainting.
681
715
/// - Parameter model: The image generation model to use.
682
716
/// - Parameter moderation: Moderation level for the generated image.
@@ -687,6 +721,7 @@ public extension Tool {
687
721
/// - Parameter aspectRatio: The aspect ratio of the generated image.
0 commit comments