amrha / img2img_replicate

img2img & cog & diffusers test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image2VanGogh

Replicate

The code is running on CPU, so it will be extremly slow. It takes ~10 minutes for 50 inference steps on replicate.com.

This work is based on this repo. This Python script allows you to generatea images using the Ghibli-Diffusion model trained with PyTorch. The generated images are based on an input image and a text prompt, and the output is a transformed version of the initial image guided by the provided text prompt.

Image Transformation Example

Here is an example of how this model transforms an input image based on a text prompt.

The original image:

Original Image

The transformed image with the prompt "A van gogh painting of a starry night":

Transformed Image

As you can see, the transformed image retains the basic structure of the original image but modifies the colors and details to match the style suggested by the text prompt.s

About

img2img & cog & diffusers test


Languages

Language:Python 100.0%