# Regenerate All Captions Regenerate captions for all images in dataset. This action is crucial after the user updates the caption_prefix, and then it's recommended to regenerate all the captions of all images, to have full compatibility with the new caption_prefix. This is an asynchronous operation. Once this endpoint is called, Get Dataset by ID should be sampled until the captions_update_status changes to 'completed'. Endpoint: PUT /tailored-gen/datasets/{dataset_id}/images ## Path parameters: - `dataset_id` (string, required) Dataset ID ## Header parameters: - `api_token` (string, required) ## Response 202 fields (application/json): - `id` (integer) Unique identifier for the dataset - `project_id` (integer) Associated project ID - `name` (string) Dataset name - `caption_prefix` (string) Text automatically prepended to all image captions in the dataset. Each image caption should naturally continues this prefix. A default prefix is automatically created but can be modified, and this same prefix is later used as the default generation prefix during image generation. - `status` (string) Status of the dataset Enum: "draft", "completed" - `captions_update_status` (string) Status of captions update process Enum: "empty", "in_progress", "completed" - `created_at` (string) Timestamp when the dataset was created - `updated_at` (string) Timestamp when the dataset was last updated