Skip to content
Fourohtwo

Get a client token for direct upload to Vercel Blob

stablestudio.io/api/upload

Get a client token for direct upload to Vercel Blob

SolanaAnswering
POSThttps://stablestudio.io/api/upload

Uptime100% of 4 checks in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://stablestudio.io/api/upload" \
  -d '{"size":1524605,"filename":"photo.jpg","contentType":"image/jpeg"}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "size": 1524605,
  "filename": "photo.jpg",
  "contentType": "image/jpeg"
}