Xinjie-Q commited on
Commit
844a2f8
·
verified ·
1 Parent(s): 093fda7

README: convert CLI flags description to a table

Browse files
Files changed (1) hide show
  1. README.md +17 -1
README.md CHANGED
@@ -310,7 +310,23 @@ img.save("single_edit_1024x1024.png")
310
 
311
  ### CLI
312
 
313
- Both commands are **batched** — pass several `--prompt` values (sample `i` uses `--seed + i`). Shared flags: `--steps --cfg --height --width --seed --neg_prompt --static_shift --out`; edit adds `--ref` (one per prompt; comma-separate paths for a multi-image edit), `--max_size`, and `--vl_cond_long_edge` (default `384`). `--model_path` takes a **local repo dir or a Hugging Face Hub repo id** (e.g. `microsoft/Mage-Flow-4B`) — HF ids are downloaded and cached automatically.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
 
315
  ```bash
316
  # text-to-image (two prompts in one batch)
 
310
 
311
  ### CLI
312
 
313
+ Both commands are **batched** — pass several `--prompt` values (sample `i` uses `--seed + i`). `--model_path` takes a **local repo dir or a Hugging Face Hub repo id** (e.g. `microsoft/Mage-Flow-4B`) — HF ids are downloaded and cached automatically.
314
+
315
+ | Flag | Scope | Meaning |
316
+ | :-------------------- | :---: | :---------------------------------------------------------------------------- |
317
+ | `--prompt` | both | one or more prompts, run as a batch (sample `i` uses `--seed + i`) |
318
+ | `--model_path` | both | local repo dir or HF Hub repo id (auto-downloaded + cached) |
319
+ | `--steps` | both | number of denoising steps |
320
+ | `--cfg` | both | classifier-free guidance scale |
321
+ | `--height` | both | output height — one value, or one per prompt for mixed resolutions |
322
+ | `--width` | both | output width — one value, or one per prompt for mixed resolutions |
323
+ | `--seed` | both | base seed (sample `i` uses `--seed + i`) |
324
+ | `--neg_prompt` | both | negative prompt |
325
+ | `--static_shift` | both | override the flow-matching sigma shift |
326
+ | `--out` | both | output directory |
327
+ | `--ref` | edit | reference image per prompt (comma-separate paths for a multi-image edit) |
328
+ | `--max_size` | edit | max size of the reference image |
329
+ | `--vl_cond_long_edge` | edit | VL-condition long edge (default `384`) |
330
 
331
  ```bash
332
  # text-to-image (two prompts in one batch)