ComfyUI/debug_runpod.sh
Bahadir Ciloglu 80848f3c54 feat: Add RunPod Hub configuration and storage access test
- 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
2025-11-01 17:25:26 +03:00

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"}}'