Color Matching: regenerate variants
td_color_matching_regenerateRegenerate full-size, color-matched design variants from chosen swatch-grid cells using the original image and grid task ID; returns saved file paths.
Instructions
Color Matching Auto step 2: full-size images for the chosen cells of a swatch grid. image = the ORIGINAL design used for the grid; give grid_task_id (from td_color_matching_swatch_grid) or grid_image_url, and bg_only as in the grid run. Best for: getting clean, full-size versions of the swatch-grid variants you liked. Result files are saved to disk and their paths returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the job and save the outputs (default true). false returns the task_id right after submit. | |
| image | Yes | Source image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side. | |
| bg_only | No | Change background colors only: use the grid run's value (its result's bg_only). Default false. | |
| output_dir | No | Folder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten. | |
| grid_task_id | No | task_id of the swatch grid job (preferred). | |
| estimate_only | No | Only return the credit estimate; nothing is uploaded or charged. | |
| grid_image_url | No | Or the grid image URL returned by the swatch grid job. | |
| review_settings | No | Omit it and the tool first asks whether to use the recommended settings or adjust them (unless the call already sets some). true: ask each setting one by one. false: run with the given or recommended settings without asking; pass it only after the user chose that. | |
| timeout_seconds | No | How long to wait for the job before returning its task_id (default 240). | |
| variant_numbers | Yes | Grid cell numbers to regenerate, e.g. [1, 3]. | |
| unlimited_bundle | No | Request the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides). | |
| grid_variant_count | No | How many variants the grid had (validates the numbers). |