---
title: "Quote a generation request"
method: POST
path: "/v1/ula/quote"
tags: ["Universal LLM API Management"]
---

# Quote a generation request

`POST /v1/ula/quote`

## Request

- Base URL: `https://api.oneinfer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oneinfer.ai/v1/ula/quote`
- Auth: HTTP bearer

Price a video, image, audio or sound-effect request with the code that charges it. Models that cannot be generated return unavailable_reason instead of a price.

## Request body

- QuoteRequest: A generation request to price. Defaults match the generation endpoints.
  - `modality` 'video' | 'image' | 'audio' | 'sfx' | 'music', required
  - `provider` string, nullable: Use 'oneinfer' for public model routing
  - `model` string, required
  - `resolution` string, nullable: Video resolution
  - `aspect_ratio` string, nullable: Video aspect ratio
  - `duration` integer, nullable: Video length in seconds
  - `generate_audio` boolean, nullable: Video with generated audio
  - `input_video_seconds` number: Length of a source video
  - `input_image_count` integer: Start frames or reference images
  - `size` string, nullable: Image size, or an exact OpenRouter video size
  - `quality` string, nullable: Image quality
  - `text` string, nullable: Text to speak
  - `duration_seconds` number, nullable: Audio length for transcription, sound effects or per-minute speech

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oneinfer/apis/oneinfer-apis.md) · [All operations](https://skmtc.dev/oneinfer/apis/oneinfer-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oneinfer/apis/oneinfer-apis/revisions/a49f22311a8f?raw)
