SamitHuang/mindone

one for all, Optimal generator with No Exception

1

stars

917

commits

Python

primary language

Nov 10, 2025

updated

README

MindSpore ONE

This repository contains SoTA algorithms, models, and interesting projects in the area of multimodal understanding and content generation.

ONE is short for "ONE for all"

News

  • [2025.04.10] We release v0.3.0. More than 15 SoTA generative models are added, including Flux, CogView4, OpenSora2.0, Movie Gen 30B , CogVideoX 5B~30B. Have fun!
  • [2025.02.21] We support DeepSeek Janus-Pro, a SoTA multimodal understanding and generation model. See here
  • [2024.11.06] v0.2.0 is released

Quick tour

To install v0.3.0, please install MindSpore 2.5.0 and run pip install mindone

Alternatively, to install the latest version from the master branch, please run.

git clone https://github.com/mindspore-lab/mindone.git
cd mindone
pip install -e .

We support state-of-the-art diffusion models for generating images, audio, and video. Let's get started using Stable Diffusion 3 as an example.

Hello MindSpore from Stable Diffusion 3!

sd3
import mindspore
from mindone.diffusers import StableDiffusion3Pipeline

pipe = StableDiffusion3Pipeline.from_pretrained(
    "stabilityai/stable-diffusion-3-medium-diffusers",
    mindspore_dtype=mindspore.float16,
)
prompt = "A cat holding a sign that says 'Hello MindSpore'"
image = pipe(prompt)[0][0]
image.save("sd3.png")

run hf diffusers on mindspore

  • mindone diffusers is under active development, most tasks were tested with mindspore 2.5.0 on Ascend Atlas 800T A2 machines.
  • compatibale with hf diffusers 0.32.2
componentfeatures
pipelinesupport text-to-image,text-to-video,text-to-audio tasks 160+
modelssupport audoencoder & transformers base models same as hf diffusers 50+
schedulerssupport diffusion schedulers (e.g., ddpm and dpm solver) same as hf diffusers 35+

supported models under mindone/examples

taskmodelinferencefinetunepretraininstitute
Image-to-Videohunyuanvideo-i2v πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈTencent
Text/Image-to-Videowan2.1 πŸ”₯πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈAlibaba
Text/Image/Speech-to-Videowan2.2 πŸ”₯πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈAlibaba
Text-to-Imagecogview4 πŸ”₯πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈZhipuai
Text-to-Videostep_video_t2v πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈStepFun
Image-Text-to-Textqwen2_vl πŸ”₯πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈAlibaba
Any-to-Anyjanus πŸ”₯πŸ”₯πŸ”₯βœ…βœ…βœ…DeepSeek
Any-to-Anyemu3 πŸ”₯πŸ”₯βœ…βœ…βœ…BAAI
Class-to-ImagevarπŸ”₯πŸ”₯βœ…βœ…βœ…ByteDance
Text/Image-to-Videohpcai open sora 1.2/2.0 πŸ”₯πŸ”₯βœ…βœ…βœ…HPC-AI Tech
Text/Image-to-Videocogvideox 1.5 5B~30B πŸ”₯πŸ”₯βœ…βœ…βœ…Zhipu
Text-to-Videoopen sora plan 1.3 πŸ”₯πŸ”₯βœ…βœ…βœ…PKU
Text-to-Videohunyuanvideo πŸ”₯πŸ”₯βœ…βœ…βœ…Tencent
Text-to-Videomovie gen 30B πŸ”₯πŸ”₯βœ…βœ…βœ…Meta
Video-Encode-Decodemagvitβœ…βœ…βœ…Google
Text-to-Imagestory_diffusionβœ…βœ–οΈβœ–οΈByteDance
Image-to-Videodynamicrafterβœ…βœ–οΈβœ–οΈTencent
Video-to-Videovenhancerβœ…βœ–οΈβœ–οΈShanghai AI Lab
Text-to-Videot2v_turboβœ…βœ…βœ…Google
Image-to-Videosvdβœ…βœ…βœ…Stability AI
Text-to-Videoanimate diffβœ…βœ…βœ…CUHK
Text/Image-to-Videovideo composerβœ…βœ…βœ…Alibaba
Text-to-Imageflux πŸ”₯βœ…βœ…βœ–οΈBlack Forest Lab
Text-to-Imagestable diffusion 3 πŸ”₯βœ…βœ…βœ–οΈStability AI
Text-to-Imagekohya_sd_scriptsβœ…βœ…βœ–οΈkohya
Text-to-Imagestable diffusion xlβœ…βœ…βœ…Stability AI
Text-to-Imagestable diffusionβœ…βœ…βœ…Stability AI
Text-to-Imagehunyuan_ditβœ…βœ…βœ…Tencent
Text-to-Imagepixart_sigmaβœ…βœ…βœ…Huawei
Text-to-Imagefitβœ…βœ…βœ…Shanghai AI Lab
Class-to-Videolatteβœ…βœ…βœ…Shanghai AI Lab
Class-to-Imageditβœ…βœ…βœ…Meta
Text-to-Imaget2i-adapterβœ…βœ…βœ…Shanghai AI Lab
Text-to-Imageip adapterβœ…βœ…βœ…Tencent
Text-to-3Dmvdreamβœ…βœ…βœ…ByteDance
Image-to-3Dinstantmeshβœ…βœ…βœ…Tencent
Image-to-3Dsv3dβœ…βœ…βœ…Stability AI
Text/Image-to-3Dhunyuan3d-1.0βœ…βœ…βœ…Tencent

