{
  "x402Version": 2,
  "id": 37990,
  "slug": "37990",
  "resource": "https://openai.mm.family/x402/v1/audio/speech",
  "description": "OpenAI text to speech (gpt-4o-mini-tts, tts-1, tts-1-hd), paid per call in USDC. OpenAI list $15 / $30 per 1M characters (tts-1 / tts-1-hd) or $12 per 1M audio tokens (gpt-4o-mini-tts, quoted at 4 per character), plus $0.0005 (Base) or $0.0005 (Solana) per call; up to 4096 characters. Standard OpenAI body (input, voice, response_format, speed). Returns the audio bytes. One endpoint per model: /x402/v1/models/<key>/audio/speech. Rates: https://openai.mm.family/x402/pricing",
  "type": "http",
  "serviceName": "OpenAI text to speech",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa91238cf312440118f7dD59bA78232AcDB8Ea39b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 900
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "AxHVpeuSUcYwJaxkyAjGT1UvN5sHu4ZcSrW1fB1S5ZSn",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "input": "Say hello",
            "model": "gpt-4o-mini-tts",
            "voice": "alloy"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "body": "binary audio bytes (mp3 by default)",
            "content_type": "audio/mpeg"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "input": {
                    "type": "string"
                  },
                  "instructions": {
                    "type": "string"
                  },
                  "model": {
                    "enum": [
                      "gpt-4o-mini-tts",
                      "tts-1",
                      "tts-1-hd"
                    ],
                    "type": "string"
                  },
                  "response_format": {
                    "enum": [
                      "mp3",
                      "opus",
                      "aac",
                      "flac",
                      "wav",
                      "pcm"
                    ],
                    "type": "string"
                  },
                  "speed": {
                    "type": "number"
                  },
                  "voice": {
                    "type": "string"
                  }
                },
                "required": [
                  "input",
                  "voice",
                  "model"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "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"
      }
    }
  },
  "tags": [
    "openai",
    "tts",
    "text-to-speech",
    "base",
    "solana",
    "bazaar"
  ],
  "sourceHost": "openai.mm.family",
  "lastUpdated": "2026-10-07T17:55:11.896Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-07T17:55:11.467Z"
  },
  "metadata": {
    "serviceName": "OpenAI text to speech",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "input": "Say hello",
              "model": "gpt-4o-mini-tts",
              "voice": "alloy"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "body": "binary audio bytes (mp3 by default)",
              "content_type": "audio/mpeg"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "input": {
                      "type": "string"
                    },
                    "instructions": {
                      "type": "string"
                    },
                    "model": {
                      "enum": [
                        "gpt-4o-mini-tts",
                        "tts-1",
                        "tts-1-hd"
                      ],
                      "type": "string"
                    },
                    "response_format": {
                      "enum": [
                        "mp3",
                        "opus",
                        "aac",
                        "flac",
                        "wav",
                        "pcm"
                      ],
                      "type": "string"
                    },
                    "speed": {
                      "type": "number"
                    },
                    "voice": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "input",
                    "voice",
                    "model"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "openai.mm.family",
    "manifest_name": "openai.mm.family",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}