Update generation parameters. Changing prompt or aspectRatio triggers automatic regeneration.
Request Body
prompt, 'string', 'New prompt (triggers regeneration)'],
[aspectRatio, 'string', 'New aspect ratio (triggers regeneration)'],
[flowId, 'string | null', 'Change flow association'],
[meta, 'object', 'Update custom metadata'],
]}
/>
Changing prompt or aspectRatio triggers a new generation. The image ID and URL remain the same — only the content changes.
Regenerate
Create a new image using the exact same parameters. Useful for getting a different result or recovering from failures.
Example Request
Delete Generation
Delete a generation and its output image. Images with project aliases are preserved.
Example Request
Response
>
);
}