TextToImageStrings

data class TextToImageStrings(val title: String = Localization.string("title_text_to_image"), val prompt: String = Localization.string("hint_prompt"), val negativePrompt: String = Localization.string("hint_prompt_negative"), val width: String = Localization.string("width"), val height: String = Localization.string("height"), val steps: String = Localization.string("gallery_info_field_sampling_steps"), val cfgScale: String = Localization.string("gallery_info_field_cfg"), val batch: String = Localization.string("hint_batch_tag"), val generate: String = Localization.string("action_generate"), val generating: String = Localization.string("notification_running_title"), val save: String = Localization.string("action_save"), val savingImage: String = Localization.string("message_image_saving"), val share: String = Localization.string("action_share_prompt"), val sharingImage: String = Localization.string("message_image_sharing"), val configureProvider: String = Localization.string("settings_item_config"), val sourceUnavailable: String = Localization.string("error_source_android_only"), val results: String = Localization.string("title_generation_results"), val imageUnavailable: String = Localization.string("message_image_data_received"), val resultMeta: (AiGenerationResult) -> String = { result -> Localization.string( "generation_result_meta", result.width, result.height, result.samplingSteps, ) })(source)

Carries TextToImageStrings data through the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(title: String = Localization.string("title_text_to_image"), prompt: String = Localization.string("hint_prompt"), negativePrompt: String = Localization.string("hint_prompt_negative"), width: String = Localization.string("width"), height: String = Localization.string("height"), steps: String = Localization.string("gallery_info_field_sampling_steps"), cfgScale: String = Localization.string("gallery_info_field_cfg"), batch: String = Localization.string("hint_batch_tag"), generate: String = Localization.string("action_generate"), generating: String = Localization.string("notification_running_title"), save: String = Localization.string("action_save"), savingImage: String = Localization.string("message_image_saving"), share: String = Localization.string("action_share_prompt"), sharingImage: String = Localization.string("message_image_sharing"), configureProvider: String = Localization.string("settings_item_config"), sourceUnavailable: String = Localization.string("error_source_android_only"), results: String = Localization.string("title_generation_results"), imageUnavailable: String = Localization.string("message_image_data_received"), resultMeta: (AiGenerationResult) -> String = { result -> Localization.string( "generation_result_meta", result.width, result.height, result.samplingSteps, ) })

Properties

Link copied to clipboard

Exposes the batch value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the cfgScale value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the configureProvider value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the generate value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the generating value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the height value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the imageUnavailable value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the negativePrompt value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the prompt value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the resultMeta value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the results value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the save value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the savingImage value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the share value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the sharingImage value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the sourceUnavailable value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the steps value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the title value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the width value used by the SDAI presentation layer.