Update segment prompts
update_segment_promptsSet one segment's final prompts VERBATIM — no LLM rewrite. The direct counterpart to update_segment_content: your text is written as-is to the segment's creative direction and to the matching asset configs the renderer reads. Asset statuses are untouched: an already-rendered asset stays complete, and generate_segments skips complete assets — so to see the edit rendered, call regenerate_segment_asset on that segment (the ONLY re-render path after a prompt edit). Continuation links, SFX, and overlays are untouched. Pass only the prompt(s) you want to change; media_queries edits a fetched segment's stock-search text the same way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID, as returned by create_project or list_projects | |
| image_prompt | No | New scene-image prompt (image segments; also the retrieval-miss fallback on real-photo segments). Empty leaves it unchanged. | |
| video_prompt | No | New motion/video prompt (video segments; also the retrieval-miss fallback on real b-roll). Empty leaves it unchanged. | |
| media_queries | No | New stock-search queries for a fetched-media segment (real b-roll / real photo). Replaces the search text verbatim; re-fetch an already-fetched clip with regenerate_segment_asset. Omit to leave the search unchanged. | |
| segment_number | Yes | 1-based segment number, as reported by get_segments | |
| start_frame_prompt | No | New start-frame prompt (generated video segments). Empty leaves it unchanged. |