@@ -199,7 +199,11 @@ void print_usage(int argc, const char* argv[]) {
199199 printf (" -i, --init-img [IMAGE] path to the input image, required by img2img\n " );
200200 printf (" --mask [MASK] path to the mask image, required by img2img with mask\n " );
201201 printf (" --control-image [IMAGE] path to image condition, control net\n " );
202- printf (" -r, --ref-image [PATH] reference image for Flux Kontext models (can be used multiple times) \n " );
202+ printf (" -r, --ref-image [PATH] or [PATH,N] reference image for Flux Kontext models (can be used multiple times).\n "
203+ " PATH is the path to the reference image.\n "
204+ " Optionally, you can specify an integer identifier N (default = 1) after a comma to set the index of reference image.\n "
205+ " Reference indices are only supported by some fine-tunes of Flux Kontext with proper multi-reference support.\n "
206+ " Reference images with the same index will be stitched together and seen as one image.\n " );
203207 printf (" -o, --output OUTPUT path to write result image to (default: ./output.png)\n " );
204208 printf (" -p, --prompt [PROMPT] the prompt to render\n " );
205209 printf (" -n, --negative-prompt PROMPT the negative prompt (default: \"\" )\n " );
@@ -225,7 +229,8 @@ void print_usage(int argc, const char* argv[]) {
225229 printf (" --rng {std_default, cuda} RNG (default: cuda)\n " );
226230 printf (" -s SEED, --seed SEED RNG seed (default: 42, use random seed for < 0)\n " );
227231 printf (" -b, --batch-count COUNT number of images to generate\n " );
228- printf (" --schedule {discrete, karras, exponential, ays, gits} Denoiser sigma schedule (default: discrete)\n " );
232+ printf (" --schedule {discrete, karras, exponential, ays, gits}\n "
233+ " Denoiser sigma schedule (default: discrete)\n " );
229234 printf (" --clip-skip N ignore last layers of CLIP network; 1 ignores none, 2 ignores one layer (default: -1)\n " );
230235 printf (" <= 0 represents unspecified, will be 1 for SD1.x, 2 for SD2.x\n " );
231236 printf (" --vae-tiling process vae in tiles to reduce memory usage\n " );
0 commit comments