AI Video Generation API

Generate, reference-guide, extend, and edit video clips through one unified REST API covering Google Veo 3.1 Fast, Google Omni Flash (1.0, 1.1, and 1.2 Flash), and ByteDance Seedance 2.0 Mini — starting at $0.01/s silent ($0.015/s default with sound) on Veo 3.1 Fast and $0.0174/s (360p) on Omni 1.2 Flash.

Covers all 20 video endpoints currently active across Google Veo 3.1 Fast, Google Omni Flash / 1.1 Flash / 1.2 Flash, and ByteDance Seedance 2.0 Mini spanning 6 video capabilities.

Endpoints Covered
20
Lowest Catalog Rate
$0.01/s
Capabilities
Text To Video, Image To Video, Start End Frame To Video, Reference To Video, Video Edit, Video Extend
Savings vs fal.ai
Up to 90%

01 / LIVE CATALOG PRICING

Real Catalog Pricing & Dynamic Tiers

Rates below are calculated dynamically from E2X micro-cent pricing rules and default resolution/quality multipliers.

Model & Endpoint SlugCapabilityDefault RateDynamic Pricing Tiers
Seedance 2.0 Mini Text-to-Video

bytedance/seedance-2.0-mini/text-to-video

Text To Video$0.09/s
480p:$0.045/s720p (default):$0.09/s
Seedance 2.0 Mini Image-to-Video

bytedance/seedance-2.0-mini/image-to-video

Image To Video$0.09/s
480p:$0.045/s720p (default):$0.09/s
Seedance 2.0 Mini Start-End Frame

bytedance/seedance-2.0-mini/start-end-frame-to-video

Start End Frame To Video$0.09/s
480p:$0.045/s720p (default):$0.09/s
Seedance 2.0 Mini Reference-to-Video

bytedance/seedance-2.0-mini/reference-to-video

Reference To Video$0.09/s
480p:$0.045/s720p (default):$0.09/s
Veo 3.1 Fast

google/veo-3.1-fast/start-end-frame-to-video

Start End Frame To Video$0.10/s
Fixed rate (/s):$0.10/s
Gemini Omni 1.2 Flash

google/omni-1.2-flash/image-to-video

Image To Video$0.058/s
360p:$0.0174/s720p (default):$0.058/s1080p:$0.087/s4k:$0.174/s
Gemini Omni 1.2 Flash

google/omni-1.2-flash/reference-to-video

Reference To Video$0.058/s
360p:$0.0174/s720p (default):$0.058/s1080p:$0.087/s4k:$0.174/s
Gemini Omni 1.2 Flash

google/omni-1.2-flash/start-end-frame-to-video

Start End Frame To Video$0.058/s
360p:$0.0174/s720p (default):$0.058/s1080p:$0.087/s4k:$0.174/s
Gemini Omni 1.2 Flash

google/omni-1.2-flash/text-to-video

Text To Video$0.058/s
360p:$0.0174/s720p (default):$0.058/s1080p:$0.087/s4k:$0.174/s
Gemini Omni 1.2 Flash

google/omni-1.2-flash/video-edit

Video Edit$0.058/s
360p:$0.0174/s720p (default):$0.058/s1080p:$0.087/s4k:$0.174/s
Gemini Omni 1.2 Flash

google/omni-1.2-flash/video-extend

Video Extend$0.058/s
360p:$0.0174/s720p (default):$0.058/s1080p:$0.087/s4k:$0.174/s
Gemini Omni 1.1 Flash

google/omni-1.1-flash/image-to-video

Image To Video$0.09/s
360p:$0.0297/s720p (default):$0.09/s1080p:$0.135/s4k:$0.18/s
Gemini Omni 1.1 Flash

google/omni-1.1-flash/reference-to-video

Reference To Video$0.09/s
360p:$0.0297/s720p (default):$0.09/s1080p:$0.135/s4k:$0.18/s
Gemini Omni 1.1 Flash

