Field Note

How I Gave My Grok Bot AI Agents Voices and Video

ElevenLabs for voice. fal MiniMax for video. A shared recipe so every agent uses the same pattern. Includes a copy-paste prompt you can drop into your own agent.

AI AgentsAudioVideoHow-ToAutomation
Abstract waveforms and video frames flowing from a command line

I gave my Grok Bot staff audio and video without building a new platform.

The bench already existed. Ten seats, ten jobs, one room. Adding voice and video was a recipe change, not a product launch. Two APIs, a shared skill, and a gitignored folder for the output.

Here is how it works and how you copy it.

Audio: ElevenLabs Turbo v2.5

The voice stack is ElevenLabs Turbo v2.5. One locked library voice per agent. CLI on a Mac. The clips land in a gitignored folder that never touches the repo.

Agents speak when I ask. "Voice me" or "send verbally" triggers a TTS pass. I also have standing memos—morning and evening—where certain seats deliver audio summaries instead of text walls.

The pattern is simple:

  1. One voice per seat. Each agent has a single locked voice from the ElevenLabs library. No cloning. No voice IDs in the repo. The mapping lives in a gitignored config.
  2. Speak on request. The default is text. Audio is an explicit ask.
  3. Standing memos. Mark's morning pulse and evening wrap come as audio. Research summaries stay text unless I'm walking the dog.
  4. Gitignored output. Clips go to a local folder that never commits. No audio artifacts in the repo.

The API key lives in a gitignored env file. The agents read ELEVENLABS_API_KEY from the environment and never print it.

Video: fal MiniMax H3 Max

Video is fal MiniMax H3 Max. Image-to-video from a JPEG still. The face lock lives in the still, not in the prompt.

The workflow:

  1. Start with a still. One JPEG per face. If you have a PNG, convert it first. Pass it as a data URI.
  2. Pick a duration. 5, 10, or 15 seconds in one shot.
  3. Longer clips are two jobs. A 20-second clip is 10+10. A 30-second clip is 15+15. The last frame of clip 1 becomes the still for clip 2 so the face does not jump.
  4. Scale and pad before concat. Width mismatches kill a bare ffmpeg concat. Scale both clips to the same dimensions first.
  5. Native audio from the prompt. The video model handles audio directly. No second TTS pass.

The API key pattern is the same: FAL_KEY in a gitignored env file, Authorization: Key $FAL_KEY in the header. Point at fal.ai for the docs. Do not upload to fal storage—the upload endpoints return 404s and 403s. Pass the image as a data URI instead.

The Shared Skill

Every agent that speaks or animates follows the same recipe. I wrote a short shared skill—a playbook—that defines the pattern once. Any agent can invoke it.

The skill covers:

  • Where to find the keys. Environment variables, not hardcoded strings.
  • Where to write the output. The gitignored folder, not the repo.
  • How to handle longer clips. The stitch pattern for 20- and 30-second video.
  • What not to do. No cloning voices. No printing keys. No uploading to fal storage.

One skill, ten agents. When the recipe changes, I update one file.

What You Need

If you want to copy this:

  1. A Grok Bot bench (or similar). A set of agents with defined jobs. The pattern works on any agent stack.
  2. An ElevenLabs account. One library voice per seat. Turbo v2.5 for latency.
  3. A fal account. MiniMax H3 Max for image-to-video. Check fal.ai for current pricing.
  4. One still per face. JPEG, sized for the output you want. This is your face lock.
  5. A shared skill or playbook. One document that every agent follows. Update once, propagate everywhere.
  6. Fail-closed on public posts. Generate for the owner. Do not auto-post. If a clip is going public, a human approves it first.

One Receipt

Last Saturday I cut a short pulse clip and a morning note. Mark delivered the pulse as audio while I made coffee. The video was a 10-second test—nothing for public, just proof the stitch worked.

Total new infrastructure: zero. Total new platforms: zero. Two API accounts, one shared skill, one gitignored folder.

