Universal LLM API Management

Quote a generation request

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.

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

Request body

modality'video' | 'image' | 'audio' | 'sfx' | 'music' required
providerstring nullable

Use 'oneinfer' for public model routing

modelstring required
resolutionstring nullable

Video resolution

aspect_ratiostring nullable

Video aspect ratio

durationinteger nullable

Video length in seconds

generate_audioboolean nullable

Video with generated audio

input_video_secondsnumber

Length of a source video

input_image_countinteger

Start frames or reference images

sizestring nullable

Image size, or an exact OpenRouter video size

qualitystring nullable

Image quality

textstring nullable

Text to speak

duration_secondsnumber nullable

Audio length for transcription, sound effects or per-minute speech

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.