# fal.ai :Model - AI Media Generation

> fal.ai :Model - AI Media Generation is a paid API for AI agents from fal.ai at fal.mpp.tempo.xyz, paid per call via MPP, $0.02/call, status unknown (last checked 2026-10-10).

Generates images or video using a specified fal.ai model (Flux, Stable Diffusion, Grok, Recraft, etc.) via a parameterized model endpoint

## Facts

- Endpoint: POST https://fal.mpp.tempo.xyz/fal-ai/:model?utm_source=zero.xyz
- Price: $0.02/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Provider: fal.ai
- Docs: https://fal.ai/docs
- Website: https://fal.ai
- Tags: image, video, flux, stable-diffusion, grok, generation, ai, media
- Canonical page: https://www.zero.xyz/c/fal-ai-model-9a33113a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dc6vg36PQ_3mJf93jONoh

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 fal-ai-model-9a33113a -d '<json body>'
```

Example prompt: Use fal.ai to generate a photorealistic image of a misty mountain forest at sunrise — run it through the FLUX.1 dev model with a detailed prompt.

## When to prefer this

Use this endpoint when you need to call any of fal.ai's 600+ generative models (Flux, Stable Diffusion, Recraft, Grok, MiniMax, etc.) through a single parameterized interface. Ideal when you want access to a broad model catalog without managing separate endpoints for each model. Prefer this over brand-specific endpoints when you want flexibility to swap models or when the exact model path is known.

## Known failure modes

- Invalid or unknown model identifier in the URL path returns 404 or model-not-found error
- Malformed or missing prompt returns 400 bad request
- Model-specific parameter validation failure returns 422 unprocessable entity
- Insufficient funds or payment failure returns 402 payment required
- Model overload or timeout returns 503 or timeout error
- Unsupported parameter for the selected model returns validation error

## How this service works

fal.ai model generation

## Output

Returns the output of the specified fal.ai generative model, typically including a URL or binary of the generated image or video, plus any model-specific metadata such as seed, dimensions, or inference time.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "namespace",
  "model",
  "prompt"
 ],
 "properties": {
  "model": {
   "type": "string",
   "description": "The specific model variant (e.g. 'schnell', 'dev')"
  },
  "prompt": {
   "type": "string",
   "description": "Text prompt describing the desired output"
  },
  "namespace": {
   "type": "string",
   "description": "The model family/namespace (e.g. 'flux'), NOT 'fal-ai' which is already in the URL path"
  },
  "image_size": {
   "enum": [
    "landscape_4_3",
    "landscape_16_9",
    "portrait_4_3",
    "portrait_16_9",
    "square",
    "square_hd"
   ],
   "type": "string",
   "description": "Optional image size preset (e.g. 'landscape_4_3', 'square_hd')"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fal-ai-model-9a33113a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fal.mpp.tempo.xyz](https://www.zero.xyz/host/fal.mpp.tempo.xyz/llms.txt)
