Skip to content
onelayer.
All tools

Tool detail

StableStudio

Issues a client token and URL for uploading one file directly to Vercel Blob storage.

Categories: Data storage

Use when

  • get an upload token to store an image, video or audio file
  • prepare a direct-to-blob upload before running StableStudio generation

Not for

  • not for generating images or video — this only issues the upload token
  • not for uploading the file itself — a separate request performs the actual upload

Inputs

POST JSON body: filename (string, required), contentType (enum MIME type, required), size (number, optional bytes)

Admitted input schema

{
  "type": "object",
  "properties": {
    "contentType": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "image/jpeg",
        "image/jpg",
        "image/png",
        "image/gif",
        "image/webp",
        "video/mp4",
        "video/webm",
        "video/quicktime",
        "audio/mpeg",
        "audio/mp3",
        "audio/wav",
        "audio/x-wav",
        "audio/mp4",
        "audio/aac",
        "audio/ogg"
      ],
      "description": "MIME type of the file"
    },
    "filename": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Name of the file to upload"
    },
    "size": {
      "type": "number",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "File size in bytes (optional)"
    }
  },
  "required": [
    "filename",
    "contentType"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://stablestudio.dev/api/upload

Payment

Protocol
x402
Listed price
0.01 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://stablestudio.dev/api/upload
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z