Omni Flash

谷歌视频生成模型系列,可根据文本提示词或参考图生成短片,针对快速出片进行了优化。

文本生成视频起$0.083参考图生成视频起$0.083
定价起价 $0.083/次请求
延迟平均约 240 秒
分辨率4K/1080P/720P
最适合video, google, high-fidelity

参数

预估费用

价格 →
此模型可为您节省 45%
每 second 基础成本$0.15
折扣-45%
您的总计$0.083
每次请求可节省 $0.068

登录以运行模型

Output Preview

Ready

No output yet

Run the model to see generated results.

示例输出

API 示例— 当前参数

SDK 与开发包 →
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.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)

价格明细

按时长和分辨率估算每次生成的成本。您只需为实际运行的部分付费。

价格 →
时长
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
探索替代方案

相关模型

探索适用于 文本生成视频 的其他 AI 模型

视频
Googlegoogle新

Gemini Omni 1.2 Flash

Generate video from a text prompt with Gemini Omni 1.2 Flash. Supports resolutions from 360p to 4K and durations from 3 to 15 seconds.

  • video
  • google
  • high-fidelity
$0.10$0.058-42%/ 次请求
视频
ByteDancebytedance精选新

Seedance 2.0 Mini

在 E2X 上使用字节跳动 Seedance 2.0 Mini 生成 4 至 15 秒视频,480p 仅 $0.045/s,720p 仅 $0.09/s(享 75 折)。支持六种宽高比与原生同步音频。

  • video
  • text-to-video
  • bytedance
$0.06$0.045-25%/ 次请求
视频
Googlegoogle新

Gemini Omni 1.1 Flash

Generate video from a text prompt with Gemini Omni 1.1 Flash. Four output resolutions up to 4K and durations from 4 to 10 seconds.

  • video
  • google
  • high-fidelity
$0.15$0.09-40%/ 次请求
视频
Googlegoogle精选新

Veo 3.1 Fast

Google DeepMind 的视频生成模型,画面还原度高,风格多样。

  • video
  • google
  • veo
$0.10$0.01-90%/ 次请求
资源

博客

来自 E2X 团队的洞察、教程和更新。

查看全部