aidealab / AIdeaLab-VideoJP

huggingface.co
Total runs: 45
24-hour runs: 9
7-day runs: 11
30-day runs: 34
Model's Last Updated: January 14 2025
text-to-video

Introduction of AIdeaLab-VideoJP

Model Details of AIdeaLab-VideoJP

Model Card for AIdeaLab VideoJP

eyecatch

AIdeaLab VideoJP is a text-to-video model learning from CC-BY, CC-0 like images. AIdeaLab VideoJP is made in Japan. This model is supported by GENIAC (NEDO, METI).

Model Details
Model Description

At AIdeaLab, we develop AI technology through active dialogue with creators, aiming for mutual understanding and cooperation. We strive to solve challenges faced by creators and grow together. One of these challenges is that some creators and fans want to use video generation but can't, likely due to the lack of permission to use certain videos for training. To address this issue, we have developed AIdeaLab VideoJP.

Features of AIdeaLab VideoJP
  • Principally uses images with obtained learning permissions
  • Understands both Japanese and English text inputs directly
  • Minimizes the risk of exact reproduction of training images
  • Utilizes cutting-edge technology for high quality and efficiency
Misc.
  • Developed by: alfredplpl , maty0505
  • Funded by: AIdeaLab, Inc. and NEDO, and METI
  • Shared by: AIdeaLab, Inc.
  • Model type: Rectified Flow Transformer
  • Language(s) (NLP): Japanese, English
  • License: Apache-2.0
Model Sources
  • Repository: TBA
  • Paper : blog
How to Get Started with the Model
  • diffusers
  1. Install libraries.
pip install transformers diffusers
  1. Run the following script
from diffusers.utils import export_to_video
import tqdm
from torchvision.transforms import ToPILImage
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
from diffusers import CogVideoXTransformer3DModel, AutoencoderKLCogVideoX

