Class FluentAPIExtensions
Inheritance
object
FluentAPIExtensions
Assembly: .dll
Syntax
public static class FluentAPIExtensions
Methods
SetAspectRatio<TTask>(TTask, AspectRatio)
Sets the aspect ratio of the generated image (Gemini only).
Declaration
public static TTask SetAspectRatio<TTask>(this TTask task, AspectRatio aspectRatio) where TTask : IGENTask
Parameters
Type |
Name |
Description |
TTask |
task |
|
AspectRatio |
aspectRatio |
|
Returns
Type Parameters
SetPersonGeneration<TTask>(TTask, PersonGeneration)
Sets the person generation option (Gemini only).
Declaration
public static TTask SetPersonGeneration<TTask>(this TTask task, PersonGeneration personGeneration) where TTask : IGENTask
Parameters
Returns
Type Parameters