generate_segments
ActiveTool of com.framesail/framesail
Render every actionable segment asset (images, video clips, overlays) across the project, in dependency order. THE most expensive call in the pipeline: ALWAYS dry_run=true first, show your user the estimate next to get_credit_balance, and wait for a fresh yes before the real run — prior blanket permission ("do the whole thing") does not cover this spend. Pass segment_numbers to render only a subset — e.g. segments 1-18 for the opening minute before committing to the full video. Safe to re-run: completed and currently-generating assets are skipped, so a second call only picks up new/failed work. Async — one job per asset; await_jobs until all complete.
Parameters schema
{
"type": "object",
"title": "generate_segmentsArguments",
"required": [
"project_id"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": false,
"description": "True returns the credit-cost estimate without rendering anything; ALWAYS run true first and get user approval before the real run"
},
"project_id": {
"type": "string",
"title": "Project Id",
"description": "Project ID, as returned by create_project or list_projects"
},
"segment_numbers": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
],
"title": "Segment Numbers",
"default": null,
"description": "1-based segment numbers (from get_segments) to render only a subset; omit to render every actionable asset in the project"
}
}
}Parent server
com.framesail/framesail
1/7 registries