supported captioner

taskmodelinferencefinetunepretrainfeatures
Image-Text-to-Textpllava πŸ”₯βœ…βœ–οΈβœ–οΈsupport video and image captioning

Contributors

(top 30 of 49)

SamitHuang

111 commits

wtomin

96 commits

Cui-yshoho

58 commits

hadipash

51 commits

SamitHuang/mindone

one for all, Optimal generator with No Exception

1

stars

917

commits

Python

primary language

Nov 10, 2025

updated

README

MindSpore ONE

This repository contains SoTA algorithms, models, and interesting projects in the area of multimodal understanding and content generation.

ONE is short for "ONE for all"

News

  • [2025.04.10] We release v0.3.0. More than 15 SoTA generative models are added, including Flux, CogView4, OpenSora2.0, Movie Gen 30B , CogVideoX 5B~30B. Have fun!
  • [2025.02.21] We support DeepSeek Janus-Pro, a SoTA multimodal understanding and generation model. See here
  • [2024.11.06] v0.2.0 is released

Quick tour

To install v0.3.0, please install MindSpore 2.5.0 and run pip install mindone

Alternatively, to install the latest version from the master branch, please run.

git clone https://github.com/mindspore-lab/mindone.git
cd mindone
pip install -e .

We support state-of-the-art diffusion models for generating images, audio, and video. Let's get started using Stable Diffusion 3 as an example.

Hello MindSpore from Stable Diffusion 3!

sd3
import mindspore
from mindone.diffusers import StableDiffusion3Pipeline

pipe = StableDiffusion3Pipeline.from_pretrained(
    "stabilityai/stable-diffusion-3-medium-diffusers",
    mindspore_dtype=mindspore.float16,
)
prompt = "A cat holding a sign that says 'Hello MindSpore'"
image = pipe(prompt)[0][0]
image.save("sd3.png")

run hf diffusers on mindspore

  • mindone diffusers is under active development, most tasks were tested with mindspore 2.5.0 on Ascend Atlas 800T A2 machines.
  • compatibale with hf diffusers 0.32.2
componentfeatures
pipelinesupport text-to-image,text-to-video,text-to-audio tasks 160+
modelssupport audoencoder & transformers base models same as hf diffusers 50+
schedulerssupport diffusion schedulers (e.g., ddpm and dpm solver) same as hf diffusers 35+

supported models under mindone/examples

