Instructions to use RED-AIGC/StoryMaker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use RED-AIGC/StoryMaker with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("RED-AIGC/StoryMaker", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Portrait Image Mask Generation Inquiry
#6
by gaochangkuan - opened
I currently have a portrait image, what are some good ways to generate a mask image for this portrait?
Thanks for your attention, you could try some open-source human segmentation model, for example, yolov8, SAM