regenerate_image
Regenerate one image inside a specific section of a WebZum site. Creates a new version with a freshly AI-generated image for that section and reassembles.
Use the optional userMessage to steer the new image — "show a wider shot", "change the angle", "make it sunset lighting", etc.
Required: businessId, versionId, sectionId.
Returns { versionId, status: 'completed' | 'in_progress', ...extra }. If status is 'in_progress', poll get_site_status with the returned versionId every 5-10s until isComplete is true.
Concurrency: edits on the same businessId MUST be serial. Never fire parallel edit calls on the same site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sectionId | Yes | The sectionId whose image should be regenerated. | |
| versionId | Yes | The versionId to base this regeneration on. | |
| businessId | Yes | The site's businessId. | |
| userMessage | No | Optional steering for the new image (e.g. "wider shot", "sunset lighting"). | |
| assistantContext | No | Optional assistant context to accompany the userMessage. |