ImageToImageUseCaseImpl

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

Implements ImageToImageUseCase behavior in the SDAI domain layer.

Author

Dmitriy Moroz

Throws

when the delegated operation cannot complete.

Constructors

Link copied to clipboard
constructor(stableDiffusionGenerationRepository: StableDiffusionGenerationRepository, swarmUiGenerationRepository: SwarmUiGenerationRepository, hordeGenerationRepository: HordeGenerationRepository, huggingFaceGenerationRepository: HuggingFaceGenerationRepository, stabilityAiGenerationRepository: StabilityAiGenerationRepository, preferenceManager: PreferenceManager)

Properties

Link copied to clipboard

Exposes the hordeGenerationRepository value used by the SDAI domain layer.

Link copied to clipboard

Exposes the huggingFaceGenerationRepository value used by the SDAI domain layer.

Link copied to clipboard

Exposes the preferenceManager value used by the SDAI domain layer.

Link copied to clipboard

Exposes the stabilityAiGenerationRepository value used by the SDAI domain layer.

Link copied to clipboard

Exposes the stableDiffusionGenerationRepository value used by the SDAI domain layer.

Link copied to clipboard

Exposes the swarmUiGenerationRepository value used by the SDAI domain layer.

Functions

Link copied to clipboard

Executes the generateSingle step in the SDAI domain layer.

Link copied to clipboard
open suspend operator override fun invoke(payload: ImageToImagePayload): List<AiGenerationResult>

Executes the invoke step in the SDAI domain layer.