mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-11 14:02:37 +08:00
- Add .runpod/hub.json with serverless configuration - Add .runpod/tests.json with comprehensive test cases - Add storage access test to Dockerfile build process - Add RunPod badge to README.md - Include model download script for build-time optimization - Test storage accessibility during Docker build phase
17 lines
543 B
Bash
Executable File
17 lines
543 B
Bash
Executable File
#!/bin/bash
|
|
# Debug RunPod API call
|
|
|
|
ENDPOINT_ID="sfkzjudvrj50yq"
|
|
API_KEY="${RUNPOD_API_KEY:-YOUR_API_KEY}"
|
|
BASE_URL="https://api.runpod.ai/v2"
|
|
|
|
echo "🔍 Debugging RunPod API..."
|
|
echo "📍 Endpoint: $ENDPOINT_ID"
|
|
echo "🔑 API Key: ${API_KEY:0:10}..." # Show only first 10 chars for security
|
|
|
|
# Simple test with minimal payload
|
|
echo "📤 Testing with simple payload..."
|
|
curl -v -X POST "$BASE_URL/$ENDPOINT_ID/run" \
|
|
-H "Content-Type: application/json" \
|
|
-H "Authorization: Bearer $API_KEY" \
|
|
-d '{"input":{"prompt":"test prompt"}}' |