alt.freeweights.text / HiDream-E1-Full
From: HiDream-ai <huggingface.co/HiDream-ai>Newsgroups: alt.freeweights.textSubject:

HiDream-E1-Full

Date: 2026-11-15Commit: 5975565Signed: 2DC28CC7B26A283B ✓

Any to any model with 17.1B parameters. Safetensors weights, 47.4 GB in all. Published by HiDream-ai under MIT.

17.1B params47.4GBHiDream-E1-Fullsafetensorspermissive
FactsParams17.1BSize47.4 GBFormatssafetensorsTaskany to anyLicenseMITFrom sourcepermissive
$ fw get HiDream-ai/HiDream-E1-Full
# manifest sha256 a0eee797a7d4… · 47.4 GB · 37 files
$ fw verify ./HiDream-E1-Full HiDream-ai/HiDream-E1-Full
From sourceHosted (signed)HiDream-ai/HiDream-E1-FullLast check: 2026-11-15 03:58 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of HiDream-I1-Full.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
47.4 GB
Weights
47.4 GB (safetensors)
Parameters
17.1B
Formats
safetensors
Task
any to any
License
MIT (permissive)
Files
37, each with a sha256
Publisher
HiDream-ai
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: HiDream-ai/HiDream-I1-Full

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:58 UTCpassed

Model card

From the publisher at commit 5975565. Shown as plain text with links; images open at the publisher.

Image: HiDream-E1 Demo

HiDream-E1 is an image editing model built on HiDream-I1.

For more features and to experience the full capabilities of our product, please visit https://vivago.ai/.

Project Updates#

Quick Start#

Please make sure you have installed Flash Attention and latest Diffusers. We recommend CUDA versions 12.4 for the manual installation.

pip install -r requirements.txt
pip install -U flash-attn --no-build-isolation
pip install -U git+https://github.com/huggingface/diffusers.git

Then you can run the inference scripts to generate images:

python ./inference.py

Alternatively, you can use the model in your own code:

import torch
from transformers import PreTrainedTokenizerFast, LlamaForCausalLM
from pipeline_hidream_image_editing import HiDreamImageEditingPipeline
from PIL import Image

# Load the tokenizer and text encoder
tokenizer_4 = PreTrainedTokenizerFast.from_pretrained("meta-llama/Llama-3.1-8B-Instruct")
text_encoder_4 = LlamaForCausalLM.from_pretrained(
    "meta-llama/Llama-3.1-8B-Instruct",
    output_hidden_states=True,
    output_attentions=True,
    torch_dtype=torch.bfloat16,
)

# Load the HiDream pipeline
pipe = HiDreamImageEditingPipeline.from_pretrained(
    "HiDream-ai/HiDream-E1-Full",
    tokenizer_4=tokenizer_4,
    text_encoder_4=text_encoder_4,
    torch_dtype=torch.bfloat16,
)

# Load and prepare input image
test_image = Image.open("your_image.jpg")
test_image = test_image.resize((768, 768))

# Move pipeline to GPU
pipe = pipe.to("cuda", torch.bfloat16)

# Generate edited image
image = pipe(
    prompt = 'Editing Instruction: Convert the image into a Ghibli style. Target Image Description: A person in a light pink t-shirt with short dark hair, depicted in a Ghibli style against a plain background.',
    negative_prompt = "low resolution, blur",
    image = test_image,
    guidance_scale=5.0,
    image_guidance_scale=4.0,
    num_inference_steps=28,
    generator=torch.Generator("cuda").manual_seed(3),
).images[0]

# Save output image
image.save("output.jpg")

Note. The inference script will try to automatically download meta-llama/Llama-3.1-8B-Instruct model files. You need to agree to the license of the Llama model on your HuggingFace account and login using huggingface-cli login in order to use the automatic downloader.

Note. The model accepts instructions in the following format:

Editing Instruction: {instruction}. Target Image Description: {description}

Example:

Editing Instruction: Convert the image into a Ghibli style. Target Image Description: A person in a light pink t-shirt with short dark hair, depicted in a Ghibli style against a plain background.

To refine your instructions, use the provided script:

python ./instruction_refinement.py --src_image ./test.jpeg --src_instruction "convert the image into a Ghibli style"

The instruction refinement script requires a VLM API key - you can either run vllm locally or use OpenAI's API.

Gradio Demo#

We also provide a Gradio demo for interactive image editing. You can run the demo with:

python gradio_demo.py 

Evaluation Metrics#

Evaluation results on EmuEdit and ReasonEdit Benchmarks. Higher is better.

