Back to Models

Omni Flash

Google video generation family producing clips from text prompts or reference images, tuned for fast turnaround.

Reference to Videofrom$0.083Text to Videofrom$0.083
Pricingstarting $0.083/request
Latency~240 seconds average
Resolution4K/1080P/720P
Best forvideo, google, high-fidelity

Parameters

Estimated Cost

You save 45% on this model
Base cost per second$0.15
Discount-45%
Your Total$0.083
You save $0.068 per request

Sign in to run models

Output Preview

Ready

No output yet

Run the model to see generated results.

Sample Output

API Example— Current Parameters

generate.py
import requests

result = requests.post(
    'https://api.e2x.ai/v1/jobs/submit',
    headers={
        'Authorization': f'Bearer {API_KEY}',
        'Content-Type': 'application/json'
    },
    json={
  'model': 'google/omni-flash/text-to-video',
  'input': {}
}
)

Get Job— Poll for result

get_job.py
import time

job_id = result.json()['jobId']

while True:
    response = requests.get(
        f'https://api.e2x.ai/v1/jobs/{'{job_id}'}',
        headers={'Authorization': f'Bearer {'{API_KEY}'}'}
    )
    data = response.json()['data']

    if data['status'] == 'completed':
        print('Done!', data['outputs'][0]['url'])
        break
    elif data['status'] == 'failed':
        raise Exception(f"Job failed: {'{'}data['error']['message']{'}'}")

    time.sleep(2)

Pricing Breakdown

Estimated cost per generation by duration and resolution. You only pay for what you run.

Duration
4K
1080P
720P
4
$1.20
$0.90
$0.60
6
$1.80
$1.35
$0.90
8
$2.40
$1.80
$1.20
10
$3.00
$2.25
$1.50
Explore Alternatives

Related Models

Discover more AI models for Text to Video

View all models