API 文档接口参考
Gemini Omni Flash 1.1 · 查询单个模型
模型对象包含 slug、name、type、vendor、params 和 providers。供应商条目包含其实际参数和价格档位。
GET
/api/v1/models/{slug}公开接口 · 无需 API Key此模型使用的接口
POST
/generations创建生成任务GET/generations/{id}获取结果POST/generations/{id}/cancel取消任务POST/quote报价GET/models/{slug}查询单个模型选择供应商可查看其实际参数限制。自动路由会选择支持所传参数的供应商。示例包含默认值和必填输入,请将示例媒体地址替换为可访问的文件。
请求
cURL
curl 'https://01router.com/api/v1/models/gemini-omni-flash-1.1'输入参数
查询 / 路径参数slugstring · path必填模型目录中的 slug;项目密钥也可使用项目自定义的模型 slug。
可选值:"gemini-omni-flash-1.1"
响应示例
200 · application/json
{
"slug": "gemini-omni-flash-1.1",
"name": "Gemini Omni Flash 1.1",
"type": "video",
"vendor": "Google",
"description": "Google’s omni-modal Flash video model with native sound, 3–10 s, 360p up to 4K.",
"tags": [
"text-to-video",
"image-to-video",
"audio",
"4k"
],
"coverUrl": "",
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_url",
"type": "image",
"label": "First frame",
"description": "Optional start image (image-to-video)"
},
{
"name": "end_image_url",
"type": "image",
"label": "Last frame"
},
{
"name": "duration",
"type": "integer",
"label": "Duration (s)",
"min": 3,
"max": 10,
"default": 8
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"360p",
"720p",
"1080p",
"4k"
],
"default": "720p"
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"16:9",
"9:16"
],
"default": "16:9"
}
],
"providers": [
{
"provider": "fal",
"providerName": "fal.ai",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_url",
"type": "image",
"label": "First frame",
"description": "Optional start image (image-to-video)"
},
{
"name": "end_image_url",
"type": "image",
"label": "Last frame"
},
{
"name": "duration",
"type": "integer",
"label": "Duration (s)",
"min": 3,
"max": 10,
"default": 8
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"360p",
"720p",
"1080p",
"4k"
],
"default": "720p"
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"16:9",
"9:16"
],
"default": "16:9"
}
],
"prices": [
{
"unit": "second",
"conditions": {
"resolution": "720p"
},
"priceMicros": 90000,
"originalMicros": 100000,
"credits": 9
},
{
"unit": "second",
"conditions": {
"resolution": "1080p"
},
"priceMicros": 135000,
"originalMicros": 150000,
"credits": 14
},
{
"unit": "second",
"conditions": {
"resolution": "360p"
},
"priceMicros": 27000,
"originalMicros": 30000,
"credits": 3
},
{
"unit": "second",
"conditions": {
"resolution": "4k"
},
"priceMicros": 270000,
"originalMicros": 300000,
"credits": 27
}
]
},
{
"provider": "wavespeed",
"providerName": "WaveSpeedAI",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_url",
"type": "image",
"label": "First frame",
"description": "Optional start image (image-to-video)"
},
{
"name": "end_image_url",
"type": "image",
"label": "Last frame"
},
{
"name": "duration",
"type": "integer",
"label": "Duration (s)",
"min": 3,
"max": 10,
"default": 8
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"360p",
"720p",
"1080p",
"4k"
],
"default": "720p"
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"16:9",
"9:16"
],
"default": "16:9"
}
],
"prices": [
{
"unit": "second",
"conditions": {
"resolution": "720p"
},
"priceMicros": 90000,
"originalMicros": 100000,
"credits": 9
},
{
"unit": "second",
"conditions": {
"resolution": "1080p"
},
"priceMicros": 135000,
"originalMicros": 150000,
"credits": 14
},
{
"unit": "second",
"conditions": {
"resolution": "360p"
},
"priceMicros": 27000,
"originalMicros": 30000,
"credits": 3
},
{
"unit": "second",
"conditions": {
"resolution": "4k"
},
"priceMicros": 270000,
"originalMicros": 300000,
"credits": 27
}
]
},
{
"provider": "kie",
"providerName": "KIE AI",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_url",
"type": "image",
"label": "First frame",
"description": "Optional start image (image-to-video)"
},
{
"name": "end_image_url",
"type": "image",
"label": "Last frame"
},
{
"name": "duration",
"type": "integer",
"label": "Duration (s)",
"min": 3,
"max": 10,
"default": 8,
"options": [
4,
6,
8,
10
]
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"360p",
"720p",
"1080p",
"4k"
],
"default": "720p"
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"16:9",
"9:16"
],
"default": "16:9"
}
],
"prices": [
{
"unit": "request",
"conditions": {
"duration": "4"
},
"priceMicros": 283500,
"originalMicros": 315000,
"credits": 29
},
{
"unit": "request",
"conditions": {
"duration": "6"
},
"priceMicros": 378000,
"originalMicros": 420000,
"credits": 38
},
{
"unit": "request",
"conditions": {
"resolution": "4k",
"duration": "4"
},
"priceMicros": 661500,
"originalMicros": 735000,
"credits": 67
},
{
"unit": "request",
"conditions": {
"resolution": "4k",
"duration": "6"
},
"priceMicros": 756000,
"originalMicros": 840000,
"credits": 76
},
{
"unit": "request",
"conditions": {
"duration": "8"
},
"priceMicros": 472500,
"originalMicros": 525000,
"credits": 48
},
{
"unit": "request",
"conditions": {
"duration": "10"
},
"priceMicros": 567000,
"originalMicros": 630000,
"credits": 57
},
{
"unit": "request",
"conditions": {
"resolution": "4k",
"duration": "8"
},
"priceMicros": 850500,
"originalMicros": 945000,
"credits": 86
},
{
"unit": "request",
"conditions": {
"resolution": "4k",
"duration": "10"
},
"priceMicros": 945000,
"originalMicros": 1050000,
"credits": 95
}
]
},
{
"provider": "apimart",
"providerName": "APIMart",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_url",
"type": "image",
"label": "First frame",
"description": "Optional start image (image-to-video)"
},
{
"name": "end_image_url",
"type": "image",
"label": "Last frame"
},
{
"name": "duration",
"type": "integer",
"label": "Duration (s)",
"min": 3,
"max": 10,
"default": 8
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"360p",
"720p",
"1080p",
"4k"
],
"default": "720p"
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"16:9",
"9:16"
],
"default": "16:9"
}
],
"prices": [
{
"unit": "second",
"conditions": {
"resolution": "360p"
},
"priceMicros": 26640,
"originalMicros": 29600,
"credits": 3
},
{
"unit": "second",
"conditions": {
"resolution": "4k"
},
"priceMicros": 237600,
"originalMicros": 264000,
"credits": 24
},
{
"unit": "second",
"conditions": {
"resolution": "1080p"
},
"priceMicros": 118800,
"originalMicros": 132000,
"credits": 12
},
{
"unit": "second",
"conditions": {
"resolution": "720p"
},
"priceMicros": 79200,
"originalMicros": 88000,
"credits": 8
}
]
},
{
"provider": "evolink",
"providerName": "EvoLink",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_url",
"type": "image",
"label": "First frame",
"description": "Optional start image (image-to-video)"
},
{
"name": "duration",
"type": "integer",
"label": "Duration (s)",
"min": 3,
"max": 10,
"default": 8
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"720p"
],
"default": "720p"
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"16:9",
"9:16"
],
"default": "16:9"
}
],
"prices": [
{
"unit": "second",
"conditions": {
"resolution": "720p"
},
"priceMicros": 78210,
"originalMicros": 86900,
"credits": 8
}
]
}
],
"fromMicros": 26640,
"fromOriginalMicros": 29600,
"fromUnit": "second"
}响应仅用于说明结构;ID、用量、价格和结果以实际请求为准。
输出字段
slugstring模型目录中的 slug;项目密钥也可使用项目自定义的模型 slug。
paramsarray参数定义:name、type、required、default、options,以及已配置的 min、max、maxItems、maxLength。
providersarray可用供应商、各自的参数约束及公开价格档位。
给 AI 使用
把文档索引或完整接口文档交给 AI 编程助手,包含实时模型参数。