embeddings endpoints
Hi, I have tried following the sparse documentation, but so far havent been able to get a non-error response or a helpful error message out of the embeddings endpoints. has anyone had any success actually using these, and if so, could you share a setup and exact request format that is known to work?
6 Replies
Following - having the same issue with a ComfyUI workflow. Every time I send a request it just returns:
{
"delayTime": 8257,
"error": "Workflow execution failed: Failed to submit workflow: {"error": "no prompt", "node_errors": []}",
"executionTime": 4099,
"id": "48d45ad7-66aa-4032-aa24-7f7ee184aed6-e1",
"status": "FAILED",
"workerId": "djc2dj8t3qkhm9"
}
Tried numerous different requests and JSON formats
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Got it working, thanks! Having one small issue: I'm not able to generate multiple images from a prompt / request to the endpoint. We have added a variable for the ""batch_size": " value in our workflow, but it only seems to generate one image regardless of the batch_size we give it.
This is our Github repo for the runpod worker:
https://github.com/sozanski1988/runpod-worker-comfyui/
And the workflow json is here:
https://github.com/sozanski1988/runpod-worker-comfyui/blob/main/test_resources/workflows/default_workflow.json
Is there a special way that we need to alter the workflow to be able to generate urls for multiple image outputs?
P.S. I've also added an example request and serverless endpoint logs for reference. @nerdylive
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
thanks you where right, it was the handler. Fixed it