# fal.ai Namespaced Model Generation

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

Runs any fal.ai model by namespace and model name, supporting image, video, and audio generation across 600+ models

## Facts

- Endpoint: POST https://fal.mpp.tempo.xyz/fal-ai/:namespace/:model?utm_source=zero.xyz
- Price: $0.003/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Success rate: 0% of calls made through Zero
- Rating: 4.3 / 5 from 1 review
- Activations on Zero: 3
- 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-1c63caa9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4szbJ1ljTpr55cd61fCwK

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-1c63caa9 -d '<json body>'
```

Example prompt: Generate an image using fal.ai model fal-ai/flux/schnell — create a photorealistic sunset over the ocean with dramatic clouds and golden light.

## When to prefer this

Use this endpoint when you need to call a specific fal.ai model by its full namespace and model slug that isn't exposed as a dedicated named endpoint, or when you want flexible access to any of fal.ai's 600+ models including community models, fine-tunes, or less common variants. Prefer the specific named endpoints (e.g. FLUX.1 Dev, Recraft V3) when available for better-documented schemas; use this generic namespaced endpoint for everything else.

## Known failure modes

- Invalid namespace or model name returns 404
- Unsupported input parameters for the chosen model return 400
- Model is temporarily unavailable or rate-limited returns 503
- Malformed request body returns 422
- Insufficient USDC balance causes payment failure
- Model output generation timeout for complex long-running models

## How this service works

fal.ai model generation (with namespace)

## Output

Returns the model's output, typically including URLs to generated media (images, video, audio) and associated metadata such as dimensions, format, seed, and generation parameters, structured according to the specific model's output schema.

## Example request

```json
{
 "model": "schnell",
 "prompt": "a serene blue ocean with white sailboats at sunset",
 "namespace": "flux",
 "image_size": "landscape_4_3"
}
```

## 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')"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "images",
  "timings",
  "seed",
  "has_nsfw_concepts",
  "prompt"
 ],
 "properties": {
  "seed": {
   "type": "number"
  },
  "images": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "url",
     "width",
     "height",
     "content_type"
    ],
    "properties": {
     "url": {
      "type": "string"
     },
     "width": {
      "type": "number"
     },
     "height": {
      "type": "number"
     },
     "content_type": {
      "type": "string"
     }
    }
   }
  },
  "prompt": {
   "type": "string"
  },
  "timings": {
   "type": "object",
   "required": [
    "inference"
   ],
   "properties": {
    "inference": {
     "type": "number"
    }
   }
  },
  "has_nsfw_concepts": {
   "type": "array",
   "items": {
    "type": "boolean"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fal-ai-model-1c63caa9/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)
