Design Extension
td_design_extensionExtend a textile design outward by a gap on each side, growing swatches or motifs to full fabric width or edge while preserving style, colour, and texture. Saves result files to disk.
Instructions
Design Extension: extend the design outward by a gap on each side (0-10; not all four 0). Best for: growing a small swatch or centre motif outward in the same style, colour palette and texture, e.g. a swatch photo to full fabric width or a motif out to the fabric edge. Result files are saved to disk and their paths returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Output resolution in ppi (72-500). Omit to keep the image's own resolution. | |
| 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. | |
| top_gap | No | Top Gap 0-10; 0 leaves the edge untouched. Not all four gaps may be 0. Default 5. | |
| left_gap | No | Left Gap 0-10. Default 5. | |
| right_gap | No | Right Gap 0-10. Default 5. | |
| bottom_gap | No | Bottom Gap 0-10. Default 5. | |
| creativity | No | Creativity, shown to users as 60-100%; send it as a decimal, 0.6-1.0. How freely the AI may invent new content in the extended areas. Recommended 100%. | |
| 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. | |
| estimate_only | No | Only return the credit estimate; nothing is uploaded or charged. | |
| 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). | |
| unlimited_bundle | No | Request the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides). |