---
agentTools:
  projectIndex: https://uberduck.readme.io/llms.txt
---

# Convert English to ARPAbet

Convert English to ARPAbet.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Uberduck Text To Speech API",
    "version": "0.1.0"
  },
  "servers": [
    {
      "url": "https://api.uberduck.ai"
    },
    {
      "url": "http://localhost:8003"
    }
  ],
  "paths": {
    "/g2p": {
      "get": {
        "summary": "Convert English to ARPAbet",
        "description": "Convert English to ARPAbet.",
        "operationId": "g2p_g2p_get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Text",
              "type": "string"
            },
            "name": "text",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/G2PResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "G2PResponse": {
        "title": "G2PResponse",
        "required": [
          "arpabet",
          "lookups"
        ],
        "type": "object",
        "properties": {
          "arpabet": {
            "title": "Arpabet",
            "type": "string"
          },
          "lookups": {
            "title": "Lookups",
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      },
      "HTTPValidationError": {
        "title": "HTTPValidationError",
        "type": "object",
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            }
          }
        }
      },
      "ValidationError": {
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "type": "object",
        "properties": {
          "loc": {
            "title": "Location",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 90,
      "2": 123,
      "3": 202,
      "4": 119,
      "5": 115,
      "6": 54,
      "7": 49,
      "8": 97,
      "9": 213,
      "10": 116,
      "11": 44
    }
  }
}
```