ModelEmuEdit GlobalEmuEdit AddEmuEdit TextEmuEdit BGEmuEdit ColorEmuEdit StyleEmuEdit RemoveEmuEdit LocalEmuEdit AverageReasonEdit
OmniGen1.372.092.310.664.262.364.732.102.677.36
MagicBrush4.063.540.553.263.832.072.703.282.811.75
UltraEdit5.315.191.504.334.505.712.634.584.072.89
Gemini-2.0-Flash4.877.716.305.107.303.335.946.295.996.95
HiDream-E15.326.986.455.017.576.495.996.356.407.54

License Agreement#

The Transformer models in this repository are licensed under the MIT License. The VAE is from FLUX.1 [schnell], and the text encoders from google/t5-v1_1-xxl and meta-llama/Meta-Llama-3.1-8B-Instruct. Please follow the license terms specified for these components. You own all content you create with this model. You can use your generated content freely, but you must comply with this license agreement. You are responsible for how you use the models. Do not create illegal content, harmful material, personal information that could harm others, false information, or content targeting vulnerable groups.

Acknowledgements#

  • The VAE component is from FLUX.1 [schnell], licensed under Apache 2.0.
  • The text encoders are from google/t5-v1_1-xxl (licensed under Apache 2.0) and meta-llama/Meta-Llama-3.1-8B-Instruct (licensed under the Llama 3.1 Community License Agreement).

Citation#

@article{hidreami1technicalreport,
  title={HiDream-I1: A High-Efficient Image Generative Foundation Model with Sparse Diffusion Transformer},
  author={Cai, Qi and Chen, Jingwen and Chen, Yang and Li, Yehao and Long, Fuchen and Pan, Yingwei and Qiu, Zhaofan and Zhang, Yiheng and Gao, Fengbin and Xu, Peihan and others},
  journal={arXiv preprint arXiv:2505.22705},
  year={2025}
}

Files

