Text-to-Video
Diffusers
English
video
onlyflow

Run this model with HF Jobs

Run obvious-research/onlyflow on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/obvious-research/onlyflow. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/obvious-research/onlyflow on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

OnlyFlow - Obvious Research

Model for OnlyFlow: Optical Flow based Motion Conditioning for Video Diffusion Models.

Project website

Code, available on GitHub

Model weight release, on HuggingFace

We release the model weights of our best training in fp32, fp16 ckpt and safetensors format. The model is trained on the Webvid-10M dataset on a 8 A100 node for 20h.

Here are examples of videos created by the model, with from left to right:

  • input
  • optical flow extracted from input
  • output with onylflow influence (gamma parameter set to 0.)
  • output with gamma = 0.5
  • output with gamma = 0.75
  • output with gamma = 1.

Usage for inference

You can use the gradio interface on our HuggingFace Space. You can also use the inference script in our Github repository to test the released model.

Please note that the model is really sensitive to the input video framerate. You should try downsampling the video to 8fps before using it if you don't get the desired results.

Next steps

We are working on improving OnlyFlow and train it for other base model than AnimateDiff.

We appreciate any help, feel free to reach out! You can contact us:

About Obvious Research

Obvious Research is an Artificial Intelligence research laboratory dedicated to creating new AI artistic tools, initiated by the artists’ trio Obvious, in partnership with La Sorbonne Université.

BibTeX

@inproceedings{koroglu2025onlyflow,
  title={Onlyflow: Optical flow based motion conditioning for video diffusion models},
  author={Koroglu, Mathis and Caselles-Dupr{\'e}, Hugo and Jeanneret, Guillaume and Cord, Matthieu},
  booktitle={2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)},
  pages={6216--6226},
  year={2025},
  organization={IEEE}
}
Downloads last month
296
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for obvious-research/onlyflow

Finetuned
(423)
this model

Dataset used to train obvious-research/onlyflow

Space using obvious-research/onlyflow 1

Collection including obvious-research/onlyflow

Paper for obvious-research/onlyflow