Quote a Yorai job
yorai_quotePrice a generation request before committing: preview credits, upTo, and line items without starting a job or holding credits. Free cost estimate for any model.
Instructions
Price a request without starting a job or holding credits. Returns credits, upTo and line items. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Generation type, e.g. text-to-image, image-to-video. Optional only if the model has one type. | |
| input | Yes | Model inputs. Use exact names/values from yorai_get_model. File inputs take file IDs from yorai_upload_file. | |
| model | Yes | Model slug, e.g. bytedance-seedance-2-5, z-image, nano-banana-2-lite |