# StableStudio File Upload Session Generator

> StableStudio File Upload Session Generator is a paid API for AI agents from stable-studio-git-mason-migrate-off-prices-map-merit-systems.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Generates a signed upload session for a file, returning a Vercel Blob client token, pathname, expiry, and a curl upload example.

## Facts

- Endpoint: POST https://stable-studio-git-mason-migrate-off-prices-map-merit-systems.vercel.app/api/upload?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablestudio-file-upload-session-generator-c5608b5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XDwYxPLzoTyn7dFXIwdqF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablestudio-file-upload-session-generator-c5608b5f -d '<json body>'
```

Example prompt: Can you generate a signed upload session for my file so I get a Vercel Blob client token, the destination pathname, and the expiry — and show me the curl command to complete the upload?

## When to prefer this

Choose this endpoint when you need to upload a file to Vercel Blob storage and require a short-lived signed session token to authorize the upload securely, especially within workflows already using StableStudio or x402 payment-gated APIs on Vercel infrastructure.

## Known failure modes

- Invalid or missing file metadata causes session creation failure
- Expired session token if the upload is not completed before expiry
- Payment failure (insufficient USDC balance) returns 402 error
- Vercel Blob service unavailability results in 5xx error
- Malformed request body returns 400 bad request

## How this service works

Uploads files or assets to Stable Studio for a 10,000 USDC-equivalent fee.

## Output

Returns a Vercel Blob client token for authenticating the upload, the destination pathname for the file, an expiry timestamp for the session, and an example curl command demonstrating how to perform the actual file upload.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "size": {
   "type": "number",
   "description": "File size in bytes (optional)"
  },
  "filename": {
   "type": "string",
   "description": "Name of the file to upload"
  },
  "contentType": {
   "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"
   ],
   "type": "string",
   "description": "MIME type of the file"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablestudio-file-upload-session-generator-c5608b5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stable-studio-git-mason-migrate-off-prices-map-merit-systems.vercel.app](https://www.zero.xyz/host/stable-studio-git-mason-migrate-off-prices-map-merit-systems.vercel.app/llms.txt)
