An Honest fal.ai Alternative for Commercial Image & Video APIs
E2X does not replace fal.ai’s open-weight community catalog, custom GPU workflows, LoRA training, speech pipelines, or 3D generation. It is a focused commercial API gateway covering 15 Google, OpenAI, and ByteDance image and video families (40 capability endpoints) behind one REST endpoint, automatic failed-job refunds, and transparent per-unit pricing.
01 / Scope & Fit
When to Keep fal.ai vs. When to Use E2X
Different workloads call for different tools. Use the breakdown below to route each job where its capabilities and unit pricing fit best.
When to Keep fal.ai
- Open-weight checkpoints & LoRAs
You deploy or fine-tune custom open-weight image/video models, LoRA weights, or bespoke Comfy-style pipelines.
- Custom serverless GPU & 3D/speech
You need speech synthesis, custom Python worker containers, or non-commercial model ecosystems outside E2X’s 15 commercial families.
- Exact-tier price parity checks
Some specialized tiers match fal.ai pricing directly (for example Veo 3.1 Fast Start-End Frame at $0.10/s), so switching solely for price yields zero margin there.
When to Use E2X Alongside or Instead
- Commercial image & video overlap
You run Google Nano Banana / Veo 3.1 Fast / Gemini Omni, OpenAI GPT Image 2/2.5/2.6, or ByteDance Seedance 2.0 Mini at repeatable volume.
- Single job submission schema
Every capability endpoint uses POST https://api.e2x.ai/v1/jobs/submit, GET /v1/jobs/:jobId, and consistent model/input/webhookUrl JSON envelopes.
- Automatic failed-job wallet refunds
Failed generations automatically credit back your wallet, and partial batch failures refund the failed portion without support tickets.
02 / Architecture & Operations
Platform & Workflow Comparison
Verified operational characteristics across commercial inference gateways. Cells marked — were not publicly documented in comparable detail at check time (13 Nov 2026).
| Dimension | E2X | fal.ai | Replicate | WaveSpeed | kie.ai |
|---|---|---|---|---|---|
| Catalog Scope | 15 commercial Google, OpenAI & ByteDance image/video families (40 capability endpoints) | Hundreds of community, open-weight, and commercial media endpoints plus workflow builders | Custom Cog/Docker weights, fine-tuning, open-weight models, and official commercial APIs | Commercial and open-weight image/video inference endpoints | Multi-provider commercial media inference aggregator |
| Custom Weights / LoRA Training | Not supported (curated hosted commercial APIs only) | Supported via serverless GPU runtime and LoRA training endpoints | Supported via Cog/Docker container pushes and training API | — | — |
| Submission & Polling Surface | Unified POST /v1/jobs/submit + GET /v1/jobs/:jobId with one Bearer E2X_API_KEY | Queue REST (queue.fal.run) and @fal-ai/client per-endpoint invocations | REST v1/predictions (and v1/models/{owner}/{name}/predictions) + replicate SDK | REST prediction submission | Task submission REST API |
| Wallet & Auto Top-Up | Prepaid USD credits ($0/mo minimum); optional Stripe auto top-up from $4 threshold / $10 recharge | Prepaid pay-as-you-go balance with optional auto top-up | Usage-based card or prepaid billing; per-second compute for custom runs | Prepaid pay-per-use wallet | Prepaid credit balance |
| Failed-Job Refund Handling | Automatic full credit refund on failed jobs and proportional refund on failed batch outputs | — | — | — | — |
| Webhook Signing & Retries | Per-job webhookUrl; X-E2X-Timestamp + X-E2X-Signature (sha256= HMAC-SHA256); 5 attempts (1s/4s/16s/64s), 10s timeout | Webhook query/option with Ed25519 JWKS signature verification headers | Per-prediction webhook + webhook_events_filter signed with Svix HMAC-SHA256 headers | — | — |
| Documented API Rate Limits | Up to 10 active jobs per API key; 100 POST /v1/jobs/submit requests/min per IP | Queue concurrency varies by endpoint and account tier | Per-account and per-model request/concurrency limits | — | — |
03 / Normalized Unit Pricing
Overlapping Commercial Model Unit Prices
Normalized to identical resolution, quality preset, and sound settings per output image or generated video second. Both parity rows and higher rows remain visible.
| Model & Normalized Tier | E2X Rate | fal.ai Reference | vs fal.ai | Replicate Verified | WaveSpeed | kie.ai |
|---|---|---|---|---|---|---|
| Nano Banana 2 Lite 1K, text-to-image | $0.0238/img | $0.042/imgchecked 24 Aug 2026 | -43% lower | $0.034/imgReplicate 1K output billingConfig | — | — |
| Nano Banana 2.1 1K, text-to-image | $0.03/img | $0.15/imgchecked 7 Oct 2026 | -80% lower | $0.0336/imgReplicate 1K tier ($0.0336) | — | — |
| Nano Banana 1K, text-to-image | $0.0312/img | $0.039/imgchecked 24 Aug 2026 | -20% lower | $0.039/imgReplicate official billingConfig | — | — |
| Nano Banana 2 1K, text-to-image | $0.04/img | $0.08/imgchecked 24 Aug 2026 | -50% lower | $0.067/imgReplicate 1K tier ($0.067) | — | — |
| Nano Banana Pro 1K / 2K, text-to-image | $0.075/img | $0.15/imgchecked 24 Aug 2026 | -50% lower | $0.15/imgReplicate 1K/2K tier ($0.15) | — | — |
| GPT Image 2.6 Sunburst 1K, medium quality (default) | $0.015/img | $0.211/imgchecked 5 Nov 2026 | -93% lower | $0.09/imgReplicate medium 1K ($0.09) | — | — |
| GPT Image 2.6 Sunburst 1K, low quality | $0.03/img | — | — | $0.05/imgReplicate low 1K ($0.05) | — | — |
| GPT Image 2 1K, high quality (default) | $0.0525/img | $0.211/imgchecked 24 Aug 2026 | -75% lower | $0.128/imgReplicate high 1K ($0.128) | — | — |
| Veo 3.1 Fast 720p / 1080p, with sound (default) | $0.015/s | $0.15/schecked 24 Aug 2026 | -90% lower | $0.15/sReplicate with sound ($0.15/s) | — | — |
| Veo 3.1 Fast 720p / 1080p, silent | $0.10/s | — | — | $0.10/sReplicate silent ($0.10/s) | — | — |
| Veo 3.1 Fast Start-End Frame 720p, start-end-frame-to-video | $0.10/s | $0.10/schecked 24 Aug 2026 | Parity (0%) | — | — | — |
| Gemini Omni Flash 720p, text-to-video | $0.0825/s | $0.125/schecked 24 Aug 2026 | -34% lower | — | — | — |
| Gemini Omni 1.1 Flash 720p, text-to-video | $0.09/s | — | — | — | — | — |
| Gemini Omni 1.2 Flash 720p, text-to-video (default) | $0.058/s | $0.10/schecked 9 Nov 2026 | -42% lower | $0.105/sReplicate 720p ($0.105/s) | — | — |
| Seedance 2.0 Mini 720p, text-to-video (default) | $0.09/s | $0.1547/schecked 5 Nov 2026 | -42% lower | $0.09/sReplicate 720p non-video-input ($0.09/s) | — | — |
| Seedance 2.0 Mini 480p, text-to-video | $0.06/s | — | — | $0.04/sReplicate 480p non-video-input ($0.04/s) | — | — |
— indicates model not listed or unit price not publicly verified on identical tier as of 13 Nov 2026. Live E2X rates reflect catalog snapshot/API defaults (latest competitor check: 9 Nov 2026). Always test current provider pricing before running high-volume batches.
04 / Code Migration
Side-by-Side Migration: Before vs. After
Moving an overlapping commercial endpoint from fal.ai to E2X requires swapping your endpoint slug and request URL to POST https://api.e2x.ai/v1/jobs/submit, while passing parameters inside input and polling GET /v1/jobs/:jobId (or attaching webhookUrl). If you prefer SDK wrappers, @e2x/sdk (TypeScript) and e2x (Python) expose E2X().run(slug, input) as well. See Quickstart and Webhooks for HMAC signature verification examples.
TypeScript Migration
POST https://api.e2x.ai/v1/jobs/submitimport { fal } from '@fal-ai/client';
fal.config({ credentials: process.env.FAL_KEY });
const result = await fal.subscribe('fal-ai/<model-slug>', {
input: {
prompt: 'Minimalist ceramic vase on travertine plinth, studio light',
aspect_ratio: '16:9',
},
});
console.log(result.data.images?.[0]?.url);const headers = {
Authorization: `Bearer ${process.env.E2X_API_KEY}`,
'Content-Type': 'application/json',
};
const submitRes = await fetch('https://api.e2x.ai/v1/jobs/submit', {
method: 'POST',
headers,
body: JSON.stringify({
model: 'google/nano-banana-2.1/text-to-image',
input: {
prompt: 'Minimalist ceramic vase on travertine plinth, studio light',
aspect_ratio: '16:9',
resolution: '1k',
},
}),
});
const { data } = await submitRes.json();
let job;
do {
await new Promise((r) => setTimeout(r, 1500));
const pollRes = await fetch(`https://api.e2x.ai/v1/jobs/${data.jobId}`, { headers });
job = (await pollRes.json()).data;
} while (job.status === 'pending' || job.status === 'processing');
console.log(job.outputs?.[0]?.url);Prefer no polling loop? Pass webhookUrl in the submit body and verify X-E2X-Signature, or use new E2X().run(...) from @e2x/sdk.
Python Migration
POST https://api.e2x.ai/v1/jobs/submitimport fal_client
result = fal_client.subscribe(
"fal-ai/<model-slug>",
arguments={
"prompt": "Warm sunset reflections over calm harbor water",
"aspect_ratio": "16:9",
},
)
print(result["video"]["url"])import os
import time
import requests
headers = {
"Authorization": f"Bearer {os.environ['E2X_API_KEY']}",
"Content-Type": "application/json",
}
submit = requests.post(
"https://api.e2x.ai/v1/jobs/submit",
headers=headers,
json={
"model": "google/veo-3.1-fast/text-to-video",
"input": {
"prompt": "Warm sunset reflections over calm harbor water",
"aspect_ratio": "16:9",
"duration": "8",
"resolution": "720p",
"has_sound": True,
},
"webhookUrl": "https://app.example.com/api/webhooks/e2x",
},
timeout=15,
).json()
job_id = submit["data"]["jobId"]
while True:
job = requests.get(
f"https://api.e2x.ai/v1/jobs/{job_id}", headers=headers, timeout=15
).json()["data"]
if job["status"] in ("completed", "failed"):
break
time.sleep(2)
print(job["outputs"][0]["url"])Also available via pip install e2x using client = E2X(); client.run("google/veo-3.1-fast/text-to-video", {...}).
cURL Migration
POST https://api.e2x.ai/v1/jobs/submitcurl -s -X POST "https://queue.fal.run/fal-ai/<model-slug>" \
-H "Authorization: Key ${FAL_KEY}" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Editorial studio sneaker shot on matte concrete"
}'# 1. Submit job with optional webhookUrl
curl -s -X POST "https://api.e2x.ai/v1/jobs/submit" \
-H "Authorization: Bearer ${E2X_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-2.6-sunburst/text-to-image",
"input": {
"prompt": "Editorial studio sneaker shot on matte concrete",
"resolution": "1K",
"quality": "medium"
},
"webhookUrl": "https://app.example.com/api/webhooks/e2x"
}'
# 2. Or poll status manually
curl -s "https://api.e2x.ai/v1/jobs/<JOB_ID>" \
-H "Authorization: Bearer ${E2X_API_KEY}"Bearer authentication replaces fal.ai Key <secret> across all 40 capability slugs under one base host.
05 / Frequently Asked Questions
Common Questions on Migrating from fal.ai
Does E2X replace all endpoints on fal.ai?+
No. fal.ai hosts hundreds of open-weight community checkpoints, custom serverless GPU containers, LoRA trainers, speech tools, and 3D endpoints that E2X does not offer. E2X strictly focuses on 15 commercial image and video model families (40 capability endpoints) across Google, OpenAI, and ByteDance.
Are all overlapping commercial models cheaper on E2X than fal.ai?+
Most overlapping default tiers are lower on E2X as of the latest catalog check dates, while Veo 3.1 Fast Start-End Frame ($0.10/s) matches fal.ai at exact parity. Check the normalized unit price table above before routing a specific capability.
Why do some competitor or tier cells show "—"?+
"—" indicates the model is not listed on that platform or its unit price was not publicly verified on the exact same resolution, sound, or quality tier as of 13 Nov 2026. For example, Veo 3.1 Fast silent ($0.01/s) is not compared against fal.ai’s sound-enabled reference price.
How does E2X handle failed jobs compared to manual retries?+
When a submitted job fails upstream or in processing, E2X automatically refunds the full job debit to your prepaid USD wallet—and applies proportional partial refunds if a multi-output batch partially fails—without opening a billing ticket.
What is the webhook retry policy and signature scheme?+
Pass webhookUrl inside POST /v1/jobs/submit. E2X signs webhook deliveries using X-E2X-Timestamp and X-E2X-Signature (sha256= HMAC-SHA256 over timestamp.rawBody) with 5 delivery attempts (1s, 4s, 16s, 64s exponential backoff) and a 10s request timeout.
Are there monthly seats, subscriptions, or hidden minimums?+
No. E2X uses a $0/month prepaid USD credit wallet. You only fund inference usage, with optional Stripe auto top-up (configurable from a $4 balance threshold and $10 recharge minimum).
Test overlapping commercial workloads side-by-side
$0 monthly fee, prepaid credits only, automatic failed-job refunds, and HMAC-signed webhooks across all 40 endpoints.