Source: https://01router.com/zh/docs/models/wan-2.7/model-detail Base URL: https://01router.com/api/v1 # Wan 2.7 · 查询单个模型 模型对象包含 slug、name、type、vendor、params 和 providers。供应商条目包含其实际参数和价格档位。 `GET /api/v1/models/{slug}` 公开接口 · 无需 API Key ## 输入参数 | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | slug | string · path | yes | 模型目录中的 slug;项目密钥也可使用项目自定义的模型 slug。 | options: [ "wan-2.7" ] | ## 输出字段 | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | slug | string | — | 模型目录中的 slug;项目密钥也可使用项目自定义的模型 slug。 | | | params | array | — | 参数定义:name、type、required、default、options,以及已配置的 min、max、maxItems、maxLength。 | | | providers | array | — | 可用供应商、各自的参数约束及公开价格档位。 | | ## cURL ```bash curl 'https://01router.com/api/v1/models/wan-2.7' ``` ## 200 · application/json ```json { "slug": "wan-2.7", "name": "Wan 2.7", "type": "video", "vendor": "Alibaba", "description": "Wan 2.7: reliable Tongyi Wanxiang video with first/last-frame control, 2–15 s, 720p/1080p.", "tags": [ "text-to-video", "image-to-video" ], "coverUrl": "", "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "negative_prompt", "type": "string", "label": "Negative prompt" }, { "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": 2, "max": 15, "default": 5 }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "720p", "1080p" ], "default": "720p" }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "16:9", "9:16", "1:1", "4:3", "3:4" ], "default": "16:9" }, { "name": "seed", "type": "integer", "label": "Seed", "min": 0, "max": 2147483647 } ], "providers": [ { "provider": "fal", "providerName": "fal.ai", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "negative_prompt", "type": "string", "label": "Negative prompt" }, { "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": 2, "max": 15, "default": 5 }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "720p", "1080p" ], "default": "720p" }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "16:9", "9:16", "1:1", "4:3", "3:4" ], "default": "16:9" }, { "name": "seed", "type": "integer", "label": "Seed", "min": 0, "max": 2147483647 } ], "prices": [ { "unit": "second", "conditions": { "resolution": "1080p" }, "priceMicros": 135000, "originalMicros": 150000, "credits": 14 }, { "unit": "second", "conditions": { "resolution": "720p" }, "priceMicros": 90000, "originalMicros": 100000, "credits": 9 } ] }, { "provider": "replicate", "providerName": "Replicate", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "negative_prompt", "type": "string", "label": "Negative prompt" }, { "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": 2, "max": 15, "default": 5 }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "720p" ], "default": "720p" }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "16:9", "9:16", "1:1", "4:3", "3:4" ], "default": "16:9" }, { "name": "seed", "type": "integer", "label": "Seed", "min": 0, "max": 2147483647 } ], "prices": [ { "unit": "second", "conditions": { "resolution": "720p" }, "priceMicros": 90000, "originalMicros": 100000, "credits": 9 } ] }, { "provider": "wavespeed", "providerName": "WaveSpeedAI", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "negative_prompt", "type": "string", "label": "Negative prompt" }, { "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": 2, "max": 15, "default": 5 }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "720p", "1080p" ], "default": "720p" }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "16:9", "9:16", "1:1", "4:3", "3:4" ], "default": "16:9" }, { "name": "seed", "type": "integer", "label": "Seed", "min": 0, "max": 2147483647 } ], "prices": [ { "unit": "second", "conditions": { "resolution": "720p" }, "priceMicros": 90000, "originalMicros": 100000, "credits": 9 }, { "unit": "second", "conditions": { "resolution": "1080p" }, "priceMicros": 135000, "originalMicros": 150000, "credits": 14 } ] }, { "provider": "apimart", "providerName": "APIMart", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "negative_prompt", "type": "string", "label": "Negative prompt" }, { "name": "duration", "type": "integer", "label": "Duration (s)", "min": 2, "max": 15, "default": 5 }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "720p", "1080p" ], "default": "720p" }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "16:9", "9:16", "1:1", "4:3", "3:4" ], "default": "16:9" }, { "name": "seed", "type": "integer", "label": "Seed", "min": 0, "max": 2147483647 } ], "prices": [ { "unit": "second", "conditions": { "resolution": "1080p" }, "priceMicros": 98640, "originalMicros": 109600, "credits": 10 }, { "unit": "second", "conditions": { "resolution": "720p" }, "priceMicros": 59760, "originalMicros": 66400, "credits": 6 } ] }, { "provider": "evolink", "providerName": "EvoLink", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "negative_prompt", "type": "string", "label": "Negative prompt" }, { "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": 2, "max": 15, "default": 5 }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "720p", "1080p" ], "default": "720p" }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "16:9", "9:16", "1:1", "4:3", "3:4" ], "default": "16:9" }, { "name": "seed", "type": "integer", "label": "Seed", "min": 0, "max": 2147483647 } ], "prices": [ { "unit": "second", "conditions": { "resolution": "1080p" }, "priceMicros": 108000, "originalMicros": 120000, "credits": 11 }, { "unit": "second", "conditions": { "resolution": "720p" }, "priceMicros": 72000, "originalMicros": 80000, "credits": 8 } ] }, { "provider": "atlascloud", "providerName": "AtlasCloud", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "negative_prompt", "type": "string", "label": "Negative prompt" }, { "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": 2, "max": 15, "default": 5 }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "720p" ], "default": "720p" }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "16:9", "9:16", "1:1", "4:3", "3:4" ], "default": "16:9" }, { "name": "seed", "type": "integer", "label": "Seed", "min": 0, "max": 2147483647 } ], "prices": [ { "unit": "second", "conditions": { "resolution": "720p" }, "priceMicros": 90000, "originalMicros": 100000, "credits": 9 } ] }, { "provider": "vercel", "providerName": "Vercel AI Gateway", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "negative_prompt", "type": "string", "label": "Negative prompt" }, { "name": "duration", "type": "integer", "label": "Duration (s)", "min": 2, "max": 15, "default": 5 }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "720p", "1080p" ], "default": "720p" }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "16:9", "9:16", "1:1", "4:3", "3:4" ], "default": "16:9" }, { "name": "seed", "type": "integer", "label": "Seed", "min": 0, "max": 2147483647 } ], "prices": [ { "unit": "second", "conditions": { "resolution": "720p" }, "priceMicros": 90000, "originalMicros": 100000, "credits": 9 }, { "unit": "second", "conditions": { "resolution": "1080p" }, "priceMicros": 135000, "originalMicros": 150000, "credits": 14 } ] } ], "fromMicros": 59760, "fromOriginalMicros": 66400, "fromUnit": "second" } ```