Source: https://01router.com/zh/docs/models/ideogram-4.5/model-detail Base URL: https://01router.com/api/v1 # Ideogram 4.5 · 查询单个模型 模型对象包含 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: [ "ideogram-4.5" ] | ## 输出字段 | 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/ideogram-4.5' ``` ## 200 · application/json ```json { "slug": "ideogram-4.5", "name": "Ideogram 4.5", "type": "image", "vendor": "Ideogram", "description": "Ideogram 4.5: best-in-class typography for posters, logos and graphic design.", "tags": [ "text-to-image", "image-edit", "typography" ], "coverUrl": "", "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "image_urls", "type": "images", "label": "Reference images", "description": "Optional — switches to image editing", "maxItems": 1 }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3" ], "default": "1:1" }, { "name": "quality", "type": "enum", "label": "Quality", "options": [ "low", "medium", "high" ], "default": "medium" }, { "name": "num_images", "type": "integer", "label": "Images", "min": 1, "max": 4, "default": 1 }, { "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": "image_urls", "type": "images", "label": "Reference images", "description": "Optional — switches to image editing", "maxItems": 1 }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3" ], "default": "1:1" }, { "name": "quality", "type": "enum", "label": "Quality", "options": [ "low", "medium", "high" ], "default": "medium" }, { "name": "num_images", "type": "integer", "label": "Images", "min": 1, "max": 4, "default": 1 }, { "name": "seed", "type": "integer", "label": "Seed", "min": 0, "max": 2147483647 } ], "prices": [ { "unit": "image", "conditions": { "quality": "low" }, "priceMicros": 27000, "originalMicros": 30000, "credits": 3 }, { "unit": "image", "conditions": { "quality": "medium" }, "priceMicros": 54000, "originalMicros": 60000, "credits": 6 }, { "unit": "image", "conditions": { "quality": "high" }, "priceMicros": 198000, "originalMicros": 220000, "credits": 20 } ] } ], "fromMicros": 27000, "fromOriginalMicros": 30000, "fromUnit": "image" } ```