Dreambooth_OLD_Book_Illustration on Stable Diffusion via Dreambooth
This model is fined-tuned version of StableDiffusion model via Dreambooth. The code below is for the direct usage and controlling the model for making a more cohesive image based on the given prompt.
image_format='Portrat (Tall)'
image_subject='Narratives'
book_title='Ballads and songs of Brittany'
date='1833'
prompt=f"""
<image> generate image with theme of {date} with illustration format {image_format} of and subject of {image_subject}.
The generating image should be inspired from {book_title}.
## Image description:
Two men are drinking wine in the Bar.
"""
num_samples = 2
num_rows = 1
all_images = []
for _ in range(num_rows):
images = pipe(prompt, num_images_per_prompt=num_samples, num_inference_steps=50, guidance_scale=9).images
all_images.extend(images)
grid = image_grid(all_images, num_rows, num_samples)
grid
- Downloads last month
- 15
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
🙋
Ask for provider support