Skip to main content
POST
https://api.muvi.video
/
v1
/
jobs
/
estimate
Estimate Cost
curl --request POST \
  --url https://api.muvi.video/v1/jobs/estimate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>"
}
'
{
  "baseCostMicroCents": 123,
  "estimatedCostMicroCents": 123,
  "breakdown": [
    {}
  ],
  "hasDiscount": true,
  "discounted": {}
}

Authentication

This endpoint requires an API key with the check_status scope.
Authorization: Bearer YOUR_API_KEY

Request Body

model
string
required
The model slug to estimate costs for. Example: "google/veo-3.1-fast/text-to-video"
version
string
Optional model version. If omitted, the latest stable version is used.
input
object
Optional model-specific input parameters. Some models use input parameters (e.g. resolution, duration) for dynamic pricing calculations.

Response

baseCostMicroCents
number
The base cost of the job in micro-cents before any discounts.
estimatedCostMicroCents
number
The final estimated cost in micro-cents after applying any applicable discounts.
breakdown
array
Detailed cost breakdown by component.
hasDiscount
boolean
Whether a discount is applied to this estimate.
discounted
object
Discount details when hasDiscount is true. Contains the discount type and amount.

Examples

curl -X POST https://api.muvi.video/v1/jobs/estimate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/veo-3.1-fast/text-to-video",
    "input": {
      "prompt": "A cinematic drone shot of a mountain landscape at sunset",
      "duration": 10
    }
  }'

Example Response

{
  "baseCostMicroCents": 500000,
  "estimatedCostMicroCents": 400000,
  "breakdown": [
    {
      "component": "base_generation",
      "costMicroCents": 300000
    },
    {
      "component": "extended_duration",
      "costMicroCents": 200000
    }
  ],
  "hasDiscount": true,
  "discounted": {
    "type": "volume",
    "percentage": 20,
    "savedMicroCents": 100000
  }
}