taskmodelinferencefinetunepretraininstitute
Image-to-Videohunyuanvideo-i2v πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈTencent
Text/Image-to-Videowan2.1 πŸ”₯πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈAlibaba
Text/Image/Speech-to-Videowan2.2 πŸ”₯πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈAlibaba
Text-to-Imagecogview4 πŸ”₯πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈZhipuai
Text-to-Videostep_video_t2v πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈStepFun
Image-Text-to-Textqwen2_vl πŸ”₯πŸ”₯πŸ”₯βœ…βœ–οΈβœ–οΈAlibaba
Any-to-Anyjanus πŸ”₯πŸ”₯πŸ”₯βœ…βœ…βœ…DeepSeek
Any-to-Anyemu3 πŸ”₯πŸ”₯βœ…βœ…βœ…BAAI
Class-to-ImagevarπŸ”₯πŸ”₯βœ…βœ…βœ…ByteDance
Text/Image-to-Videohpcai open sora 1.2/2.0 πŸ”₯πŸ”₯βœ…βœ…βœ…HPC-AI Tech
Text/Image-to-Videocogvideox 1.5 5B~30B πŸ”₯πŸ”₯βœ…βœ…βœ…Zhipu
Text-to-Videoopen sora plan 1.3 πŸ”₯πŸ”₯βœ…βœ…βœ…PKU
Text-to-Videohunyuanvideo πŸ”₯πŸ”₯βœ…βœ…βœ…Tencent
Text-to-Videomovie gen 30B πŸ”₯πŸ”₯βœ…βœ…βœ…Meta
Video-Encode-Decodemagvitβœ…βœ…βœ…Google
Text-to-Imagestory_diffusionβœ…βœ–οΈβœ–οΈByteDance
Image-to-Videodynamicrafterβœ…βœ–οΈβœ–οΈTencent
Video-to-Videovenhancerβœ…βœ–οΈβœ–οΈShanghai AI Lab
Text-to-Videot2v_turboβœ…βœ…βœ…Google
Image-to-Videosvdβœ…βœ…βœ…Stability AI
Text-to-Videoanimate diffβœ…βœ…βœ…CUHK
Text/Image-to-Videovideo composerβœ…βœ…βœ…Alibaba
Text-to-Imageflux πŸ”₯βœ…βœ…βœ–οΈBlack Forest Lab
Text-to-Imagestable diffusion 3 πŸ”₯βœ…βœ…βœ–οΈStability AI
Text-to-Imagekohya_sd_scriptsβœ…βœ…βœ–οΈkohya
Text-to-Imagestable diffusion xlβœ…βœ…βœ…Stability AI
Text-to-Imagestable diffusionβœ…βœ…βœ…Stability AI
Text-to-Imagehunyuan_ditβœ…βœ…βœ…Tencent
Text-to-Imagepixart_sigmaβœ…βœ…βœ…Huawei
Text-to-Imagefitβœ…βœ…βœ…Shanghai AI Lab
Class-to-Videolatteβœ…βœ…βœ…Shanghai AI Lab
Class-to-Imageditβœ…βœ…βœ…Meta
Text-to-Imaget2i-adapterβœ…βœ…βœ…Shanghai AI Lab
Text-to-Imageip adapterβœ…βœ…βœ…Tencent
Text-to-3Dmvdreamβœ…βœ…βœ…ByteDance
Image-to-3Dinstantmeshβœ…βœ…βœ…Tencent
Image-to-3Dsv3dβœ…βœ…βœ…Stability AI
Text/Image-to-3Dhunyuan3d-1.0βœ…βœ…βœ…Tencent

supported captioner

taskmodelinferencefinetunepretrainfeatures
Image-Text-to-Textpllava πŸ”₯βœ…βœ–οΈβœ–οΈsupport video and image captioning

Contributors

(top 30 of 49)

SamitHuang

111 commits

wtomin

96 commits

Cui-yshoho

58 commits

hadipash

51 commits

Languages

Python

99.8%