Text-to-Image
cortiq
English
Chinese
Russian
cmf
quantized
q4tp
cuda
nvidia
vulkan
metal
image-to-image
image-editing
Instructions to use infosave/MiniMax-H3-Image-cmf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- cortiq
How to use infosave/MiniMax-H3-Image-cmf with cortiq:
# one Rust binary, no additional dependencies cargo install cortiq-cli # or a prebuilt binary from github.com/infosave2007/cmf/releases hf download infosave/MiniMax-H3-Image-cmf --include "*.cmf" --local-dir . ls *.cmf # some repos ship more than one quantization
cortiq imagine FILE.cmf --prompt "a red fox in a snowy forest" --out fox.ppm
- Notebooks
- Google Colab
- Kaggle
Card: install from crates.io (cortiq 0.8.73), links to master
Browse files
README.md
CHANGED
|
@@ -60,7 +60,7 @@ Image editing. Left: the picture given with `--image`. Right: the result.
|
|
| 60 |
## Quick start
|
| 61 |
|
| 62 |
```bash
|
| 63 |
-
cargo install
|
| 64 |
hf download infosave/MiniMax-H3-Image-cmf minimax-h3-image-q4tp.cmf --local-dir .
|
| 65 |
# text to image
|
| 66 |
CMF_GPU=cuda cortiq imagine minimax-h3-image-q4tp.cmf --prompt @prompt.txt --out out.png
|
|
@@ -76,13 +76,13 @@ cortiq imagine minimax-h3-image-q4tp.cmf --prompt @prompt.txt --out out.png
|
|
| 76 |
|---|---|
|
| 77 |
| card | CUDA: NVIDIA with its driver, and CUDA 12.x libraries `libnvrtc.so.12` and `libcublas.so.12` on the loader's path. Vulkan: any card |
|
| 78 |
| memory | 16 GB of the card without a ceiling; from 4 GB with `CMF_GPU_VRAM_MB`. About 28 GB of RAM or page cache for the file |
|
| 79 |
-
| engine | `cortiq` built
|
| 80 |
|
| 81 |
`--width` and `--height` are multiples of 32 and default to 2048 x 2048. The model works from about 4
|
| 82 |
megapixels to 20; a smaller size is generated on a 2048 x 2048-area canvas and resized back (`--min-area 1024`
|
| 83 |
turns that off). There is no guidance and no negative prompt. The model expects a detailed English description
|
| 84 |
of the whole image; its authors expand a short request with a separate model, which this file does not
|
| 85 |
-
include. Full guide: [docs/MINIMAX_H3_IMAGE.md](https://github.com/infosave2007/cmf/blob/
|
| 86 |
|
| 87 |
## Speed
|
| 88 |
|
|
@@ -158,7 +158,7 @@ Apache-2.0.
|
|
| 158 |
Примеры генерации и правки — [в начале страницы](#examples).
|
| 159 |
|
| 160 |
```bash
|
| 161 |
-
cargo install
|
| 162 |
hf download infosave/MiniMax-H3-Image-cmf minimax-h3-image-q4tp.cmf --local-dir .
|
| 163 |
# текст в картинку
|
| 164 |
CMF_GPU=cuda cortiq imagine minimax-h3-image-q4tp.cmf --prompt @prompt.txt --out out.png
|
|
@@ -175,7 +175,7 @@ cortiq imagine minimax-h3-image-q4tp.cmf --prompt @prompt.txt --out out.png
|
|
| 175 |
умолчанию 2048 x 2048. Рабочий диапазон модели от 4 до 20 мегапикселей; меньший размер генерируется на холсте
|
| 176 |
площадью 2048 x 2048 и уменьшается (`--min-area 1024` это отключает). Guidance и негативного промпта нет.
|
| 177 |
Модель ждёт подробное английское описание всей картинки; расширителя промпта в файле нет. Полное руководство:
|
| 178 |
-
[docs/MINIMAX_H3_IMAGE.ru.md](https://github.com/infosave2007/cmf/blob/
|
| 179 |
|
| 180 |
Скорость, NVIDIA RTX 2000 Ada, 16 GB, одна картинка, сид 42, одиночные прогоны (2048 x 2048 — медиана трёх):
|
| 181 |
|
|
@@ -219,7 +219,7 @@ cortiq imagine minimax-h3-image-q4tp.cmf --prompt @prompt.txt --out out.png
|
|
| 219 |
[页面开头](#examples)。
|
| 220 |
|
| 221 |
```bash
|
| 222 |
-
cargo install
|
| 223 |
hf download infosave/MiniMax-H3-Image-cmf minimax-h3-image-q4tp.cmf --local-dir .
|
| 224 |
# 文生图
|
| 225 |
CMF_GPU=cuda cortiq imagine minimax-h3-image-q4tp.cmf --prompt @prompt.txt --out out.png
|
|
@@ -235,7 +235,7 @@ CUDA 需要 NVIDIA 驱动和 CUDA 12.x 库(`libnvrtc.so.12`、`libcublas.so.12
|
|
| 235 |
设置 `CMF_GPU_VRAM_MB` 后 4 GB 即可。`--width` 和 `--height` 是 32 的倍数,默认 2048 x 2048。模型的工作
|
| 236 |
范围是 4 到 20 百万像素;更小的尺寸会在面积为 2048 x 2048 的画布上生成再缩小(`--min-area 1024` 关闭此
|
| 237 |
行为)。没有 guidance,也没有负面提示词。模型需要对整张图片的详细英文描述;文件不包含提示词扩展器。
|
| 238 |
-
完整指南:[docs/MINIMAX_H3_IMAGE.zh.md](https://github.com/infosave2007/cmf/blob/
|
| 239 |
|
| 240 |
速度,NVIDIA RTX 2000 Ada, 16 GB,一张图片,种子 42,单次运行(2048 x 2048 为三次的中位数):
|
| 241 |
|
|
|
|
| 60 |
## Quick start
|
| 61 |
|
| 62 |
```bash
|
| 63 |
+
cargo install cortiq-cli --features cuda
|
| 64 |
hf download infosave/MiniMax-H3-Image-cmf minimax-h3-image-q4tp.cmf --local-dir .
|
| 65 |
# text to image
|
| 66 |
CMF_GPU=cuda cortiq imagine minimax-h3-image-q4tp.cmf --prompt @prompt.txt --out out.png
|
|
|
|
| 76 |
|---|---|
|
| 77 |
| card | CUDA: NVIDIA with its driver, and CUDA 12.x libraries `libnvrtc.so.12` and `libcublas.so.12` on the loader's path. Vulkan: any card |
|
| 78 |
| memory | 16 GB of the card without a ceiling; from 4 GB with `CMF_GPU_VRAM_MB`. About 28 GB of RAM or page cache for the file |
|
| 79 |
+
| engine | `cortiq` 0.8.73 or later; for CUDA built with the `cuda` feature (stable Rust, nothing is linked against CUDA at build time; the prebuilt release binaries do not include that backend) |
|
| 80 |
|
| 81 |
`--width` and `--height` are multiples of 32 and default to 2048 x 2048. The model works from about 4
|
| 82 |
megapixels to 20; a smaller size is generated on a 2048 x 2048-area canvas and resized back (`--min-area 1024`
|
| 83 |
turns that off). There is no guidance and no negative prompt. The model expects a detailed English description
|
| 84 |
of the whole image; its authors expand a short request with a separate model, which this file does not
|
| 85 |
+
include. Full guide: [docs/MINIMAX_H3_IMAGE.md](https://github.com/infosave2007/cmf/blob/master/docs/MINIMAX_H3_IMAGE.md).
|
| 86 |
|
| 87 |
## Speed
|
| 88 |
|
|
|
|
| 158 |
Примеры генерации и правки — [в начале страницы](#examples).
|
| 159 |
|
| 160 |
```bash
|
| 161 |
+
cargo install cortiq-cli --features cuda
|
| 162 |
hf download infosave/MiniMax-H3-Image-cmf minimax-h3-image-q4tp.cmf --local-dir .
|
| 163 |
# текст в картинку
|
| 164 |
CMF_GPU=cuda cortiq imagine minimax-h3-image-q4tp.cmf --prompt @prompt.txt --out out.png
|
|
|
|
| 175 |
умолчанию 2048 x 2048. Рабочий диапазон модели от 4 до 20 мегапикселей; меньший размер генерируется на холсте
|
| 176 |
площадью 2048 x 2048 и уменьшается (`--min-area 1024` это отключает). Guidance и негативного промпта нет.
|
| 177 |
Модель ждёт подробное английское описание всей картинки; расширителя промпта в файле нет. Полное руководство:
|
| 178 |
+
[docs/MINIMAX_H3_IMAGE.ru.md](https://github.com/infosave2007/cmf/blob/master/docs/MINIMAX_H3_IMAGE.ru.md).
|
| 179 |
|
| 180 |
Скорость, NVIDIA RTX 2000 Ada, 16 GB, одна картинка, сид 42, одиночные прогоны (2048 x 2048 — медиана трёх):
|
| 181 |
|
|
|
|
| 219 |
[页面开头](#examples)。
|
| 220 |
|
| 221 |
```bash
|
| 222 |
+
cargo install cortiq-cli --features cuda
|
| 223 |
hf download infosave/MiniMax-H3-Image-cmf minimax-h3-image-q4tp.cmf --local-dir .
|
| 224 |
# 文生图
|
| 225 |
CMF_GPU=cuda cortiq imagine minimax-h3-image-q4tp.cmf --prompt @prompt.txt --out out.png
|
|
|
|
| 235 |
设置 `CMF_GPU_VRAM_MB` 后 4 GB 即可。`--width` 和 `--height` 是 32 的倍数,默认 2048 x 2048。模型的工作
|
| 236 |
范围是 4 到 20 百万像素;更小的尺寸会在面积为 2048 x 2048 的画布上生成再缩小(`--min-area 1024` 关闭此
|
| 237 |
行为)。没有 guidance,也没有负面提示词。模型需要对整张图片的详细英文描述;文件不包含提示词扩展器。
|
| 238 |
+
完整指南:[docs/MINIMAX_H3_IMAGE.zh.md](https://github.com/infosave2007/cmf/blob/master/docs/MINIMAX_H3_IMAGE.zh.md)。
|
| 239 |
|
| 240 |
速度,NVIDIA RTX 2000 Ada, 16 GB,一张图片,种子 42,单次运行(2048 x 2048 为三次的中位数):
|
| 241 |
|