Skip to content

x402 stablestudio.dev

Setup required

Total authorizationUSD 0.011000

Read the full contract before requesting access.

Technical contract, schemas, digests, and references
Operation reference
operation:v1:6d924f467a6933e29236b91b52f28cbc98cbacce7c281520a1248f69bcbd7a69
Operation ID
capability:post.stablestudio-dev.api-upload
Capability
post.stablestudio-dev.api-upload · version 1
Publisher
observed external
Source kind
x402
Transport
POST /api/upload
Request timeout
10000 ms
Price digest
sha256:3cc2581ed97752d90323c73d1158af036a52fb55cc938817e6daac3b732f536d
Price source
pricing:offering:facilitator-discovery:post.stablestudio-dev.api-upload@1
Price evidence
source:facilitator-discovery

Data use

  • public · /filename · provider_data_use · execution · selected binding · name_of_the_file_to_upload
  • public · /contentType · provider_data_use · execution · selected binding · mime_type_of_the_file
  • public · /size · provider_data_use · execution · selected binding · file_size_in_bytes_optional

Effects and authority

  • data release · provider_data_use · explicit · not applicable

Input JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "contentType": {
      "description": "MIME type of the file",
      "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"
    },
    "filename": {
      "description": "Name of the file to upload",
      "type": "string"
    },
    "size": {
      "description": "File size in bytes (optional)",
      "type": "number"
    }
  },
  "required": [
    "filename",
    "contentType"
  ],
  "type": "object"
}

Output JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "clientToken": {
      "type": "string"
    },
    "curlExample": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string"
    },
    "pathname": {
      "type": "string"
    },
    "uploadId": {
      "type": "string"
    }
  },
  "required": [
    "uploadId",
    "clientToken",
    "pathname",
    "expiresAt",
    "curlExample"
  ],
  "type": "object"
}