lllyasviel / lllyasviel/FramePack
noob question about endpoint
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, recently i found this awesome tool, i rent a gpu on vast.ia. there are my docker setup `$
vastai create instance --image pytorch/pytorch:latest --env '-p 7860:7860' --onstart-cmd '#!/bin/bash;;# 1. Instalar dependencias del sistema operativo;apt-get update && apt-get install -y git libgl1-mesa-glx;;# 2. Navegar al directorio de trabajo;cd /workspace/;;# 3. Clonar el repositorio (si no existe);if [ ! -d "/workspace/FramePack" ]; then git clone https://github.com/lllyasviel/FramePack.git;fi;;# 4. Instalar la versión correcta de PyTorch;pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121;;# 5. Instalar el resto de dependencias de FramePack;pip install -r /workspace/FramePack/requirements.txt;;# 6. Lanzar la aplicación automáticamente con los argumentos correctos;echo "INSTALACIÓN COMPLETA. Lanzando FramePack API...";cd /workspace/FramePack;exec python demo_gradio.py --server 0.0.0.0 --port 7860' --disk 120 --jupyter --ssh --jupyter-lab --direct` how can i connect to my endpoint on n8n? for example, my ip its 191.1.1.4 my port is 7860 then i try to use a post request at http://191.1.1.4:7860/api/process with this body content.`{
"data": [
{{ JSON.stringify($json.imageObject) }},
"bailando tiernamente",
"",
31337,
5,
9,
25,
1,
10,
0,
6,
true,
16
]
}` i get this message "Problem in node ‘4. Call FramePack API1‘
The resource you are requesting could not be found" if someone can helpme, i would appreciate.
thanks in advice.
and keep safe
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the launch command in demo_gradio.py and the reported POST request to /api/process. Compare the routes exposed by the running application with the URL and body sent from n8n, using the supplied 0.0.0.0:7860 setup as context. Done means identifying the correct endpoint or confirming that the requested route is unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100