FalAiModel

enum FalAiModel(val alias: String, val displayName: String, val generationMode: FalAiGenerationMode, val minInferenceSteps: Int, val maxInferenceSteps: Int, val minGuidanceScale: Float, val maxGuidanceScale: Float, val supportsImageSize: Boolean = true, val supportedAccelerations: Set<FalAiAcceleration> = FalAiAcceleration.entries.toSet()) : Enum<FalAiModel> (source)

Coordinates supported Fal.ai model endpoints in the SDAI domain layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
private constructor(alias: String, displayName: String, generationMode: FalAiGenerationMode, minInferenceSteps: Int, maxInferenceSteps: Int, minGuidanceScale: Float, maxGuidanceScale: Float, supportsImageSize: Boolean = true, supportedAccelerations: Set<FalAiAcceleration> = FalAiAcceleration.entries.toSet())

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Provides the companion object singleton used by the SDAI domain layer.

Properties

Link copied to clipboard

Exposes the alias value used by the SDAI domain layer.

Link copied to clipboard

Exposes the displayName value used by the SDAI domain layer.

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

Exposes the generationMode value used by the SDAI domain layer.

Link copied to clipboard

Exposes the maxGuidanceScale value used by the SDAI domain layer.

Link copied to clipboard

Exposes the maxInferenceSteps value used by the SDAI domain layer.

Link copied to clipboard

Exposes the minGuidanceScale value used by the SDAI domain layer.

Link copied to clipboard

Exposes the minInferenceSteps value used by the SDAI domain layer.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

Exposes the supportedAccelerations value used by the SDAI domain layer.

Link copied to clipboard

Exposes the supportsImageSize value used by the SDAI domain layer.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.