google/omni-1.1-flash/start-end-frame-to-video

Start End Frame To Video$0.09/s
360p:$0.0297/s720p (default):$0.09/s1080p:$0.135/s4k:$0.18/s
Gemini Omni 1.1 Flash

google/omni-1.1-flash/text-to-video

Text To Video$0.09/s
360p:$0.0297/s720p (default):$0.09/s1080p:$0.135/s4k:$0.18/s
Omni Flash

google/omni-flash/reference-to-video

Reference To Video$0.075/s
4k:$0.15/s720p (default):$0.075/s1080p:$0.1125/s
Omni Flash

google/omni-flash/text-to-video

Text To Video$0.0825/s
4k:$0.165/s1080p:$0.1237/s720p (default):$0.0825/s
Veo 3.1 Fast

google/veo-3.1-fast/image-to-video

Image To Video$0.015/s
720p · Silent:$0.01/s720p · With sound (default):$0.015/s1080p · Silent:$0.01/s1080p · With sound:$0.015/s4k · Silent:$0.015/s4k · With sound:$0.0225/s
Veo 3.1 Fast

google/veo-3.1-fast/reference-to-video

Reference To Video$0.015/s
720p · Silent:$0.01/s720p · With sound (default):$0.015/s1080p · Silent:$0.01/s1080p · With sound:$0.015/s4k · Silent:$0.015/s4k · With sound:$0.0225/s
Veo 3.1 Fast

google/veo-3.1-fast/text-to-video

Text To Video$0.015/s
720p · Silent:$0.01/s720p · With sound (default):$0.015/s1080p · Silent:$0.01/s1080p · With sound:$0.015/s4k · Silent:$0.015/s4k · With sound:$0.0225/s
Model job total with batch counts, resolution, and duration before spending credits.Estimate costs in the Pricing Calculator

02 / QUICKSTART CODE

SSR Code Samples (cURL, JavaScript, Python)

Submit requests directly against POST https://api.e2x.ai/v1/jobs/submit or use the official @e2x/sdk and Python e2x clients with "google/omni-1.2-flash/text-to-video".

cURLPOST google/omni-1.2-flash/text-to-video
curl -sS -X POST "https://api.e2x.ai/v1/jobs/submit" \
  -H "Authorization: Bearer $E2X_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/omni-1.2-flash/text-to-video",
  "input": {
    "prompt": "Smooth aerial drone glide over wet black basalt cliffs as ocean spray rises in golden hour light",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": "8"
  }
}'
JavaScriptNode.js / JavaScript (@e2x/sdk)
import { E2XClient } from '@e2x/sdk';

const e2x = new E2XClient({ apiKey: process.env.E2X_API_KEY });

const result = await e2x.jobs.run({
  model: 'google/omni-1.2-flash/text-to-video',
  input: {
    "prompt": "Smooth aerial drone glide over wet black basalt cliffs as ocean spray rises in golden hour light",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": "8"
  },
});

console.log(result.output);
PythonPython (e2x SDK)
import os
from e2x import E2XClient

client = E2XClient(api_key=os.environ["E2X_API_KEY"])

job = client.jobs.run(
    model="google/omni-1.2-flash/text-to-video",
    input={
        "prompt": "Smooth aerial drone glide over wet black basalt cliffs as ocean spray rises in golden hour light",
        "aspect_ratio": "16:9",
        "resolution": "720p",
        "duration": "8"
    },
)

print(job.output)

03 / API RESPONSES & WEBHOOKS

Real API Response Payloads & Error Envelope

Submission, polling, HMAC-signed webhook callbacks, and error envelopes share one consistent JSON structure across all E2X endpoints.

POST /v1/jobs/submit (Queued Response)

JSON200 OK
{
  "success": true,
  "data": {
    "jobId": "job_01J9XK2M8N4P7Q3R5S6T8V0WXY",
    "status": "pending",
    "estimatedCompletionTime": 35,
    "costMicroCents": 120000
  },
  "requestId": "req_01J9XK2M8N4P7Q3R"
}

