segments

Generate Segment Assets Endpoint

Generate a project's segment assets — images, clips, overlays and fetched B-roll / real photos.

With no targets it fills gaps: every asset not yet generated (or stale, or failed) and not already generating, within asset_scope, outside segments being rewritten. Named targets — assets (segment asset ids, each with optional model / settings / editable_sections, saved to the asset's prompt editor) or segment_numbers — run exactly those, re-rendering finished ones. A real photo placed over a segment's image re-fetches only when its asset id is named. dry_run returns the count and credit estimate without queueing.

post/segments/generate-all

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/segments/generate-all
  • Auth: HTTP bearer

Request body

project_idstring required
segment_numbersinteger[] nullable
asset_scope'all' | 'no_clips' | 'clips_only'
dry_runboolean

Response

Successful Response

statusstring required
asset_countinteger required
estimated_creditsinteger required
segment_countinteger required
available_creditsinteger nullable
video_asset_countinteger nullable
video_creditsinteger nullable

Changes

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