> Feedback: If these docs are stale, missing, or confusing, post sanitized feedback to `https://docs.tempo.xyz/api/feedback` with `source: "mcp"`, a short `message`, and any relevant `toolName`, `relatedResource`, or `client`.
# Pay for image, video, and audio generation

Let your agents generate images, videos, audio, and speech — pay per generation with stablecoins on Tempo. Access 600+ models through fal.ai, or use OpenAI, Gemini, and Deepgram directly.

## The problem

Media generation APIs require separate accounts and API keys per provider. Costs vary wildly by model and resolution, making budgeting unpredictable. Agents that need to generate a product image, a voiceover, and a video clip in a single workflow must juggle three sets of credentials and billing systems.

## How MPP solves it

With MPP, your agent pays per generation using stablecoins on Tempo. The price is declared upfront in the `402` Challenge — the agent knows exactly what it will pay before generating anything. One wallet, one balance, any provider.

**Tempo Charge** is ideal for media generation: each request is a discrete unit with a known cost. The agent signs a TIP-20 transfer, the provider verifies it in ~500ms, and returns the generated media.

## Available services

| Provider | Capabilities | Service URL |
|---|---|---|
| fal.ai | 600+ models: Flux, SD, Recraft, Grok | `fal.mpp.tempo.xyz` |
| OpenAI | DALL·E image generation, Whisper audio | `openai.mpp.tempo.xyz` |
| Google Gemini | Veo video, Nano Banana image gen | `gemini.mpp.tempo.xyz` |
| [Deepgram](https://deepgram.mpp.paywithlocus.com) | Nova-3 transcription, Aura-2 TTS | `deepgram.mpp.paywithlocus.com` |
| [Mathpix](https://mathpix.mpp.paywithlocus.com) | OCR for math, science docs, LaTeX | `mathpix.mpp.paywithlocus.com` |

## Try it

```bash
# Install Tempo CLI + wallet
curl -L https://tempo.xyz/install | bash && tempo add request && tempo wallet login

# Generate an image via fal.ai
tempo request fal.mpp.tempo.xyz/fal-ai/flux/dev \
  -d '{"prompt": "a futuristic city skyline at sunset"}'
```

## Prompt your agent

```
Use fal.mpp.tempo.xyz to generate images via Tempo.
Pay per image with stablecoins — no API key needed.
```

## Next steps

<Cards>
  <Card icon="lucide:credit-card" title="Accept one-time payments" description="Build a payment-gated media generation API" to="/docs/guide/machine-payments/one-time-payments" />

  <Card icon="lucide:bot" title="Agent quickstart" description="Set up your agent to discover and pay for services" to="/docs/guide/machine-payments/agent" />

  <Card icon="lucide:globe" title="Browse all services" description="85+ MPP-enabled services in the directory" to="https://mpp.dev/services" />
</Cards>
