philpax / stable-diffusion-a1111-webui-client

A Rust library for interacting with Automatic1111's SD Web UI
MIT License
8 stars 1 forks source link

Add `generate_image_from_text_and_image` #1

Closed philpax closed 1 year ago

philpax commented 2 years ago

i.e. init_image support

This has some nuances around what GenerationRequest should look like (the request is different for txt2img and img2img). Will likely create another struct that's shared between the two of them, so that there's SharedGenerationRequest, TextGenerationRequest and ImageGenerationRequest. Or something.