.NET API
ImageGenerationOperatorRequest
Namespace Tracon · Assembly
Tracon.Abstractions.dllThe request body for an operator image-generation action.
public sealed record ImageGenerationOperatorRequest : IEquatable<ImageGenerationOperatorRequest>Inheritance
Section titled “Inheritance”object ← ImageGenerationOperatorRequest
Implements
Section titled “Implements”IEquatable<ImageGenerationOperatorRequest>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”ImageGenerationOperatorRequest()
Section titled “ ImageGenerationOperatorRequest()”public ImageGenerationOperatorRequest()Properties
Section titled “Properties”Gets the number of images to generate. Defaults to one.
public int? Count { get; init; }Property Value
Section titled “Property Value”int?
Prompt
Section titled “ Prompt”Gets the image prompt.
public string? Prompt { get; init; }Property Value
Section titled “Property Value”SessionId
Section titled “ SessionId”Gets the session to which generated attachments belong.
public string? SessionId { get; init; }Property Value
Section titled “Property Value”Gets the optional image size in WIDTHxHEIGHT form.
public string? Size { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(ImageGenerationOperatorRequest?)
Section titled “ Equals(ImageGenerationOperatorRequest?)”public bool Equals(ImageGenerationOperatorRequest? other)Parameters
Section titled “Parameters”other ImageGenerationOperatorRequest?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(ImageGenerationOperatorRequest?, ImageGenerationOperatorRequest?)
Section titled “ operator ==(ImageGenerationOperatorRequest?, ImageGenerationOperatorRequest?)”public static bool operator ==(ImageGenerationOperatorRequest? left, ImageGenerationOperatorRequest? right)Parameters
Section titled “Parameters”left ImageGenerationOperatorRequest?
right ImageGenerationOperatorRequest?
Returns
Section titled “Returns”operator !=(ImageGenerationOperatorRequest?, ImageGenerationOperatorRequest?)
Section titled “ operator !=(ImageGenerationOperatorRequest?, ImageGenerationOperatorRequest?)”public static bool operator !=(ImageGenerationOperatorRequest? left, ImageGenerationOperatorRequest? right)Parameters
Section titled “Parameters”left ImageGenerationOperatorRequest?
right ImageGenerationOperatorRequest?