视频Google新增

Gemini Omni Flash

具有原生同步音频的多模态AI视频

model: "gemini-omni-flash"

API 文档代理文档

模式

一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。

模式选择方式典型价格
文本生成视频prompt
请求示例
{
  "model": "gemini-omni-flash",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$1.02
图像生成视频image_url
请求示例
{
  "model": "gemini-omni-flash",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$1.28
参考生成视频reference_images
请求示例
{
  "model": "gemini-omni-flash",
  "input": {
    "prompt": "a lighthouse at dusk",
    "reference_images": [
      "https://example.com/image.jpg",
      "https://example.com/image-2.jpg"
    ]
  }
}
$1.28
视频生成视频video_url
请求示例
{
  "model": "gemini-omni-flash",
  "input": {
    "prompt": "a lighthouse at dusk",
    "video_url": "https://example.com/video.mp4"
  }
}
$0.555

输入

必需

Describe the scene, motion, and any spoken or ambient audio

可选

Provide an image to animate, or leave empty for text-to-video. A public https URL, or an upload URL from POST /v1/uploads.

可选

Reference images (https URLs). Two or more images in total (with image_url) make a reference video: the subjects and style are carried into a new scene rather than animated from the first frame.

可选

Source video (https URL).

可选
8

Duration (seconds)

可选

Aspect Ratio

结果

示例输出

该模型的真实结果。运行它可在此处查看您的输出。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-omni-flash",
  "input": {
    "prompt": "Deep-sea longliner returning to port through dense morning fog, rust-streaked hull sitting low with a full hold, slow tilt up from the waterline where wake foam churns to the wheelhouse emerging from mist. Gulls wheel and drop through the grey air above. Documentary realism, desaturated palette, cold diffuse coastal light."
  }
}'