cloth_extractor
This commit is contained in:
18
.clinerules/generators.md
Normal file
18
.clinerules/generators.md
Normal 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
17
.clinerules/llm.md
Normal 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
|
||||
Reference in New Issue
Block a user