Class ImageModelCapabilities
- Namespace
- Mythosia.AI.Models.Capabilities
- Assembly
- Mythosia.AI.Abstractions.dll
Immutable capabilities of an independently selected image generation model.
public sealed class ImageModelCapabilities
- Inheritance
-
ImageModelCapabilities
- Inherited Members
Remarks
Lists describe individually supported choices, not every valid combination. Exact pixel bounds, masks, encoding combinations and account access remain subject to request and server validation.
Constructors
ImageModelCapabilities(string?, string?, CapabilitySupport, CapabilitySupport, CapabilitySupport, IEnumerable<ImageQuality>?, IEnumerable<ImageBackground>?, IEnumerable<ImageOutputFormat>?, IEnumerable<ImageSizeKind>?, IEnumerable<ImageResolution>?, IEnumerable<ImageAspectRatio>?, int?, int?)
public ImageModelCapabilities(string? provider = null, string? model = null, CapabilitySupport generation = CapabilitySupport.Unknown, CapabilitySupport editing = CapabilitySupport.Unknown, CapabilitySupport mask = CapabilitySupport.Unknown, IEnumerable<ImageQuality>? qualities = null, IEnumerable<ImageBackground>? backgrounds = null, IEnumerable<ImageOutputFormat>? outputFormats = null, IEnumerable<ImageSizeKind>? sizeKinds = null, IEnumerable<ImageResolution>? resolutions = null, IEnumerable<ImageAspectRatio>? aspectRatios = null, int? maxImages = null, int? maxInputImages = null)
Parameters
providerstringmodelstringgenerationCapabilitySupporteditingCapabilitySupportmaskCapabilitySupportqualitiesIEnumerable<ImageQuality>backgroundsIEnumerable<ImageBackground>outputFormatsIEnumerable<ImageOutputFormat>sizeKindsIEnumerable<ImageSizeKind>resolutionsIEnumerable<ImageResolution>aspectRatiosIEnumerable<ImageAspectRatio>maxImagesint?maxInputImagesint?
Properties
AspectRatios
public IReadOnlyList<ImageAspectRatio> AspectRatios { get; }
Property Value
Backgrounds
public IReadOnlyList<ImageBackground> Backgrounds { get; }
Property Value
Editing
public CapabilitySupport Editing { get; }
Property Value
Generation
public CapabilitySupport Generation { get; }
Property Value
Mask
public CapabilitySupport Mask { get; }
Property Value
MaxImages
public int? MaxImages { get; }
Property Value
- int?
MaxInputImages
public int? MaxInputImages { get; }
Property Value
- int?
Model
public string? Model { get; }
Property Value
OutputFormats
public IReadOnlyList<ImageOutputFormat> OutputFormats { get; }
Property Value
Provider
public string? Provider { get; }
Property Value
Qualities
public IReadOnlyList<ImageQuality> Qualities { get; }
Property Value
Resolutions
public IReadOnlyList<ImageResolution> Resolutions { get; }
Property Value
SizeKinds
public IReadOnlyList<ImageSizeKind> SizeKinds { get; }
Property Value
Unknown
public static ImageModelCapabilities Unknown { get; }