prompt="チューリップや菜の花、色とりどりの花が果てしなく続く畑を埋め尽くし、まるでパッチワークのようにカラフルに彩る。朝の柔らかな光が花びらを透かし、淡いグラデーションが映える。風に揺れる花々をスローモーションで捉え、花びらが優雅に舞う姿を映画のような演出で撮影。背景には遠くに連なる山並みや青い空、浮かぶ白い雲が立体感を引き立てる。"
device="cuda"
shape=(1,48//4,16,256//8,256//8)
sample_N=25
torch_dtype=torch.bfloat16
eps=1
cfg=2.5

tokenizer = AutoTokenizer.from_pretrained(
    "llm-jp/llm-jp-3-1.8b"
)

text_encoder = AutoModelForCausalLM.from_pretrained(
    "llm-jp/llm-jp-3-1.8b",
    torch_dtype=torch_dtype
)
text_encoder=text_encoder.to(device)

text_inputs = tokenizer(
    prompt,
    padding="max_length",
    max_length=512,
    truncation=True,
    add_special_tokens=True,
    return_tensors="pt",
)
text_input_ids = text_inputs.input_ids
prompt_embeds = text_encoder(text_input_ids.to(device), output_hidden_states=True, attention_mask=text_inputs.attention_mask.to(device)).hidden_states[-1]
prompt_embeds = prompt_embeds.to(dtype=torch_dtype, device=device)

null_text_inputs = tokenizer(
    "",
    padding="max_length",
    max_length=512,
    truncation=True,
    add_special_tokens=True,
    return_tensors="pt",
)
null_text_input_ids = null_text_inputs.input_ids
null_prompt_embeds = text_encoder(null_text_input_ids.to(device), output_hidden_states=True, attention_mask=null_text_inputs.attention_mask.to(device)).hidden_states[-1]
null_prompt_embeds = null_prompt_embeds.to(dtype=torch_dtype, device=device)

# Free VRAM
del text_encoder

transformer = CogVideoXTransformer3DModel.from_pretrained(
    "aidealab/AIdeaLab-VideoJP",
    torch_dtype=torch_dtype
)
transformer=transformer.to(device)

vae = AutoencoderKLCogVideoX.from_pretrained(
    "THUDM/CogVideoX-2b",
    subfolder="vae"
)
vae=vae.to(dtype=torch_dtype, device=device)
vae.enable_slicing()
vae.enable_tiling()

# euler discreate sampler with cfg
z0 = torch.randn(shape, device=device)
latents = z0.detach().clone().to(torch_dtype)

dt = 1.0 / sample_N
with torch.no_grad():
    for i in tqdm.tqdm(range(sample_N)):
        num_t = i / sample_N
        t = torch.ones(shape[0], device=device) * num_t
        psudo_t=(1000-eps)*(1-t)+eps
        positive_conditional = transformer(hidden_states=latents, timestep=psudo_t, encoder_hidden_states=prompt_embeds, image_rotary_emb=None)
        null_conditional = transformer(hidden_states=latents, timestep=psudo_t, encoder_hidden_states=null_prompt_embeds, image_rotary_emb=None)
        pred = null_conditional.sample+cfg*(positive_conditional.sample-null_conditional.sample)
        latents = latents.detach().clone() + dt * pred.detach().clone()

    # Free VRAM
    del transformer

    latents = latents / vae.config.scaling_factor
    latents = latents.permute(0, 2, 1, 3, 4) # [B, F, C, H, W]
    x=vae.decode(latents).sample
    x = x / 2 + 0.5
    x = x.clamp(0,1)
    x=x.permute(0, 2, 1, 3, 4).to(torch.float32)# [B, F, C, H, W]
    print(x.shape)
    x=[ToPILImage()(frame) for frame in x[0]]

export_to_video(x,"output.mp4",fps=24)
Uses
Direct Use
  • Assistance in creating illustrations, manga, and anime
    • For both commercial and non-commercial purposes
    • Communication with creators when making requests
  • Commercial provision of image generation services
    • Please be cautious when handling generated content
  • Self-expression
    • Using this AI to express "your" uniqueness
  • Research and development
    • Fine-tuning (also known as additional training) such as LoRA
    • Merging with other models
    • Examining the performance of this model using metrics like FID
  • Education
    • Graduation projects for art school or vocational school students
    • University students' graduation theses or project assignments
    • Teachers demonstrating the current state of image generation AI
  • Uses described in the Hugging Face Community
    • Please ask questions in Japanese or English
Out-of-Scope Use
  • Generate misinfomation or disinformation.
Bias, Risks, and Limitations
  • Cannot generate anime
Training Details
Training Data

We used these dataset to train the transformer:

Technical Specifications
Model Architecture and Objective
Model Architecture

CogVideoX based architecture

Objective

Rectified Flow

Software

Finetrainers based code

Model Card Contact

Acknowledgement

We approciate the video providers. So, we are standing on the shoulders of giants .

Runs of aidealab AIdeaLab-VideoJP on huggingface.co

45
Total runs
9
24-hour runs
10
3-day runs
11
7-day runs
34
30-day runs

More Information About AIdeaLab-VideoJP huggingface.co Model

More AIdeaLab-VideoJP license Visit here:

https://choosealicense.com/licenses/apache-2.0

AIdeaLab-VideoJP huggingface.co

AIdeaLab-VideoJP huggingface.co is an AI model on huggingface.co that provides AIdeaLab-VideoJP's model effect (), which can be used instantly with this aidealab AIdeaLab-VideoJP model. huggingface.co supports a free trial of the AIdeaLab-VideoJP model, and also provides paid use of the AIdeaLab-VideoJP. Support call AIdeaLab-VideoJP model through api, including Node.js, Python, http.

AIdeaLab-VideoJP huggingface.co Url

https://huggingface.co/aidealab/AIdeaLab-VideoJP

aidealab AIdeaLab-VideoJP online free

AIdeaLab-VideoJP huggingface.co is an online trial and call api platform, which integrates AIdeaLab-VideoJP's modeling effects, including api services, and provides a free online trial of AIdeaLab-VideoJP, you can try AIdeaLab-VideoJP online for free by clicking the link below.

aidealab AIdeaLab-VideoJP online free url in huggingface.co:

https://huggingface.co/aidealab/AIdeaLab-VideoJP

AIdeaLab-VideoJP install

AIdeaLab-VideoJP is an open source model from GitHub that offers a free installation service, and any user can find AIdeaLab-VideoJP on GitHub to install. At the same time, huggingface.co provides the effect of AIdeaLab-VideoJP install, users can directly use AIdeaLab-VideoJP installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

AIdeaLab-VideoJP install url in huggingface.co:

https://huggingface.co/aidealab/AIdeaLab-VideoJP

Url of AIdeaLab-VideoJP

AIdeaLab-VideoJP huggingface.co Url

Provider of AIdeaLab-VideoJP huggingface.co

aidealab
ORGANIZATIONS

Other API from aidealab

huggingface.co

Total runs: 6.4K
Run Growth: -7.8K
Growth Rate: -121.38%
Updated:July 13 2026
huggingface.co

Total runs: 1.5K
Run Growth: -10.0K
Growth Rate: -657.49%
Updated:June 29 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 27 2025