GET /v1/jobs/:jobId (Completed Output)

JSON200 OK
{
  "success": true,
  "data": {
    "jobId": "job_01J9XK2M8N4P7Q3R5S6T8V0WXY",
    "model": "google/omni-1.2-flash/text-to-video",
    "status": "completed",
    "progress": 100,
    "output": "https://assets.e2x.ai/generated/example.mp4",
    "outputs": [
      {
        "url": "https://assets.e2x.ai/generated/example.mp4",
        "type": "video"
      }
    ],
    "failedGenerations": [],
    "numberOfGenerations": 1,
    "requestedCount": 1,
    "successCount": 1,
    "failedCount": 0,
    "costMicroCents": 120000,
    "refundedMicroCents": 0,
    "error": null,
    "createdAt": "2026-11-13T10:00:00.000Z",
    "completedAt": "2026-11-13T10:00:18.000Z"
  },
  "requestId": "req_01J9XK2N1B2C3D4E"
}

Webhook Callback Body (X-E2X-Signature HMAC-SHA256)

JSONPOST webhookUrl
{
  "jobId": "job_01J9XK2M8N4P7Q3R5S6T8V0WXY",
  "requestId": "req_01J9XK2M8N4P7Q3R",
  "status": "completed",
  "output": "https://assets.e2x.ai/generated/example.mp4",
  "error": null,
  "completedAt": "2026-11-13T10:00:18.000Z"
}

Verify X-E2X-Signature (HMAC-SHA256 over <X-E2X-Timestamp>.<rawBody>). Read Webhook Signature & Retry docs →

Standard Error Envelope

JSON4xx / 5xx JSON Error
{
  "success": false,
  "error": {
    "code": "CONCURRENT_JOBS_EXCEEDED",
    "message": "Concurrent job limit reached for this model."
  },
  "requestId": "req_01J9XK2Q9W8E7R6T"
}

Every non-2xx response returns success: false with error.code and error.message. Browse API error codes →

04 / INPUT SCHEMA

Input Parameter Reference

Parameters and constraints extracted directly from the live endpoint JSON schemas for covered models.

ParameterTypeRequiredDefaultAllowed Values / ConstraintsEndpointsDescription
promptstringRequired—maxLength: 50000All 20 endpoints—
aspect_ratiostringRequired"16:9"enum: 16:9, 9:16omni-1.2-flash/text-to-video, seedance-2.0-mini/text-to-video, seedance-2.0-mini/reference-to-video, veo-3.1-fast/start-end-frame-to-video (+14 more)—
seedintegerOptional——omni-1.2-flash/text-to-video, seedance-2.0-mini/text-to-video, seedance-2.0-mini/image-to-video, seedance-2.0-mini/start-end-frame-to-video (+15 more)—
resolutionstringOptional"720p"enum: 360p, 720p, 1080p, 4kAll 20 endpointsResolution
durationstringOptional"8"enum: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15All 20 endpointsDuration
has_soundbooleanOptionaltrue—seedance-2.0-mini/text-to-video, seedance-2.0-mini/image-to-video, seedance-2.0-mini/start-end-frame-to-video, seedance-2.0-mini/reference-to-video (+3 more)—
image_urlstringRequired—format: uriseedance-2.0-mini/image-to-video, seedance-2.0-mini/start-end-frame-to-video, omni-1.2-flash/image-to-video, omni-1.1-flash/image-to-video (+1 more)—
end_frame_urlstringRequired—format: uriseedance-2.0-mini/start-end-frame-to-video, veo-3.1-fast/start-end-frame-to-video, omni-1.2-flash/start-end-frame-to-video, omni-1.1-flash/start-end-frame-to-video—
reference_urlsstring[]Optional—items: 0..9seedance-2.0-mini/reference-to-videoReference images (max 9) — use @Image1..@Image9 in prompt
reference_video_urlsstring[]Optional—items: 0..3seedance-2.0-mini/reference-to-videoReference video clips (max 3) — use @Video1..@Video3 in prompt
reference_audio_urlsstring[]Optional—items: 0..3seedance-2.0-mini/reference-to-videoReference audio tracks (max 3) — use @Audio1..@Audio3 in prompt
start_frame_urlstringRequired——veo-3.1-fast/start-end-frame-to-video, omni-1.2-flash/start-end-frame-to-video, omni-1.1-flash/start-end-frame-to-videoStart frame image URL
image_urlsstring[]Required—items: 1..7omni-1.2-flash/reference-to-video, omni-1.2-flash/video-edit, omni-1.2-flash/video-extend, omni-1.1-flash/reference-to-video (+2 more)Reference image URLs (1-7 images)
voicesstring[]Optional—items: 0..5omni-1.2-flash/reference-to-video, omni-1.2-flash/video-edit, omni-1.2-flash/video-extendOptional Google Flow preset voices (up to 5)
video_urlstringRequired——omni-1.2-flash/video-edit, omni-1.2-flash/video-extendSource video URL to edit

