Generate your own code illustrations with our free AI image generator, no design experience needed


Created a year ago ยท 0 commentsยท 0 likes
Flux Schnell
!pip install torch torchvision transformers diffusers --upgrade
from diffusers import StableDiffusionPipeline from torch import autocast import torch
model_id = "CompVis/stable-diffusion-v1-4" device = "cuda" if torch.cuda.is_available() else "cpu"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) pipe = pipe.to(device)
prompt = "Venom character with a majestic Indonesian batik motif, all black body, with intricate cultural patterns, cinematic lighting, highly detailed, ultra realistic"
with autocast(device): image = pipe(prompt, guidance_scale=7.5).images[0]
image.save("venom_batik.png") image.show()
This image features a Venom character rendered with a majestic Indonesian batik motif. It showcases intricate cultural patterns on an all-black body, enhanced by cinematic lighting for a highly detailed, ultra-realistic effect.
Created by taitaitai on Oct 22, 2024 using the Flux Schnell AI image generator model.
Be the first to respond!
No comments yet.
Medium
9:16
Short
50%
50%
