Table of Contents

Class ImageGenerationRequest

Namespace
Mythosia.AI.Models.Images
Assembly
Mythosia.AI.Abstractions.dll

Provider-neutral request for generating images from a text prompt.

public class ImageGenerationRequest
Inheritance
ImageGenerationRequest
Derived
Inherited Members

Constructors

ImageGenerationRequest()

public ImageGenerationRequest()

Properties

Background

Requested background behavior or a provider-supported automatic value.

public string Background { get; set; }

Property Value

string

Count

Number of images requested.

public int Count { get; set; }

Property Value

int

Model

Optional image model override. When omitted, the service default is used.

public string? Model { get; set; }

Property Value

string

OutputCompression

Optional compression level for formats that support compression.

public int? OutputCompression { get; set; }

Property Value

int?

OutputFormat

Requested output format, such as png, jpeg, or webp.

public string OutputFormat { get; set; }

Property Value

string

Prompt

Description of the image to generate.

public string Prompt { get; set; }

Property Value

string

Quality

Requested output quality or a provider-supported automatic value.

public string Quality { get; set; }

Property Value

string

Size

Requested output dimensions or a provider-supported automatic value.

public string Size { get; set; }

Property Value

string