05 / VERIFIED SAMPLE OUTPUTS

Catalog Sample Outputs

Example media served from assets.e2x.ai generated by endpoints in this family.

Gemini Omni 1.2 Flash (Text To Video) sample outputInspect →
Seedance 2.0 Mini Text-to-Video (Text To Video) sample outputInspect →
Seedance 2.0 Mini Image-to-Video (Image To Video) sample outputInspect →
Seedance 2.0 Mini Reference-to-Video (Reference To Video) sample outputInspect →
Omni Flash (Reference To Video) sample outputInspect →
Omni Flash (Text To Video) sample outputInspect →

06 / OPERATIONAL LIMITS

Rate Limits, Concurrency & Upload Constraints

Production enforcement limits enforced by the E2X gateway, worker dispatch, and Cloudflare R2 upload pipeline.

Account API rate tiers
Free: 10 req/min (100/hr, 1,000/day, 2 concurrent) · Pro: 100 req/min (5,000/hr, 50,000/day, 10 concurrent) · Enterprise: 1,000 req/min (50,000/hr, 500,000/day, 50 concurrent)
Default per-model concurrency
5 concurrent jobs per user/model unless overridden per model version (`CONCURRENT_JOBS_EXCEEDED` on overflow)
Gateway global burst protection
10,000 requests/minute gateway cap; fail-closed fallback limiter of 5 req/60s if Redis is unreachable
Batch generations per job
Maximum 16 outputs per POST /v1/jobs/submit request (`GENERATIONS_LIMIT_EXCEEDED` above 16)
Pre-flight estimate & R2 upload limits
POST /v1/jobs/estimate: 60 req/5 min · POST /v1/uploads/presign: 60 req/10 min, max 200 pending uploads, 10 MB images (JPEG/PNG/WEBP/GIF), 100 MB videos (MP4/WEBM)
Webhook delivery policy
HTTPS-only public endpoints (private/loopback SSRF blocked), 10s timeout per attempt, up to 5 attempts (0s, 1s, 4s, 16s, 64s), HMAC-SHA256 `X-E2X-Signature` header

Full per-tier quotas and retry guidance: Rate Limits & Concurrency Documentation →

07 / BENCHMARK COMPARISON

Unit-Normalized Pricing vs. fal.ai

Side-by-side comparison at default unit settings (pricing verified through 9 Nov 2026). Endpoints without a published competitor price render "—".

