generate

Estimate Segment Video

Quote one video generation without queueing it.

Video is the only job whose price varies with its subject — the clip has to cover the segment's narration, and a 15s segment costs three times a 5s one. A flat per-model figure would leave the Generate button enabled on a job the server then refuses, so the drawer gates on this instead. credits is exactly what queue_ai_job checks for the same (subject, model, settings).

Pure read: no ai_jobs row, no provider call, no credits touched.

post/generate/segment_video/estimate

Request

  • Base URL: https://api.framesail.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.framesail.com/generate/segment_video/estimate
  • Auth: HTTP bearer

Request body

subject_idstring required
modelstring required
settingsobject

Response

Successful Response

creditsinteger required
byokboolean required
clip_secondsinteger required
segment_secondsnumber required

Changes

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