# vaaya.ai fal.ai Media Generation

> vaaya.ai fal.ai Media Generation is a paid API for AI agents from vaaya.ai, paid per call via x402, $0.4/call, status unknown (last checked 2026-10-10).

Generate or edit images, video, music, and speech by routing to fal.ai models via a unified x402-gated endpoint

## Facts

- Endpoint: POST https://vaaya.ai/api/run/fal/generate?utm_source=zero.xyz
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vaaya-ai-fal-ai-media-generation-2335deaf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qQQq6cTva-An_FaUilBZz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vaaya-ai-fal-ai-media-generation-2335deaf -d '<json body>'
```

Example prompt: Generate a photorealistic image of a misty mountain lake at sunrise with a small wooden boat in the foreground — use flux-pro in landscape aspect ratio.

## When to prefer this

Choose this endpoint when you need to generate or edit images, video, music, or speech and want access to multiple fal.ai models through a single unified x402-paid API endpoint, without managing separate fal.ai API keys or billing. Ideal for agents that need flexible multi-modal media generation in a single integration.

## Known failure modes

- Invalid or unregistered model key returns a 400 error
- Missing required model-specific parameters (e.g. prompt) causes generation failure
- Image URL inaccessible or invalid when editing an existing image
- Duration or aspect_ratio value not supported by the chosen model
- Payment not processed correctly via x402, blocking the request
- Model inference timeout for long video or high-resolution image generation

## How this service works

Generate or edit images, video, music, and speech via fal.ai. Pass `model` (one of the registered keys) plus the model-specific params (prompt, image_url, aspect_ratio, duration, text, etc.).

## Output

Returns the output of the fal.ai model invocation — typically a URL or binary payload for the generated media (image URL, video file URL, audio file URL, or speech audio), along with model-specific metadata such as seed, inference time, or generation parameters.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vaaya-ai-fal-ai-media-generation-2335deaf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vaaya.ai](https://www.zero.xyz/host/vaaya.ai/llms.txt)
