Skip to content
onelayer.
All tools

Tool detail

StableTube

Starts a paid job that downloads a YouTube video server-side and returns a temporary download URL for the resulting mp4.

Categories: Social media

Use when

  • download a YouTube video as an mp4 by size tier
  • get a temporary hosted download link for a YouTube video

Not for

  • not instant — a job the caller must poll for readiness
  • mp4 only, and fails if the requested quality is unavailable

Inputs

POST JSON body (required): type (const 'stabletube.download'), url (YouTube URI), quality (enum: 360p|720p|1080p), tier (enum: tube-100mb|tube-500mb|tube-1gb), format (const 'mp4').

Admitted input schema

{
  "type": "object",
  "properties": {
    "clientRequestId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "description": "Optional idempotency key scoped to the paying wallet."
    },
    "format": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "mp4"
      ],
      "description": "Output container format. mp4 only for now.",
      "default": "mp4"
    },
    "quality": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "360p",
        "720p",
        "1080p"
      ],
      "description": "Required target video quality. The request fails if unavailable."
    },
    "tier": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "tube-100mb",
        "tube-500mb",
        "tube-1gb"
      ],
      "description": "Required output size tier: tube-100mb (100 MB, $0.05) | tube-500mb (500 MB, $0.10) | tube-1gb (1 GB, $0.20)."
    },
    "type": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "stabletube.download"
      ],
      "default": "stabletube.download"
    },
    "url": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "format": "uri",
      "description": "Full YouTube URL of the video to download."
    }
  },
  "required": [
    "type",
    "url",
    "quality",
    "tier",
    "format"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://stabletube.dev/api/download

Payment

Protocol
x402
Listed price
$0.10 USDC per call on Base (tier-based: $0.05-$0.20 by output size)
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://stabletube.dev/api/download
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z