Class GenerateMediaConfig
Inheritance
object
GenerateMediaConfig
Namespace: Glitch9.AIDevKit.Google
Assembly: .dll
Syntax
public class GenerateMediaConfig
Properties
AspectRatio
Changes the aspect ratio of the generated image. Supported values are "1:1", "3:4", "4:3", "9:16", and "16:9". The default is "1:1".
Declaration
public AspectRatio AspectRatio { get; set; }
Property Value
Type | Description |
---|---|
AspectRatio |
NumberOfImages
Declaration
public int NumberOfImages { get; set; }
Property Value
Type | Description |
---|---|
int |
PersonGeneration
Allow the model to generate images of people.
Declaration
public PersonGeneration PersonGeneration { get; set; }
Property Value
Type | Description |
---|---|
PersonGeneration |