Source: https://01router.com/docs/models/recraft-v4/quote Base URL: https://01router.com/api/v1 # Recraft V4 · 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: [ "recraft-v4" ] | | 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 | | | | input.aspect_ratio | enum | no | | default: "1:1"; options: [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3" ] | ## 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": "recraft-v4", "input": { "prompt": "A cinematic landscape at sunrise.", "aspect_ratio": "1:1" } }' ``` ## 200 · application/json ```json { "model": "recraft-v4", "type": "image", "input": { "prompt": "A cinematic landscape at sunrise.", "aspect_ratio": "1:1" }, "providers": [ { "provider": "01router", "provider_name": "01Router", "unit": "second", "quantity": 5, "price_usd": 1, "original_price_usd": null, "credits": 100 } ], "unavailable": [] } ```