Namespace Mythosia.AI.Models.Images
Classes
- GeneratedImage
A single image returned by an image generation service.
- ImageEditRequest
Request for generating images from one or more reference images.
- ImageGenerationRequest
Provider-neutral request for generating images from a text prompt.
- ImageGenerationResult
Provider-neutral result containing generated images and request metadata.
- ImageInput
Binary image input supplied to an image generation service.
- ImageSize
Immutable image sizing intent. Exact pixels and resolution presets are distinct requests; providers reject unsupported kinds instead of silently approximating dimensions.
Enums
- ImageAspectRatio
Aspect ratios for provider resolution presets. Supported ratios depend on the provider.
- ImageBackground
Requested image background. Explicit backgrounds require provider support.
- ImageOutputFormat
Requested output encoding. Auto uses the provider default; inspect the returned image's MediaType. An explicit encoding is accepted only by providers with a corresponding encoding control.
- ImageQuality
Requested image quality. Each provider validates the levels its model supports.
- ImageResolution
Provider resolution grades, which do not guarantee exact pixel dimensions.
- ImageSizeKind
Whether an image size is automatic, exact pixels, or a provider resolution preset.