---
search:
  tags:
    - 3D
    - POST
seo:
  description: >-
    Estimates the price and checks available supply for a 3D request. Creates…
    Reference for the POST /v1/3d/quotes endpoint in the Yir Standard Async AIGC
    API.
sidebar:
  label: Quote a 3D job
  badge: POST
title: Quote a 3D job
type: openapi-operation
---
Estimates the price and checks available supply for a 3D request. Creates no job and charges nothing.

`POST /v1/3d/quotes`

**Request body** (`application/json`, required)

- `max_cost` (any) — Submit-only. A quote ignores any value and reports max\_cost in parameter\_notices.
- `webhook_url` (any) — Submit-only. A quote ignores any value and reports webhook\_url in parameter\_notices.
- `billing_mode` (ActualBillingMode) — Legacy compatibility field. Omit for new requests. When retrying an existing idempotency key, preserve its original request including this field. Explicit consent to the authoritative actual cost of every upstream-billed attempt of the Job, without a max\_cost cap. Eligible channels must provide authoritative task-level charges. Automatic routing is supported; routing.only is optional and, when supplied, remains binding. Cannot be combined with max\_cost. Insufficient wallet funds become Job debt repaid by future manual recharge; outstanding debt blocks new Jobs. Every attempt the upstream actually billed is charged to the user, including failed and non-winning ones; attempts the upstream did not bill, and Yir's own delivery failures or outcome timeouts, are not charged. Omit for the default contract: balance is not frozen, each attempt checks the live balance against its route estimate, each upstream-billed attempt is charged at the authoritative upstream amount after the managed discount, and an explicit max\_cost caps the Job's total charge.
- `model` (string, required) — 3D model ID or alias listed by GET /v1/models. An unknown or retired model returns 400 YIR\_INVALID\_REQUEST with retryable false.
- `input` (Standard3DTextInput | Standard3DImageInput | Standard3DMultiviewInput, required)
- `routing` (RoutingOverride) — Request-scoped routing intent. only is an unordered Provider allowlist; selection and fallback stay within this set and within any channel restrictions on the API Key's routing profile. 'official' is accepted as an alias for the model's official provider channel in both only and variants (normalized before execution). A single item supports targeted testing. Custom order is not supported. preference and fallback remain optional.
- `parameters` (Standard3DParameters) — Optional 3D parameters; omitted fields take the model defaults and a model accepts only the values its contract declares. Every Job delivers one glb file.

Request body example:

```json
{
  "model": "hitem3d/hi3d-v3.0",
  "input": {
    "type": "image",
    "references": [
      {
        "role": "reference_image",
        "url": "https://example.com/chair.png"
      }
    ]
  },
  "parameters": {
    "texture": "standard",
    "pbr": false
  }
}
```

**Responses**

- `200` — Current advisory quote
- `400`
- `401`
- `422`
- `429` — Too many Jobs are in progress, or the API key exceeded its per-minute request rate (YIR\_RATE\_LIMITED).
- `503`

Response example, 200:

```json
{
  "parameter_notices": [
    {
      "name": "string",
      "disposition": "ignored",
      "reason": "channel_parameter_unsupported",
      "message": "string"
    }
  ],
  "billing_mode": "actual",
  "parameter_handling_may_vary": true,
  "supply": {
    "available": true,
    "issues": [
      "no_matching_supply"
    ]
  },
  "object": "quote",
  "model": "string",
  "operation": "generate_image",
  "input_mode": "text",
  "parameters": {
    "size": "string",
    "quality": "string",
    "fps": 1,
    "duration": 1,
    "resolution": "string",
    "aspect_ratio": "string",
    "generate_audio": true,
    "dynamic_range": "hdr",
    "instrumental": true,
    "lyrics_optimizer": true,
    "voice": "string",
    "n": 1,
    "max_images": 2
  },
  "currency": "USD",
  "expires_at": 1,
  "input_duration_source": "declared",
  "expected_amount": "string",
  "primary": {
    "kind": "estimate",
    "amount": "string",
    "estimate": {
      "scope": "output_only",
      "output_tokens": 1,
      "output_megapixels": 1,
      "quality": "string",
      "aspect_ratio": "string"
    }
  },
  "official": {
    "kind": "estimate",
    "amount": "string",
    "estimate": {
      "scope": "output_only",
      "output_tokens": 1,
      "output_megapixels": 1,
      "quality": "string",
      "aspect_ratio": "string"
    }
  },
  "price_difference_percent": {
    "min": 0,
    "max": 0,
    "reference_amount_micros": 0
  }
}
```
