Services/fal.ai
// AI

fal.ai

Image and audio generation — Flux, Recraft, Whisper.

Endpoints
6
From
$0.02
Settle
~400ms
// ENDPOINTS

All routes, one base URL.

base https://mpp.t2000.ai/fal

MethodPathFrom
POST
/fal-ai/flux/dev
Flux Dev image generation
$0.06
POST
/fal-ai/flux-pro
Flux Pro image generation
$0.10
POST
/fal-ai/flux-realism
Flux Realism (photorealistic)
$0.06
POST
/fal-ai/recraft-20b
Recraft 20B image generation
$0.06
POST
/fal-ai/whisper
Speech-to-text transcription
$0.02
POST
/fal-ai/stable-audio-25/text-to-audio
Stable Audio 2.5 music generation (commercial, up to 3min)
$0.40
// EXAMPLE

Two requests. Gasless.

First call returns a 402 with a payment quote. Pay it. Retry with the Payment header. The gateway forwards the response.

curl
$ curl -X POST \
    https://mpp.t2000.ai/fal/fal-ai/flux/dev \
    -H "Content-Type: application/json" \
    -d '{ "model": "…", "input": "…" }'

# → 402 Payment Required
# → Payment header { quote, recipient, expiry }

$ retry with Payment header
# → 200 OK · response forwarded
@t2000/sdk
const r = await t.pay({
  url: 'https://mpp.t2000.ai/fal/fal-ai/flux/dev',
  body: { /* fal.ai payload */ },
});

// → r.json() · 200 OK · gasless · ~400ms