Generate

Estimate cost for a generation

Changed on

Alias of POST /v2/generations/estimate.

post/v2/generate/estimate-cost

Request

  • Base URL
    https://api.sync.so
  • Auth
    API key in header x-api-key

Request body

modelstring required
durationnumber required
fpsnumber

Source video frame rate. When omitted, credit-billed organizations are quoted at 25, the rate generation admission holds credits at when the source frame rate cannot be read; other organizations at 30.

workflow'lipsync' | 'translate-and-dub'

Omit for lip-sync only. translate-and-dub includes dubbing and lip-sync, estimated using the source duration. Actual output duration may differ.

Response

Estimated cost

estimatedFrameCountnumber required
estimatedGenerationCostnumber required
estimatedCreditsnumber nullable required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status