Skip to main content

//clika-runtime/io.clika.modelverse/TextToImagePipeline

TextToImagePipeline

[common]
class TextToImagePipeline : Pipeline

Image generation over an ImageGenerationModel: a prompt answers its pictures and the seed they were drawn from (text-to-image).

Properties​

NameSummary
model[common]
open override val model: ImageGenerationModel
The loaded model the pipeline runs.
task[common]
val task: String
The task the pipeline serves, in transformers' spelling.

Functions​

NameSummary
close[common]
open fun close(): <Error class: unknown class>
invoke[common]
operator fun invoke(prompt: String, options: ImageGenerationOptions = ImageGenerationOptions()): GeneratedImages