Skip to content
Tracon

ImageGenerationOperatorRequest

Namespace Tracon · Assembly Tracon.Abstractions.dll

The request body for an operator image-generation action.

public sealed record ImageGenerationOperatorRequest : IEquatable<ImageGenerationOperatorRequest>

objectImageGenerationOperatorRequest

IEquatable<ImageGenerationOperatorRequest>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public ImageGenerationOperatorRequest()

Gets the number of images to generate. Defaults to one.

public int? Count { get; init; }

int?

Gets the image prompt.

public string? Prompt { get; init; }

string?

Gets the session to which generated attachments belong.

public string? SessionId { get; init; }

string?

Gets the optional image size in WIDTHxHEIGHT form.

public string? Size { get; init; }

string?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(ImageGenerationOperatorRequest? other)

other ImageGenerationOperatorRequest?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(ImageGenerationOperatorRequest?, ImageGenerationOperatorRequest?)

Section titled “ operator ==(ImageGenerationOperatorRequest?, ImageGenerationOperatorRequest?)”
public static bool operator ==(ImageGenerationOperatorRequest? left, ImageGenerationOperatorRequest? right)

left ImageGenerationOperatorRequest?

right ImageGenerationOperatorRequest?

bool

operator !=(ImageGenerationOperatorRequest?, ImageGenerationOperatorRequest?)

Section titled “ operator !=(ImageGenerationOperatorRequest?, ImageGenerationOperatorRequest?)”
public static bool operator !=(ImageGenerationOperatorRequest? left, ImageGenerationOperatorRequest? right)

left ImageGenerationOperatorRequest?

right ImageGenerationOperatorRequest?

bool