Stage a media file on the fal CDN before a fal generation
Stage a media file on the fal CDN before a fal generation. Returns { upload_url, file_url }: PUT the raw file bytes to upload_url (with the matching Content-Type header), then pass file_url as the image_url/video_url/audio_url param of the generation. Upload originals UNCOMPRESSED — never downscale or re-encode; high-res inputs cost nothing extra and compression degrades outputs.
10000 (raw units)
price
7
calls / 30d
2
unique payers
2026-09-15
updated
Provider
vaaya.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x7c655d3d3944Bd27994dD81A036C3aFB19806C40",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 360
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"content_type": "example",
"file_name": "example"
},
"bodyType": "json",
"method": "POST",
"pathParams": {},
"type": "http"
},
"output": {
"example": {
"charged_cents": 1,
"data": {},
"ok": true
},
"type": "json"
}
},
"routeTemplate": ":var1",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content_type": {
"minLength": 1,
"type": "string"
},
"file_name": {
"minLength": 1,
"type": "string"
}
},
"required": [
"file_name",
"content_type"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"pathParams": {
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://vaaya.ai/api/run/fal/upload" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://vaaya.ai/api/run/fal/upload");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://vaaya.ai/api/run/fal/upload")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/988.json, and this resource appears in /discovery/resources and /discovery/search.