VO: Slow Down: Canvas Animation

VO
video
canvas animation
youtube short
More messing around with adobe after effects
Author

Matt Crump

Published

February 22, 2024

Code
from diffusers import DiffusionPipeline
from transformers import set_seed
from PIL import Image
import torch
import random
import ssl
import os
ssl._create_default_https_context = ssl._create_unverified_context

#locate library
#model_id = "./stable-diffusion-v1-5"
model_id = "dreamshaper-xl-turbo"

pipeline = DiffusionPipeline.from_pretrained(
    pretrained_model_name_or_path = "../../../../bigFiles/huggingface/dreamshaper-xl-turbo/"
)

pipeline = pipeline.to("mps")

# Recommended if your computer has < 64 GB of RAM
pipeline.enable_attention_slicing("max")

prompt = "Record player. White background. Robot Transformer record player. 3d. Linocut. Neon. Lasers. Awesomeness"

for s in range(30):
  for n in [5,10]:
    seed = s+21
    num_steps = n+1
    set_seed(seed)
    
    image = pipeline(prompt,height = 1080,width = 1080,num_images_per_prompt = 1,num_inference_steps=num_steps)
    
    image_name = "images/synth_{}_{}.jpeg"
    
    image_save = image.images[0].save(image_name.format(seed,num_steps))

Record player. White background. Robot Transformer record player. 3d. Linocut. Neon. Lasers. Awesomeness - dreamshaper-xl-turbo

Following in the same footsteps as other posts where I mangle some visuals for a track off an older album

VO: Slow down

This one is slow down from VO. It’s short and kind of breakbeat-ish.

Animation details

Feeding this prompt to dreamshaper-xl-turbo:

“Record player. White background. Robot Transformer record player. 3d. Linocut. Neon. Lasers. Awesomeness”

Then, do something with one or another of these.

synth_21_11.jpeg

synth_21_11.jpeg

synth_21_6.jpeg

synth_21_6.jpeg

synth_22_11.jpeg

synth_22_11.jpeg

synth_22_6.jpeg

synth_22_6.jpeg

synth_23_11.jpeg

synth_23_11.jpeg

synth_23_6.jpeg

synth_23_6.jpeg

synth_24_11.jpeg

synth_24_11.jpeg

synth_24_6.jpeg

synth_24_6.jpeg

Youtube Short

Some digitally noised up transformer djs.