An Honest Replicate Alternative for Commercial Image & Video APIs
Replicate excels at running custom Cog/Docker containers, LoRA fine-tuning, and thousands of open-weight community weights billed per hardware second. E2X does none of that—instead, it provides a streamlined prepaid REST gateway across 15 commercial Google, OpenAI, and ByteDance image and video families (40 endpoints) with automatic failed-job refunds and deterministic per-unit billing.
01 / Scope & Fit
When to Keep Replicate 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 Replicate
- Custom Cog / Docker containers
You package custom inference code, bespoke pre/post-processing, or private checkpoints onto dedicated GPUs.
- Training, LoRAs & open weights
Your workload relies on fine-tuning jobs, community open-weight image/video checkpoints, speech synthesis, or 3D generation.
- Seedance 2.0 Mini 480p non-video-input
At 480p without video input, Replicate’s verified tier is $0.04/s compared to $0.045/s on E2X (and both platforms tie at $0.09/s on 720p non-video-input).
When to Use E2X Alongside or Instead
- Google & OpenAI commercial APIs
Nano Banana family ($0.0238–$0.075/img), GPT Image 2.6 Sunburst medium ($0.015 vs $0.09/img), and Veo 3.1 Fast ($0.015/s with sound vs $0.15/s) show substantial per-unit reductions.
- Expanded Google capability slugs
Includes Veo 3.1 Fast Start-End Frame ($0.10/s), Gemini Omni Flash ($0.0825/s), and Gemini Omni 1.1 Flash ($0.09/s) not exposed on Replicate official billing pages.
- Unified refunds & single key
Prepaid USD credits with automatic full/partial failure refunds, HMAC-SHA256 webhooks, and zero container or version-hash management.
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 | Replicate | fal.ai | WaveSpeed | kie.ai |
|---|---|---|---|---|---|
| Catalog Scope | 15 commercial Google, OpenAI & ByteDance image/video families (40 capability endpoints) | Custom Cog/Docker weights, fine-tuning, open-weight models, and official commercial APIs | Hundreds of community, open-weight, and commercial media endpoints plus workflow builders | 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 Cog/Docker container pushes and training API | Supported via serverless GPU runtime and LoRA training endpoints | — | — |
| Submission & Polling Surface | Unified POST /v1/jobs/submit + GET /v1/jobs/:jobId with one Bearer E2X_API_KEY | REST v1/predictions (and v1/models/{owner}/{name}/predictions) + replicate SDK | Queue REST (queue.fal.run) and @fal-ai/client per-endpoint invocations | 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 | Usage-based card or prepaid billing; per-second compute for custom runs | Prepaid pay-as-you-go balance with optional auto top-up | 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 | Per-prediction webhook + webhook_events_filter signed with Svix HMAC-SHA256 headers | Webhook query/option with Ed25519 JWKS signature verification headers | — | — |
| Documented API Rate Limits | Up to 10 active jobs per API key; 100 POST /v1/jobs/submit requests/min per IP | Per-account and per-model request/concurrency limits | Queue concurrency varies by endpoint and account tier | — | — |
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 | Replicate Verified | vs Replicate | fal.ai Reference | WaveSpeed | kie.ai |
|---|---|---|---|---|---|---|
| Nano Banana 2 Lite 1K, text-to-image | $0.0238/img | $0.034/imgReplicate 1K output billingConfig | -30% lower | $0.042/imgchecked 24 Aug 2026 | — | — |
| Nano Banana 2.1 1K, text-to-image | $0.03/img | $0.0336/imgReplicate 1K tier ($0.0336) | -11% lower | $0.15/imgchecked 7 Oct 2026 | — | — |
| Nano Banana 1K, text-to-image | $0.0312/img | $0.039/imgReplicate official billingConfig | -20% lower | $0.039/imgchecked 24 Aug 2026 | — | — |
| Nano Banana 2 1K, text-to-image | $0.04/img | $0.067/imgReplicate 1K tier ($0.067) | -40% lower | $0.08/imgchecked 24 Aug 2026 | — | — |
| Nano Banana Pro 1K / 2K, text-to-image | $0.075/img | $0.15/imgReplicate 1K/2K tier ($0.15) | -50% lower | $0.15/imgchecked 24 Aug 2026 | — | — |
| GPT Image 2.6 Sunburst 1K, medium quality (default) | $0.015/img | $0.09/imgReplicate medium 1K ($0.09) | -83% lower | $0.211/imgchecked 5 Nov 2026 | — | — |
| GPT Image 2.6 Sunburst 1K, low quality | $0.03/img | $0.05/imgReplicate low 1K ($0.05) | -40% lower | — | — | — |
| GPT Image 2 1K, high quality (default) | $0.0525/img | $0.128/imgReplicate high 1K ($0.128) | -59% lower | $0.211/imgchecked 24 Aug 2026 | — | — |
| Veo 3.1 Fast 720p / 1080p, with sound (default) | $0.015/s | $0.15/sReplicate with sound ($0.15/s) | -90% lower | $0.15/schecked 24 Aug 2026 | — | — |
| Veo 3.1 Fast 720p / 1080p, silent | $0.10/s | $0.10/sReplicate silent ($0.10/s) | Parity (0%) | — | — | — |
| Veo 3.1 Fast Start-End Frame 720p, start-end-frame-to-video | $0.10/s | — | — | $0.10/schecked 24 Aug 2026 | — | — |
| Gemini Omni Flash 720p, text-to-video | $0.0825/s | — | — | $0.125/schecked 24 Aug 2026 | — | — |
| 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.105/sReplicate 720p ($0.105/s) | -45% lower | $0.10/schecked 9 Nov 2026 | — | — |
| Seedance 2.0 Mini 720p, text-to-video (default) | $0.09/s | $0.09/sReplicate 720p non-video-input ($0.09/s) | Parity (0%) | $0.1547/schecked 5 Nov 2026 | — | — |
| Seedance 2.0 Mini 480p, text-to-video | $0.06/s | $0.04/sReplicate 480p non-video-input ($0.04/s) | +50% higher | — | — | — |
— 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
Switching an official model call from Replicate to E2X replaces Replicate’s predictions URL and Prefer: wait polling with POST https://api.e2x.ai/v1/jobs/submit and GET /v1/jobs/:jobId (or webhookUrl). Use your same E2X_API_KEY across Google, OpenAI, and ByteDance slugs. See Quickstart and Webhooks for HMAC signature verification examples.
TypeScript Migration
POST https://api.e2x.ai/v1/jobs/submitconst headers = {
Authorization: `Bearer ${process.env.REPLICATE_API_TOKEN}`,
'Content-Type': 'application/json',
};
const createRes = await fetch(
'https://api.replicate.com/v1/models/google/veo-3.1-fast/predictions',
{
method: 'POST',
headers,
body: JSON.stringify({
input: {
prompt: 'Drone tracking shot along misty basalt cliffs',
aspect_ratio: '16:9',
duration: 8,
generate_audio: true,
},
}),
},
);
let prediction = await createRes.json();
while (prediction.status === 'starting' || prediction.status === 'processing') {
await new Promise((r) => setTimeout(r, 2000));
prediction = await (await fetch(prediction.urls.get, { headers })).json();
}
console.log(prediction.output);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/veo-3.1-fast/text-to-video',
input: {
prompt: 'Drone tracking shot along misty basalt cliffs',
aspect_ratio: '16:9',
duration: '8',
resolution: '720p',
has_sound: true,
},
}),
});
const { data } = await submitRes.json();
let job;
do {
await new Promise((r) => setTimeout(r, 2000));
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);Same URL pattern works across all 40 commercial endpoints; @e2x/sdk also wraps submission and polling in new E2X().run(slug, input).
Python Migration
POST https://api.e2x.ai/v1/jobs/submitimport replicate
output = replicate.run(
"openai/gpt-image-2.6",
input={
"prompt": "Minimalist glass espresso server on brushed steel counter",
"quality": "medium",
"aspect_ratio": "1:1",
},
)
print(output[0].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": "openai/gpt-image-2.6-sunburst/text-to-image",
"input": {
"prompt": "Minimalist glass espresso server on brushed steel counter",
"quality": "medium",
"resolution": "1K",
"aspect_ratio": "1:1",
},
"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(1.5)
print(job["outputs"][0]["url"])Alternatively install pip install e2x and invoke E2X().run("openai/gpt-image-2.6-sunburst/text-to-image", {...}).
cURL Migration
POST https://api.e2x.ai/v1/jobs/submitcurl -s -X POST "https://api.replicate.com/v1/models/bytedance/seedance-2.0-mini/predictions" \
-H "Authorization: Bearer ${REPLICATE_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "Slow pan across sunlit architectural courtyard",
"resolution": "720p",
"duration": 5
}
}'# 1. Submit to unified E2X jobs endpoint (poll or receive 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": "bytedance/seedance-2.0-mini/text-to-video",
"input": {
"prompt": "Slow pan across sunlit architectural courtyard",
"resolution": "720p",
"duration": "5"
},
"webhookUrl": "https://app.example.com/api/webhooks/e2x"
}'
# 2. Poll completion state when not using webhookUrl
curl -s "https://api.e2x.ai/v1/jobs/<JOB_ID>" \
-H "Authorization: Bearer ${E2X_API_KEY}"Capability actions are explicit in E2X slugs (text-to-image, edit-image, text-to-video, image-to-video, reference-to-video, start-end-frame-to-video).
05 / Frequently Asked Questions
Common Questions on Migrating from Replicate
Can I deploy Cog models or custom Docker containers on E2X?+
No. E2X does not run custom Cog/Docker builds or LoRA fine-tuning jobs. Replicate remains the right platform when you need custom model packaging or open-weight checkpoints.
Why does Seedance 2.0 Mini 480p show a higher rate on E2X than Replicate?+
Replicate lists Seedance 2.0 Mini at $0.04/s for 480p non-video-input runs, while E2X prices 480p at $0.045/s (and both match at $0.09/s on 720p non-video-input). We list parity and higher rows explicitly rather than hiding unfavorable tiers.
How were the Replicate tier prices verified?+
Replicate figures were checked directly on public Replicate model pages on 13 Nov 2026 and matched to identical resolution, quality, and sound parameters (for example GPT Image 2/2.6 1K medium vs high, Nano Banana 1K, and Veo 3.1 Fast with sound vs silent).
How does webhook verification differ between Replicate and E2X?+
Replicate signs webhooks using Svix headers. E2X uses direct HMAC-SHA256 via X-E2X-Timestamp and X-E2X-Signature (sha256= digest of timestamp.rawBody) with 5 delivery retries (1s, 4s, 16s, 64s) and a 10s request timeout.
What happens to credits if an upstream generation fails on E2X?+
E2X automatically returns a full credit refund on failed jobs and a proportional credit refund when a multi-image batch fails partially—credits go straight back to your prepaid wallet.
What are E2X’s documented concurrency limits and billing minimums?+
E2X accounts have a $0 monthly minimum and pay from a prepaid USD balance (optional Stripe auto top-up starts from a $4 threshold and $10 recharge). API keys support up to 10 concurrent active jobs and 100 POST /v1/jobs/submit requests per minute per IP.
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.