Generate X Post Audio
generate_x_audioGenerates narrador X audio for a social media post (X/Twitter) and returns generationId (uuid), audioUrl, duration, and wordTimings. Accepts either postId (numeric X post id) or postUrl (full X post URL). Unlike narrador files, this typically returns the result immediately if already cached, or generates synchronously. If generation is slow, poll get_x_generation with the returned generationId. Consumes user credits and requires an active narrador X subscription. Not idempotent (may create new generation). Requires narrador:x scope (OAuth) or nrd_x_* API key. Use list_voices to get valid voiceId values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accent | No | Accent/language code (e.g. 'en-us', 'es-es'). Defaults to 'en-us' if not provided. Must match a supported accent code. | |
| postId | No | Numeric X/Twitter post id (e.g. '1234567890'). Mutually exclusive with postUrl. | |
| postUrl | No | Full X/Twitter post URL (e.g. 'https://x.com/user/status/1234567890'). Mutually exclusive with postId. | |
| voiceId | Yes | TTS voice UUID from list_voices. Determines the speaker for audio generation. |