$0.005
per call · USD Coin on Base
Buy an upload slot. Agent uploads file via returned URL.
Endpoint
POST https://stableupload.dev/api/upload237
Calls / 30d
32
Unique payers / 30d
Sep 10
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://stableupload.dev/api/upload", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"contentType": "text/plain",
"filename": "quick-note.txt",
"tier": "short-10mb"
}),
});
const data = await res.json();curl -X POST \
"https://stableupload.dev/api/upload" \
-H "Content-Type: application/json" \
-d '{"contentType":"text/plain","filename":"quick-note.txt","tier":"short-10mb"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"curlExample": "curl -X POST \"https://stableupload-prod.s3.us-east-1.amazonaws.com/\" -F \"key=uploads/2s42wjsk3a/quick-note.txt\" -F \"Content-Type=text/plain\" -F \"x-amz-algorithm=AWS4-HMAC-SHA256\" -F \"x-amz-credential=AKIAEXAMPLE/20260425/us-east-1/s3/aws4_request\" -F \"x-amz-date=20260425T160000Z\" -F \"policy=base64-policy\" -F \"x-amz-signature=hex-signature\" -F \"file=@quick-note.txt;type=text/plain\"",
"expiresAt": "2026-05-02T16:00:00.000Z",
"maxSize": 10485760,
"postFields": {
"Content-Type": "text/plain",
"key": "uploads/2s42wjsk3a/quick-note.txt",
"policy": "base64-policy",
"x-amz-algorithm": "AWS4-HMAC-SHA256",
"x-amz-credential": "AKIAEXAMPLE/20260425/us-east-1/s3/aws4_request",
"x-amz-date": "20260425T160000Z",
"x-amz-signature": "hex-signature"
},
"postUrl": "https://stableupload-prod.s3.us-east-1.amazonaws.com/",
"publicUrl": "https://f.stableupload.dev/2s42wjsk3a/quick-note.txt",
"uploadId": "2s42wjsk3a",
"uploadMethod": "post",
"uploadUrl": "https://stableupload-prod.s3.us-east-1.amazonaws.com/",
"uploadUrlExpiresAt": "2026-04-25T16:15:00.000Z"
}Payment details
0x06dff3c8380b5d1799874ada903fc3422882fd6fUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Media & Generation and the homepage with a featured placement.
More from StableUpload & similar services
StableUpload · Site
stableupload.dev
Buy a site upload slot. Upload a zip file, then activate to extract and serve as a static site.
Text-to-speech · TTS
agent402.tools
Convert text to speech using OpenAI TTS-1. Returns base64-encoded audio (mp3/opus/aac/flac/wav/pcm). 10 voices available. No API key needed; pay per call via x402. Text capped at 2000 chars.
Fly · Generate Image
nanobanana-x402.fly.dev
Generate an AI image from a text prompt using Google Gemini 3.1 Flash Image. Returns base64-encoded PNG. Optional aspectRatio (1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 4:5, 5:4, 21:9). Backed by Google's Gemini image preview model — fast, high-quality, supports text rendering inside images.