EndpointCapabilityE2X Default RateSourceCompetitor RateSavingsChecked
bytedance/seedance-2.0-mini/text-to-videoText To Video$0.09/sfal.ai$0.1547/s42%5 Nov 2026
bytedance/seedance-2.0-mini/image-to-videoImage To Video$0.09/sfal.ai$0.1547/s42%5 Nov 2026
bytedance/seedance-2.0-mini/start-end-frame-to-videoStart End Frame To Video$0.09/sfal.ai$0.1547/s42%5 Nov 2026
bytedance/seedance-2.0-mini/reference-to-videoReference To Video$0.09/sfal.ai$0.1547/s42%5 Nov 2026
google/veo-3.1-fast/start-end-frame-to-videoStart End Frame To Video$0.10/sfal.ai$0.10/s—24 Aug 2026
google/omni-1.2-flash/image-to-videoImage To Video$0.058/sfal.ai$0.10/s42%9 Nov 2026
google/omni-1.2-flash/reference-to-videoReference To Video$0.058/sfal.ai$0.10/s42%9 Nov 2026
google/omni-1.2-flash/start-end-frame-to-videoStart End Frame To Video$0.058/sfal.ai$0.10/s42%9 Nov 2026
google/omni-1.2-flash/text-to-videoText To Video$0.058/sfal.ai$0.10/s42%9 Nov 2026
google/omni-1.2-flash/video-editVideo Edit$0.058/sfal.ai$0.10/s42%9 Nov 2026
google/omni-1.2-flash/video-extendVideo Extend$0.058/sfal.ai$0.10/s42%9 Nov 2026
google/omni-1.1-flash/image-to-videoImage To Video$0.09/s————
google/omni-1.1-flash/reference-to-videoReference To Video$0.09/s————
google/omni-1.1-flash/start-end-frame-to-videoStart End Frame To Video$0.09/s————
google/omni-1.1-flash/text-to-videoText To Video$0.09/s————
google/omni-flash/reference-to-videoReference To Video$0.075/sfal.ai$0.13/s42%24 Aug 2026
google/omni-flash/text-to-videoText To Video$0.0825/sfal.ai$0.125/s34%24 Aug 2026
google/veo-3.1-fast/image-to-videoImage To Video$0.015/sfal.ai$0.15/s90%24 Aug 2026
google/veo-3.1-fast/reference-to-videoReference To Video$0.015/sfal.ai$0.15/s90%24 Aug 2026
google/veo-3.1-fast/text-to-videoText To Video$0.015/sfal.ai$0.15/s90%24 Aug 2026

08 / FAQ

Frequently Asked Questions — AI Video Generation API

Verified answers reflecting live catalog models, pricing multipliers, and platform behavior.

Which AI video models are available on E2X?
E2X serves 20 video endpoints across five model families: Google Veo 3.1 Fast, Google Omni Flash, Google Omni 1.1 Flash, Google Omni 1.2 Flash, and ByteDance Seedance 2.0 Mini.
What is the cheapest per-second AI video generation rate on E2X?
Google Veo 3.1 Fast costs $0.01/s silent ($0.015/s default with audio) at 720p/1080p on text, image, and reference endpoints. Google Omni 1.2 Flash starts at $0.0174/s at 360p ($0.058/s default at 720p).
Which video capabilities does one E2X API key unlock?
Depending on model family, E2X supports text-to-video, image-to-video, reference-to-video, start-end-frame-to-video, plus video-edit and video-extend on google/omni-1.2-flash.
Why does Google Omni 1.1 Flash show "—" in the fal.ai comparison column?
Some catalog variants such as google/omni-1.1-flash do not carry a published competitor price benchmark (officialCostPerRequest is null), so the comparison table intentionally renders "—" rather than guessing an external rate.
How do I upload input images or source videos larger than a few megabytes?
Call POST /v1/uploads/presign to obtain a signed Cloudflare R2 upload URL (up to 10 MB for images in JPEG/PNG/WEBP/GIF and up to 100 MB for videos in MP4/WEBM), then pass the resulting URL into your job input.
Should production pipelines poll GET /v1/jobs/:jobId or use webhooks?
Both work with identical job output payloads. Passing an HTTPS webhookUrl eliminates polling loops and delivers HMAC-SHA256 signed completion events with up to 5 retry attempts.