37 files · 47.4 GBWeights 47.4 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 37 files with their sha256
FileSizesha256
.gitattributes1.56 KB1ddc45524921ddad490175f45d1d4ae5f3377530569b337dd1aa5fe8fbf41780
HiDream-E1-Full.safetensors260 MB86edff685f806ee05341b75c4d6e00cb4ffe7ebd4974dee2053e0c0c1db4e8ce
README.md6.88 KB3c413e363d06c5b0cc2eed0fb5c76f673fef6a7ed8cd231331350c9df90d8b4c
demo.jpg1.14 MB40cda651e52ff87da3282e7df671b54e2e22a99a967eda4e97e2bf1170c68a06
model_index.json845 B69347528b18abbe85e7220eee6937d223f7b6753d64c5eb9e1913400cc71e17d
scheduler/scheduler_config.json750 B8508d023ce65787971c928e400b37ed70144aaf88fe07cb2771e7cce49bdaa9c
text_encoder/config.json580 B65295d66c6ec90847bfb701c99bcb5c888d709ef3a400c49633e691690c93904
text_encoder/model.safetensors495 MBb70c11ad5d7e9abf6109348908f599ea382f8019e1f36910bbc8ebecde936633
text_encoder_2/config.json576 Bc0efd277569d6f63b752b632b208ed5eddb00cb3ec69a615dcd76e967f5078ea
text_encoder_2/model.safetensors2.78 GB4d6effa7a5e600cabf7528ed7234146a13ead1b2c151211d706b293a060b112a
text_encoder_3/config.json741 Beb1bbf7f5b360baf88505d979fc02b47f7e82603639eb1835cdd2447b784cfb3
text_encoder_3/model-00001-of-00002.safetensors4.99 GBec87bffd1923e8b2774a6d240c922a41f6143081d52cf83b8fe39e9d838c893e
text_encoder_3/model-00002-of-00002.safetensors4.53 GBa5640855b301fcdbceddfa90ae8066cd9414aff020552a201a255ecf2059da00
text_encoder_3/model.safetensors.index.json19.9 KB3bacec0f0cf392399d4a385908f67dd73df99c9e9cfee669f148858ba9fbdb0a
tokenizer/merges.txt525 KB9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a
tokenizer/special_tokens_map.json472 Bc4864a9376a8401918425bed71fc14fc0e81f9b59ec45c1cf96cccb2df508eac
tokenizer/tokenizer_config.json737 B19d7b034cb0cc3ce9766c2231373ab8aa8991fc72e2c8f76558bfaae3de0d563
tokenizer/vocab.json1.06 MBe089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349
tokenizer_2/merges.txt525 KB9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a
tokenizer_2/special_tokens_map.json460 Bf118ab3a983206e4f32583448de6bd6aae4ee21869135cef1f5848a753cdaab6
tokenizer_2/tokenizer_config.json725 Bc9d23941f76a41cbd50eda9290f57be7828f0a7a677939e9ef181f7e12bd1bdf
tokenizer_2/vocab.json1.06 MBe089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349
tokenizer_3/special_tokens_map.json2.54 KB7a1985a994c41886db38c719d2a3d2f40606663cc19d7c5d6a85d349320e06d2
tokenizer_3/spiece.model792 KBd60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
tokenizer_3/tokenizer.json2.42 MBf5dfec163765e18e270537fe896c49f5fad74db1525641d9b255a3008b999596
tokenizer_3/tokenizer_config.json20.8 KB1a3d2db64215ed77854dd4208aac5f8361c1b5471cabd19c0ef1472d1a895eb0
transformer/config.json875 B97410dbea27710474ac40f5370ece5b6f113fe90e8bd68c5eb904b21b456b304
transformer/diffusion_pytorch_model-00001-of-00007.safetensors4.99 GBbd03a8eb41144dc7f382573c6def084c4a03d19a13db7c872ded6ccfd8e833f6
transformer/diffusion_pytorch_model-00002-of-00007.safetensors4.98 GB2d09881a8a13ef42bcd1c4316c5e5e5c83c93f800f99c432f3fe4652c985589e
transformer/diffusion_pytorch_model-00003-of-00007.safetensors4.99 GB13c87298a94fd2e79b7ad6d2d69ee8a67871467c39bcdc7ce1574a86042f8f9b
transformer/diffusion_pytorch_model-00004-of-00007.safetensors4.98 GB8d7510b487c41e3a3af0ae38f8661649a05b81f6477cd2d7aace752709195a53
transformer/diffusion_pytorch_model-00005-of-00007.safetensors4.99 GBc7e1194f96cf3b0c0a46b4890eda3f99679334924b079e27d12fa95ba48d2ee8
transformer/diffusion_pytorch_model-00006-of-00007.safetensors4.99 GB29febea27f374045acbf4b268958530ad1b58386d50f1c49ebe74e73ca92b141
transformer/diffusion_pytorch_model-00007-of-00007.safetensors4.29 GB2b3d4b9f190d5a1d6b61efcbe5431712d863e1ac72a3a7e9d0c6192c7c91f6be
transformer/diffusion_pytorch_model.safetensors.index.json182 KB4bc6f02f4725201cfbb22e98772974e549cd8249df74aba0e95645aa47917f0b
vae/config.json820 Bad6f0acb584ceb3d136d1e32b684dec65db24bffe9223df2bac0b45539d4e6b5
vae/diffusion_pytorch_model.safetensors168 MBf5b59a26851551b67ae1fe58d32e76486e1e812def4696a4bea97f16604d40a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
59755657a2 pinned now2026-11-15 03:58 UTC37 files · 47.4 GB

Use it

$ fw get HiDream-ai/HiDream-E1-Full
# manifest sha256 a0eee797a7d4… · 47.4 GB · 37 files
$ fw verify ./HiDream-E1-Full HiDream-ai/HiDream-E1-Full
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/HiDream-ai/HiDream-E1-Full.json --dir ./HiDream-E1-Full $ python3 fw.py verify ./HiDream-E1-Full ./HiDream-ai__HiDream-E1-Full.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download HiDream-ai/HiDream-E1-Full --revision 59755657a2c389bfd7dc34853b8a6c48382a07e6 --local-dir ./HiDream-E1-Full

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
3c413e363d06c5b0cc2eed0fb5c76f673fef6a7ed8cd231331350c9df90d8b4c
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: HiDream-ai <huggingface.co/HiDream-ai>Newsgroups: alt.freeweights.textSubject: HiDream-E1-FullDate: 2026-11-15Commit: 5975565Signed: 2DC28CC7B26A283B ✓
Upstream
HiDream-ai/HiDream-E1-Full
Pinned commit
59755657a2c389bfd7dc34853b8a6c48382a07e6
Manifest
HiDream-E1-Full.json · .minisig
Manifest sha256
a0eee797a7d444a4bf571e3977498cc5db7e2ec82d1974f71ab8c09a6b6070ae
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:58 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/HiDream-ai/HiDream-E1-Full.json $ curl -O https://freeweights.allternit.com/manifests/HiDream-ai/HiDream-E1-Full.json.minisig $ minisign -Vm HiDream-E1-Full.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

HiDream-ai/HiDream-I1-Full · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download HiDream-ai/HiDream-E1-Full
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. HiDream-E1-Full.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B