Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vmeg.ai/llms.txt

Use this file to discover all available pages before exploring further.

Prerequisites

Synchronous TTS example

Submit one line of text and receive a synthesized audio URL in the HTTP response.
curl -X POST "https://api.vmeg.ai/openapi/v1/task/tts/create" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "V1",
    "language": { "target": "en-US" },
    "outputFormat": "mp3",
    "data": [
      {
        "text": "Hello from VMEG Open API.",
        "voiceId": "YOUR_VOICE_ID"
      }
    ]
  }'
On success, code is 200 and data.results contains CDN audio URLs. Field-level detail: Create TTS (sync) in API reference.

Async tasks

For async tasks:
  1. Send X-Idempotency-Key on every POST (required, max 64 characters).
  2. Configure a Webhook URL on API Configuration.
  3. The HTTP response confirms acceptance only (taskId, etc.) — deliverables arrive via Webhook request body.
See Products overview for sync vs async by product.

Next steps

API Key

Bearer header and configuration

Text to speech

TTS workflows and voice selection