create_bulk_job
Batch-process assets in one job: manage tags, update metadata, organize into groups, run AI, or delete/restore in bulk.
Instructions
Create a bulk job for batch operations on assets. Supports multiple operation types:
Tag management: use tag_names + tag_mode (add/remove/replace)
Metadata updates: use description + description_mode (set/append/prepend), rating, rights_package_id
Organization: use add_asset_group_id + add_asset_group_type (Collection/Lightbox/StorageFolder)
AI processing: use run_custom_meta_field_ids + cmf_overwrite_mode (skip/overwrite)
Bulk actions: use destroy_all, restore_all, or generate_alt_text
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | No | Rating value (0-5) | |
| tag_mode | No | Tag operation mode | |
| asset_ids | Yes | Asset IDs to process | |
| tag_names | No | Tag names to add/remove/replace | |
| custom_meta | No | Custom meta field values to set (keyed by field name) | |
| description | No | Description text to set/append/prepend | |
| destroy_all | No | Delete all specified assets | |
| restore_all | No | Restore all specified assets from trash | |
| rights_status | No | Rights status code | |
| rerun_auto_tag | No | Re-run auto-tagging (super-admin only) | |
| description_mode | No | Description operation mode | |
| rename_preset_id | No | Rename Preset ID to apply | |
| generate_alt_text | No | Generate alt text using AI | |
| rights_package_id | No | Rights Package ID to assign | |
| add_asset_group_id | No | ID of Collection/Lightbox/StorageFolder to add assets to | |
| cmf_overwrite_mode | No | Whether to overwrite existing values when running AI | |
| rename_custom_text | No | Custom text token value for rename | |
| rename_global_start | No | Global starting number across the batch | |
| rename_start_number | No | Per-asset starting number for sequence tokens | |
| add_asset_group_type | No | Type of asset group | |
| rename_custom_text_2 | No | Second custom text token value for rename | |
| remove_asset_group_id | No | ID of Collection/Lightbox to remove assets from | |
| remove_asset_group_type | No | Type of asset group to remove from | |
| run_custom_meta_field_ids | No | Custom Meta Field IDs to run AI on | |
| alt_text_generation_prompt | No | Custom prompt for alt text generation | |
| rename_duplicate_resolution | No | How to resolve duplicate filenames |