625 B
625 B
#Image and Video generation
Simple image generation with prompt
Use this file src\lib\image-generator.ts
Image generation with existing image
Use this file src\lib\image-generator-face.ts
Image converting
Use this file src\lib\image-converter.ts
Video generation with static image
Use this ilfe src\lib\video-generator.ts
Everything when generator need to use existing image you have to copy to input folder to the server and use only filename. For example if inputfolderFullpath = SERVER1_COMFY_OUTPUT_DIR.replece("output","input"); Then copy image to the path, and pass only filename to generator function