The bench already did the work. Audio and video are how the work reaches me when text is not the right channel.

Prompt You Can Paste Into Your Agent

This is the recipe I would hand a new seat. Drop it into a Grok Bot, Claude, or whatever agent stack you run. It covers the full pattern—audio, video, stitching, cost, and the safety rails.

You are an agent with audio and video output capabilities. Follow this recipe exactly.

---

## Audio: ElevenLabs

Use ElevenLabs Turbo v2.5 (or current equivalent) for text-to-speech.

Voice selection:
- Audition 2–3 library voices from elevenlabs.io before locking one.
- Pick a voice that fits your persona. Lock it. Name it in your playbook.
- Do not resample or change your locked voice without explicit owner approval.
- Do not clone voices. Use library voices only.

When to speak:
- Speak when the owner asks ("voice me", "send verbally", "read this aloud").
- Optional: standing memos (morning pulse, evening wrap) if configured.
- Default is text. Audio is an explicit request.

Output:
- Save clips to a gitignored local folder. Never commit audio to the repo.
- Use the ElevenLabs CLI for auth (elevenlabs login). Read ELEVENLABS_API_KEY from environment.
- Never print API keys or voice IDs in output, logs, or commits.

Docs: https://elevenlabs.io

---

## Video: fal MiniMax H3 Max

Use fal MiniMax H3 Max for image-to-video generation.

Input:
- Start with a JPEG still. If you have a PNG, convert it first.
- Pass the image as a base64 data URI. Do NOT upload to fal storage (upload endpoints return 404/403).
- The face lock lives in the still, not in the prompt. Use the same still for continuity.

Duration:
- Single shot: 5, 10, or 15 seconds.
- Longer clips require stitching:
  - 20 seconds = 10s + 10s (two jobs)
  - 30 seconds = 15s + 15s (two jobs)
- For multi-clip: extract the last frame of clip 1 and use it as the still for clip 2. This prevents face jumps.

Prompt quality:
- Write prompts as a shot list with exact spoken lines.
- Specify the voice/character in the prompt so audio doesn't go generic.
- One subject per clip. Keep it simple.
- Native audio comes from the prompt—do not add a second TTS pass.

Stitching with ffmpeg:
- Scale and pad both clips to the same resolution and fps before concat.
- Bare concat fails when widths mismatch.
- Example filter for 1280x720 at 30fps:

  ffmpeg -i clip1.mp4 -i clip2.mp4 \
    -filter_complex "\
      [0:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,fps=30,setsar=1[v0]; \
      [1:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,fps=30,setsar=1[v1]; \
      [v0][0:a][v1][1:a]concat=n=2:v=1:a=1[outv][outa]" \
    -map "[outv]" -map "[outa]" output.mp4

Auth:
- Store FAL_KEY in a gitignored env file.
- Use header: Authorization: Key $FAL_KEY
- Never print API keys in output, logs, or commits.

Docs: https://fal.ai

---

## Cost Awareness

H3 Max rates (as of launch, through Sep 1 2026):
- ~$0.04/sec at 768p, then ~$0.08/sec after Sep 1
- 480p is cheaper if you don't need the resolution
- A 5-second 768p clip costs about $0.20

Failed jobs are usually not billed. But don't auto-generate every pulse or memo—generate when the owner explicitly asks.

---

## Safety Rails

1. Fail-closed on public posts. Generate for the owner. Do not auto-post to social, blogs, or external channels.
2. If a clip is going public, wait for explicit owner approval.
3. Never print API keys, voice IDs, or internal file paths.
4. Keep output in gitignored folders. No audio or video artifacts in the repo.
5. Do not clone voices. Do not upload stills to fal storage.

---

## Playbook

Write a short shared skill so every agent uses the same recipe:
- Where to find keys (environment variables)
- Where to write output (gitignored folder)
- How to stitch longer clips (last-frame continuity)
- What not to do (no cloning, no key printing, no fal storage upload)

One skill, all agents. Update once, propagate everywhere.

Share if this helped you.