Skip to main content
POST
Calculate Price

Path Parameters

string
required
Model slug, e.g. dall-e-3, kling-v2.1

Body Parameters

object
Generation parameters (same as you’d pass to /generate). Used to compute variable pricing based on size, quality, duration, etc.
integer
default:"1"
Number of generations to calculate for.

Request Example

Response

Pricing Types

Always call this before generating expensive assets — video and HD images can cost significantly more than the base price.
See List Models for all available slugs.