Package-level declarations

Types

Link copied to clipboard

Defines the GetGenerationResultPagedUseCase contract for the SDAI domain layer.

Link copied to clipboard

Implements GetGenerationResultPagedUseCase behavior in the SDAI domain layer.

Link copied to clipboard

Defines the GetGenerationResultUseCase contract for the SDAI domain layer.

Link copied to clipboard

Implements GetGenerationResultUseCase behavior in the SDAI domain layer.

Link copied to clipboard

Defines the GetRandomImageUseCase contract for the SDAI domain layer.

Link copied to clipboard

Implements GetRandomImageUseCase behavior in the SDAI domain layer.

Link copied to clipboard

Defines the ImageToImageUseCase contract for the SDAI domain layer.

Link copied to clipboard
internal class ImageToImageUseCaseImpl(val stableDiffusionGenerationRepository: StableDiffusionGenerationRepository, val swarmUiGenerationRepository: SwarmUiGenerationRepository, val hordeGenerationRepository: HordeGenerationRepository, val huggingFaceGenerationRepository: HuggingFaceGenerationRepository, val stabilityAiGenerationRepository: StabilityAiGenerationRepository, val preferenceManager: PreferenceManager) : ImageToImageUseCase

Implements ImageToImageUseCase behavior in the SDAI domain layer.

Link copied to clipboard

Defines the InterruptGenerationUseCase contract for the SDAI domain layer.

Link copied to clipboard
internal class InterruptGenerationUseCaseImpl(val stableDiffusionGenerationRepository: StableDiffusionGenerationRepository, val hordeGenerationRepository: HordeGenerationRepository, val localDiffusionGenerationRepository: LocalDiffusionGenerationRepository, val preferenceManager: PreferenceManager) : InterruptGenerationUseCase

Implements InterruptGenerationUseCase behavior in the SDAI domain layer.

Link copied to clipboard

Defines the ObserveHordeProcessStatusUseCase contract for the SDAI domain layer.

Link copied to clipboard

Implements ObserveHordeProcessStatusUseCase behavior in the SDAI domain layer.

Defines the ObserveLocalDiffusionProcessStatusUseCase contract for the SDAI domain layer.

Implements ObserveLocalDiffusionProcessStatusUseCase behavior in the SDAI domain layer.

Link copied to clipboard

Defines the SaveGenerationResultUseCase contract for the SDAI domain layer.

Link copied to clipboard

Implements SaveGenerationResultUseCase behavior in the SDAI domain layer.

Link copied to clipboard

Defines the TextToImageUseCase contract for the SDAI domain layer.

Link copied to clipboard
internal class TextToImageUseCaseImpl(val stableDiffusionGenerationRepository: StableDiffusionGenerationRepository, val hordeGenerationRepository: HordeGenerationRepository, val huggingFaceGenerationRepository: HuggingFaceGenerationRepository, val openAiGenerationRepository: OpenAiGenerationRepository, val stabilityAiGenerationRepository: StabilityAiGenerationRepository, val swarmUiGenerationRepository: SwarmUiGenerationRepository, val localDiffusionGenerationRepository: LocalDiffusionGenerationRepository, val mediaPipeGenerationRepository: MediaPipeGenerationRepository, val preferenceManager: PreferenceManager) : TextToImageUseCase

Implements TextToImageUseCase behavior in the SDAI domain layer.