Source: https://01router.com/zh/docs/models/veo-3.1/quote Base URL: https://01router.com/api/v1 # Veo 3.1 · 报价 请求体与创建任务相同。返回按价格排序的可用供应商,以及无法处理该请求的供应商及原因。 `POST /api/v1/quote` 公开接口 · 无需 API Key ## 输入参数 | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | model | string | yes | 模型目录中的 slug;项目密钥也可使用项目自定义的模型 slug。 | options: [ "veo-3.1" ] | | input | object | yes | 模型专属的输入对象。必填字段、默认值和限制见对应模型文档。 | | | provider | string | no | 可选供应商 slug。不传时自动路由;项目配置可能固定供应商。 | | | project | string | no | 可选项目 ID,使用该项目公开的模型目录和路由配置。 | | | input.prompt | string | yes | | | | input.negative_prompt | string | no | | | | input.image_url | string | no | Optional start image (image-to-video) | | | input.end_image_url | string | no | | | | input.duration | enum | no | | default: 8; options: [ 4, 6, 8 ] | | input.resolution | enum | no | | default: "720p"; options: [ "720p", "1080p", "4k" ] | | input.aspect_ratio | enum | no | | default: "16:9"; options: [ "16:9", "9:16" ] | | input.generate_audio | boolean | no | | default: true | | input.seed | integer | no | | min: 0; max: 2147483647 | ## 输出字段 | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | model | string | — | 模型目录中的 slug;项目密钥也可使用项目自定义的模型 slug。 | | | input | object | — | 模型专属的输入对象。必填字段、默认值和限制见对应模型文档。 | | | providers | array | — | 按价格排序的可用供应商,包含 unit、quantity、price_usd、original_price_usd 和 credits。 | | | unavailable | array | — | 无法处理此请求的供应商及原因。 | | ## cURL ```bash curl 'https://01router.com/api/v1/quote' \ -H "Content-Type: application/json" \ -d '{ "model": "veo-3.1", "input": { "prompt": "A cinematic landscape at sunrise.", "duration": 8, "resolution": "720p", "aspect_ratio": "16:9", "generate_audio": true } }' ``` ## 200 · application/json ```json { "model": "veo-3.1", "type": "video", "input": { "prompt": "A cinematic landscape at sunrise.", "duration": 8, "resolution": "720p", "aspect_ratio": "16:9", "generate_audio": true }, "providers": [ { "provider": "01router", "provider_name": "01Router", "unit": "second", "quantity": 5, "price_usd": 1, "original_price_usd": null, "credits": 100 } ], "unavailable": [] } ```