curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "google/gemini-omni-1.1-flash/image-to-video",
"input": {
"image_urls": [
"https://example.com/image.png"
],
"prompt": "A quiet forest under soft morning light, with natural detail.",
"resolution": "720p",
"duration": 8,
"aspect_ratio": "16:9"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-example",
"status": "running",
"created_time": "2026-09-10T08:00:00"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Request timeout{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Google
Gemini Omni 1.1 Flash 图生视频
Gemini Omni 1.1 Flash API 可让静态图片动起来,通过文字指引展开短视频场景,输出最高 4K。
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "google/gemini-omni-1.1-flash/image-to-video",
"input": {
"image_urls": [
"https://example.com/image.png"
],
"prompt": "A quiet forest under soft morning light, with natural detail.",
"resolution": "720p",
"duration": 8,
"aspect_ratio": "16:9"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-example",
"status": "running",
"created_time": "2026-09-10T08:00:00"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Request timeout{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}- 提交后会返回
task_id。如果提供了callback_url,当任务状态变为finished或failed时,系统会向callback_url发送 POST 请求。 - 无论是否提供
callback_url,都可以通过统一的查询任务状态接口获取结果。
模型
- google/gemini-omni-1.1-flash/image-to-video - 根据输入图片生成视频。
功能
- 根据一张或两张输入图片生成视频。
- 输出分辨率可选
360p、720p、1080p、4k。 - 支持横屏(
16:9)和竖屏(9:16)画面。
时长选项
- 4、6、8、10 秒 - 将
duration设为其中一个值。默认:8 秒。
高级参数
model 和可选的 callback_url 放在请求根级,下列参数放在 input 中。
只传本工作流支持的 input 字段。不支持的 input 字段会在扣除积分前被拒绝。输入 URL 必须使用 HTTP(S)、包含主机名,且不能内嵌凭证。
提示词
prompt:必填。描述场景和期望的运动。- 传入时提示词不能为空白。最大长度:20,000 个字符。
图片 URL
image_urls:必填。提供 1-2 个图片 URL。- 图片必须可公开访问且可直接下载。
分辨率
resolution:360p、720p、1080p、4k。默认:720p。
宽高比
aspect_ratio:16:9、9:16。默认:16:9。
定价
价格取决于所选模型及相关输出设置。当前费率请查看 Vidgo 仪表盘。 积分在提交时扣除,任务失败时退还。授权
使用 VIDGO_API_KEY。
请求体
application/json