Source: https://01router.com/docs/models/grok-imagine-video-1.5/quote Base URL: https://01router.com/api/v1 # Grok Imagine Video 1.5 · Quote Same body as creating a generation. Returns every available provider sorted by price, plus the ones that cannot serve the request and why. `POST /api/v1/quote` Public · No API key ## Input parameters | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | model | string | yes | Model slug from the catalog. Project keys may use a project-specific model slug. | options: [ "grok-imagine-video-1.5" ] | | input | object | yes | Model-specific input object. See the selected model reference for required fields, defaults and limits. | | | provider | string | no | Optional provider slug. Omit for automatic routing; project settings may pin the provider. | | | project | string | no | Optional project ID. Use its published model catalog and routing configuration. | | | input.prompt | string | yes | | maxLength: 4096 | | input.image_url | string | no | Optional start image (image-to-video) | | | input.duration | integer | no | | default: 6; min: 1; max: 15 | | input.resolution | enum | no | | default: "720p"; options: [ "480p", "720p", "1080p" ] | | input.aspect_ratio | enum | no | Text-to-video only; image-to-video follows the source image. | default: "16:9"; options: [ "16:9", "4:3", "3:2", "1:1", "2:3", "3:4", "9:16" ] | ## Response fields | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | model | string | — | Model slug from the catalog. Project keys may use a project-specific model slug. | | | input | object | — | Model-specific input object. See the selected model reference for required fields, defaults and limits. | | | providers | array | — | Available providers sorted by price, with unit, quantity, price_usd, original_price_usd and credits. | | | unavailable | array | — | Rejected providers and the reason each cannot serve the request. | | ## cURL ```bash curl 'https://01router.com/api/v1/quote' \ -H "Content-Type: application/json" \ -d '{ "model": "grok-imagine-video-1.5", "input": { "prompt": "A cinematic landscape at sunrise.", "duration": 6, "resolution": "720p", "aspect_ratio": "16:9" } }' ``` ## 200 · application/json ```json { "model": "grok-imagine-video-1.5", "type": "video", "input": { "prompt": "A cinematic landscape at sunrise.", "duration": 6, "resolution": "720p", "aspect_ratio": "16:9" }, "providers": [ { "provider": "01router", "provider_name": "01Router", "unit": "second", "quantity": 5, "price_usd": 1, "original_price_usd": null, "credits": 100 } ], "unavailable": [] } ```