cloth_extractor

This commit is contained in:
2025-09-25 21:44:12 +02:00
parent 39ea45fade
commit 4ccfd9ef3a
8 changed files with 676 additions and 10 deletions

18
.clinerules/generators.md Normal file
View File

@ -0,0 +1,18 @@
#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
## Vide 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

17
.clinerules/llm.md Normal file
View File

@ -0,0 +1,17 @@
# LLM API
## LMstudio
Use this file src\lib\lmstudio.ts
- async function callLmstudio(prompt: string): Promise<any> {
for just run prompt
- async function callLMStudioAPIWithFile(imagePath: string, prompt: string): Promise<any> {
for send file to llm
## OpenAI
Use this file src\lib\openai.ts
- async function callOpenAI(prompt: string): Promise<any>
for just run prompt
- async function callOpenAIWithFile(imagePath: string, prompt: string): Promise<any>
for send file to llm