Inworld AI · Example Payload

Inworld Tts Synthesize Speech Example

Artificial IntelligenceVoiceText-to-SpeechSpeech-to-TextReal-TimeLLM RoutingVoice CloningConversational AIGame AI

Inworld Tts Synthesize Speech Example is an example object payload from Inworld AI, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.inworld.ai/tts/v1/voice",
    "headers": {
      "Authorization": "Basic $INWORLD_API_KEY",
      "Content-Type": "application/json"
    },
    "body": {
      "text": "Hello, world! What a wonderful day to be a text-to-speech model.",
      "voiceId": "Dennis",
      "modelId": "inworld-tts-2",
      "audioConfig": {
        "audioEncoding": "LINEAR16",
        "sampleRateHertz": 22050
      },
      "deliveryMode": "BALANCED",
      "applyTextNormalization": "ON",
      "timestampType": "WORD"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "audioContent": "UklGRiRQAQBXQVZFZm10IBAAAAABAAEA...truncated...",
      "usage": {
        "processedCharactersCount": 64,
        "modelId": "inworld-tts-2"
      },
      "timestampInfo": {
        "wordAlignment": {
          "words": ["Hello,", "world!", "What", "a", "wonderful", "day", "to", "be", "a", "text-to-speech", "model."],
          "wordStartTimeSeconds": [0, 0.51, 1.08, 1.32, 1.41, 1.93, 2.18, 2.31, 2.45, 2.55, 3.18],
          "wordEndTimeSeconds":   [0.51, 1.04, 1.31, 1.40, 1.92, 2.17, 2.30, 2.44, 2.54, 3.17, 3.62]
        }
      }
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/inworld-tts-synthesize-speech-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.