Instructions to use worksimpli/HiDream-O1-Image-endpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use worksimpli/HiDream-O1-Image-endpoint with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("worksimpli/HiDream-O1-Image-endpoint") model = AutoModelForMultimodalLM.from_pretrained("worksimpli/HiDream-O1-Image-endpoint", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download video_preprocessor_config.json from worksimpli/HiDream-O1-Image-endpoint: direct link, hf CLI and curl.
- Browser
- Download file 385 Bytes
-
https://huggingface.co/worksimpli/HiDream-O1-Image-endpoint/resolve/main/video_preprocessor_config.json
- Command line
-
hf download hf://worksimpli/HiDream-O1-Image-endpoint/video_preprocessor_config.json
-
curl -L -o video_preprocessor_config.json https://huggingface.co/worksimpli/HiDream-O1-Image-endpoint/resolve/main/video_preprocessor_config.json
385 Bytes
| { | |
| "size": { | |
| "longest_edge": 25165824, | |
| "shortest_edge": 4096 | |
| }, | |
| "patch_size": 16, | |
| "temporal_patch_size": 2, | |
| "merge_size": 2, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "processor_class": "Qwen3VLProcessor", | |
| "video_processor_type": "Qwen3VLVideoProcessor" | |
| } |