Table of Contents

Class ImageGenerationResult

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

Provider-neutral result containing generated images and request metadata.

public sealed class ImageGenerationResult
Inheritance
ImageGenerationResult
Inherited Members

Constructors

ImageGenerationResult()

public ImageGenerationResult()

Properties

Images

All images returned for the request.

public IReadOnlyList<GeneratedImage> Images { get; set; }

Property Value

IReadOnlyList<GeneratedImage>

Model

Image model that fulfilled the request.

public string Model { get; set; }

Property Value

string

Provider

Provider that fulfilled the request.

public string Provider { get; set; }

Property Value

string

RequestId

Optional provider request identifier for diagnostics and provenance.

public string? RequestId { get; set; }

Property Value

string

Usage

Optional token usage reported by the provider.

public TokenUsage? Usage { get; set; }

Property Value

TokenUsage