Textile Designer AI

v0.1.2
ai.textile-designer/mcp Checked 3 days ago Published 1 month ago

Textile design AI: print-ready upscaling, seamless repeats, colourways, screen separation.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

login Connect to Textile Designer AI

Start the device-code login. Returns a URL and a code; the browser opens automatically unless open_browser is false. The server keeps polling in the background: call whoami to confirm, or set wait_seconds to block until linked.

ParameterTypeDescription
open_browserbooleanOpen the verification URL in the default browser. Default true.
wait_secondsintegerBlock up to this many seconds for the link to complete. Default 0 (return at once).

whoami Account status

Who is connected: email, organisation, credits, plan access, enabled tools. Reports a pending login if one is in progress.

boost_unlimited Boost Truly Unlimited

Truly Unlimited plans: Boost doubles today's budget and starts the runs parked in the slow lane now. It uses one of the designer's free monthly boosts or a purchased team boost. Only call it after the user explicitly says yes to using a boost in this conversation. When a boost is already on today it just starts the parked jobs (no boost spent); run_now: true asks for only that.

ParameterTypeDescription
run_nowbooleanOnly start the parked jobs now (when already boosted today); never spends a boost.

logout Disconnect

End the session on the server and forget the stored token.

job_status Job status

Status of a submitted job (processing / completed / failed / cancelled) with progress and result URLs. Optionally wait up to wait_seconds for it to finish.

ParameterTypeDescription
task_id *stringThe task_id returned when the job was submitted.
wait_secondsintegerPoll until done or this many seconds pass. Default 0.

download_result Download job outputs

Save a completed job's outputs to disk (images, unpacked zips, PSD, Channeling bundle). Use after job_status reports completed, or to fetch a job's files again.

ParameterTypeDescription
task_id *stringThe job's task_id.
kindstringResult kind. Inferred from the job when omitted.
namestringBase name for the files. Default: the task_id.
output_dirstringFolder to save into. Default: current directory.

list_tools List the design tools

Every design tool with a one-line description and its credit rule. Use this to answer 'what can you do' or to pick a tool; call describe_tool for a tool's modes.

describe_tool Describe a design tool

A tool's best use, how it compares with similar tools, what its settings do to the result, its outputs, its modes with what each option does, its settings (the website controls with ranges and recommended values), its credit rule, required inputs and result kind. Call it before running a tool with modes the user has not chosen, or when the user asks what a mode does.

ParameterTypeDescription
tool *stringThe tool name (td_... or the bare id).

guide Textile Designer AI guide

Answers how-to questions from the website's own documentation: which tool fits a goal (choose_tool), typical chains (workflows), how similar tools differ (compare, optionally for one tool), DPI / repeat / format basics (print_basics), where results go and why they can differ from the original (results), estimates, Truly Unlimited and Boost (credits_and_plans), and what to say about the AI models (models).

ParameterTypeDescription
topic *stringchoose_tool, workflows, compare, print_basics, results, credits_and_plans or models.
toolstringA td_ tool name: for compare (that tool's comparisons) or models (that tool's answer).

td_ready_to_print Ready to Print

Ready to Print: make a design print-ready by enlarging it 1-4x with AI detail. Best for: making a finished design print-ready: enlarging low-res buyer, archive or small-format files 1-4x with AI-filled detail and no pixelation, with your target DPI written into the file. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
creativitynumberCreativity, shown to users as 6-70% (Less 20%, More 45%, A lot 70%); send it as a decimal, 0.06-0.7. Lower stays closer to the original pixels. Recommended 35% (the website's Advanced default; its Bas…
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
output_formatstringOutput Format: png (PNG, Recommended): Lossless PNG file. jpeg (JPEG): Smaller JPEG file. Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes t…
promptstringPrompt: optional text to guide the enhancement, e.g. 'floral chiffon print, fine linework'.
resemblancenumberResemblance: how closely the result must match the input, 0-100 (Fresh 20, Similar 60, Same 100). Raise it if the result drifts. Default 60.
review_settingsbooleanOmit 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…
scale_factorintegerScale Factor 1-4: how much larger the output is. Default 2.
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_anti_blur Anti-Blur

Anti-Blur: sharpen a blurred design. Pro mode (recommended) or Legacy mode; files over 20 MB run in Legacy automatically. Best for: removing blur, noise and softness from a design or photo: out-of-focus or motion-blurred images, soft smartphone fabric photos, blurry social-media references. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
modestringMode: pro (Pro Mode, Recommended): The standard de-blur model; suits most images. legacy (Legacy Mode): A restoration engine for badly degraded images; faster than Pro. Files over 20 MB run in Legacy…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_super_scaler Super Scaler

Super Scaler: AI enlargement 2x/4x/8x with detail enhancement. Best for: rescuing low-resolution, blurred, compressed or old images (72 dpi archive JPEGs, small web images) by rebuilding lost detail and enlarging up to 8x for large-format printing. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
detail_enhancementstringDetail Enhancement Options: neutral (Pure Match, Recommended): Keeps detail faithful to the input. more_detailed (Prism Shift): Invents finer texture, at some risk of drifting from the original. Requi…
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
modestringAI Mode: mode_1 (Neutral, Recommended): Suits most images. mode_2 (Creative): Pushes harder on heavily blurred or degraded sources. Required: pass the mode the user named. If the user did not name one…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
output_sizestringOutput Size: 2x (2x, Recommended): About twice the input size. 4x (4x): About four times the input size; takes considerably longer. 8x (8x): About eight times the input size; the slowest option. Not a…
processing_sizestringQuality Mode: original_size (Keep original, Recommended): Processes the input at its own size. enlarge_to_1100px (Enlarge to 1100px): Pre-enlarges a small source before upscaling, which helps when the…
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_background_removal Background Removal

Background Removal: remove the background and replace it with solid white. Precision or Ultra model (Unlimited on Unlimited plans). Best for: isolating a subject or motif from its background: extracting photographed motifs to build a new pattern, clean product shots, or prepping a design for layering. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
maintain_image_sizebooleanMaintain image size (Precision only): keep the input resolution; output size (1K/2K/4K) follows the input; the cost does not change. Default false.
modelstringModel: precision (Precision, Recommended): Our most precise AI model for background removal, with the cleanest edges. standard (Ultra): Our alternative AI model for background removal; compare results…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_watermark_removal Watermark Removal

Watermark Removal: remove watermarks from a design. Standard or AI Pro model. Best for: cleaning watermarks, logos, stamped branding or overlaid text off images you have the rights to modify, e.g. a residual mark on a licensed stock file or old branding on archive designs. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
modelstringModel: standard (Standard, Recommended): Our standard watermark remover. Fast and reliable for most marks. ai_pro (AI Pro): Our AI model for tougher watermarks, logos and overlaid text. Costs more cre…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_repeat_set Repeat Set

Repeat Set: turn the design into a seamless repeat. Quick repeat types: block (recommended), half_brick, half_drop, mirror, step. Best for: turning a design into a seamless repeating tile for fabric, wallpaper or rotary printing, laid out as a block, half brick, half drop, mirror or step repeat. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
brush_horizontalintegerHorizontal Brush Size: width of the horizontal seam-blending zone, 0-20. Default 8.
brush_verticalintegerVertical Brush Size: width of the vertical seam-blending zone, 0-20. Default 8.
creativitynumberCreativity, shown to users as 60-100%; send it as a decimal, 0.6-1.0. How freely the AI may redraw the seam areas. Recommended 75%.
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
mirror_axisstringMirror: horizontal (Horizontal): Mirror side to side. vertical (Vertical): Mirror top to bottom. both (Both, Recommended): Mirror across both directions. Required: pass the mode the user named. If the…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
repeat_typestringQuick Repeat Type: block (Block Repeat, Recommended): A straight grid repeat. half_brick (Half Brick Repeat): Alternate rows shift sideways by half a tile. half_drop (Half Drop Repeat): Alternate colu…
review_settingsbooleanOmit 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…
step_axisstringStep offset: horizontal (Horizontal Offset, Recommended): 1/3 or 1/4 step across rows. Half Brick is 1/2. vertical (Vertical Offset): 1/3 or 1/4 step down columns. Half Drop is 1/2. Required: pass the…
step_fractionstringStep: 1/3 (1/3, Recommended): Each tile steps by a third. 1/4 (1/4): Each tile steps by a quarter. Required: pass the mode the user named. If the user did not name one, omit it and the tool returns th…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_design_extension Design Extension

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.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
bottom_gapnumberBottom Gap 0-10. Default 5.
creativitynumberCreativity, 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%.
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
left_gapnumberLeft Gap 0-10. Default 5.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
right_gapnumberRight Gap 0-10. Default 5.
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
top_gapnumberTop Gap 0-10; 0 leaves the edge untouched. Not all four gaps may be 0. Default 5.
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_border_outline Border Outline

Border Outline: trace the outline of the design. No settings. Best for: a clean outline-only version of a filled design: outline prints for screen printing or outline drawings for tech packs, without tracing by hand. High-contrast, well-defined art works best. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_object_layering Object Layering

Object Layering: split the design into a layered PSD, one layer per object. Result is a .psd file. Best for: splitting a design into editable layers by object or motif, e.g. to move flowers apart in Photoshop instead of redrawing. Works best with distinct motifs on a contrasting background. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_colour_layering Colour Layering

Colour Layering: separate the design into colour layers in a PSD. Advanced-Q Mode off (simple, recommended) or on (advanced); 2-30 layers or automatic. Result is a .psd file. Best for: turning flat-colour art into one editable layer per colour. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
is_automaticbooleanAutomatic color layer detection: let the AI pick the number of colour layers (n_clusters is then ignored). Default false.
modestringAdvanced-Q Mode: simple (Off, Recommended): The standard colour-separation algorithm (website default). advanced (On): Advanced quantization mode: enhanced colour processing with different algorithm s…
n_clustersintegerNumber of Color Layers 2-30, when not automatic. Default 5.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_style_transfer Style Transfer

Style Transfer: restyle the design with a library style or with the style of a second image (image_to_image). Best for: giving a finished design a new artistic surface look (e.g. Watercolor, Oil Painting) or the look of a second image, while the design layout stays intact. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
modestringMode: style_library (Image Style Transfer, Recommended): Restyle the source design with a named library style (style). image_to_image (Image to Image Style Transfer): Apply the look of a second image…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
stylestringStyle: watercolor (Watercolor), pastel_drawing (Pastel Drawing), oil_painting (Oil Painting), pencil_sketch (Pencil Sketch), paper_collage (Paper Collage), street_art (Street Art), japanese_ukiyoe (Ja…
style_imagestringimage_to_image: path or URL of the website's Source Image (the style donor) whose look is copied onto the design; the design (image) is the website's Target Image.
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_dress_to_design Dress to Design

Dress to Design: extract the print from a garment photo as a flat design. Modes: advanced_extraction (recommended), fine_detail, inspired_pattern, all_modes (one output per mode). 1-4 outputs. Best for: getting a flat, printable 2D design from a photo of a garment, mockup or outfit (worn by a person, on a mannequin or flat-lay). Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
advanced_remove_workbooleanRemove work (advanced_extraction only): also strip embroidery, zari, sequins and other surface work, reproducing only the base printed textile. Default false.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
model_typestringExtraction Model: advanced_extraction (Advanced, Recommended), fine_detail (Fine Detail), inspired_pattern (Inspired), all_modes (All Modes). Required: pass the mode the user named. If the user did no…
num_outputsintegerNumber of outputs (1-4, default 1). Number of Outputs. Ignored for all_modes. On a Truly Unlimited plan single modes make one image per run.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_channeling Channeling

Channeling: separate the design into print screens (spot channels). Returns a multichannel PSD (one channel per screen) plus a preview PNG. Free for a limited time; priced by the server. Best for: preparing a design for screen or rotary printing. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
blanketbooleanSolid ground under everything. Default false.
dpinumberPrint resolution (dpi) 36-2540. Default: the file's own dpi when it carries one in that range, else 300.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
inksScreens: an edited ink list from a previous Channeling result (the inks file in the saved bundle), as an array of {name, hex} or that JSON text. Names must be unique. Omit for a fresh suggestion.
n_clustersintegerNumber of screens 2-35 (the website offers up to 16). Default 12.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
trap_modestringTrap: auto (Auto, Recommended): Takes about 0.35 pt from the print resolution, which is what engravers use on rotary work. off (Off): Keeps every screen exactly to its edge, for artwork that is alread…
trap_pxintegerTrap width 1-6 px when trap_mode is manual (By hand). Default 2.
underbasenumberBase under every motif 0-100%. Default 0.
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_color_transfer Color Transfer

Color Transfer: recolour the source design with the palette of a second image. Best for: recolouring an existing design in the palette of another image, e.g. this season's trend colours or a buyer's brand colours, while keeping its structure and composition. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
palette_image *stringPath or URL of the image whose colours are transferred onto the source design.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_color_matching_extract_colors Color Matching: extract colours

Color Matching step 0: extract the design's palette as JSON (motif and background colours with hex, pantone and percentage). Pass its task_id as extract_task_id to the suggest, match-reference and swatch-grid tools; use the hexes with td_color_matching_replace. Best for: reading a design's motif and background colours (hex, Pantone TCX... Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_color_matching_suggest Color Matching: suggest colours

Color Matching Suggest: five palette suggestions for a market and palette type, from the design's extracted palette (extract_task_id or colors). Returns JSON plus mapping sets ready for td_color_matching_replace. Best for: getting trend-aware palette ideas for a target market and palette type. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
bg_onlybooleanChange background colors only. Default false.
colorsOr the extracted palette itself: the extract result JSON ({motif_colors, background_colors}), as an object or JSON text.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
extract_task_idstringtask_id of a td_color_matching_extract_colors run on this design (preferred): its palette is used.
marketstringMarket: global (Global), india (India), europe (Europe), north_america (North America), south_america (South America), asia_pacific (Asia Pacific), middle_east (Middle East), africa (Africa). Required…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
palette_typestringPalette type: dusky (Dusky), neon (Neon), pastel (Pastel), vibrant (Vibrant), muted (Muted), earthy (Earthy), cool (Cool), warm (Warm), mono (Mono), contrast (Contrast), bright (Bright), medium (Mediu…
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_color_matching_match_reference Color Matching: match reference colours

Color Matching Match from reference: recolour plans that match each reference image, from the design's extracted palette (extract_task_id or colors). Returns JSON plus mapping sets for td_color_matching_replace. Best for: matching the design's colours to the colour style of one or more reference images. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
reference_images *arrayReference images (paths or URLs) whose colours the design should take on; one result per reference.
colorsOr the extracted palette itself: the extract result JSON ({motif_colors, background_colors}), as an object or JSON text.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
extract_task_idstringtask_id of a td_color_matching_extract_colors run on this design (preferred): its palette is used.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_color_matching_swatch_grid Color Matching: swatch grid

Color Matching Auto step 1: one numbered grid image with num_options colour variants, from the design's extracted palette (extract_task_id or colors). Then call td_color_matching_regenerate with the task_id and the variant numbers you like. Best for: quickly previewing several colour variants of the design side by side (Auto mode). Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
bg_onlybooleanChange background colors only. Default false.
colorsOr the extracted palette itself: the extract result JSON ({motif_colors, background_colors}), as an object or JSON text.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
extract_task_idstringtask_id of a td_color_matching_extract_colors run on this design (preferred): its palette is used.
num_optionsintegerNumber of Outputs: variants in the grid 1-10 (website steps 1, 3, 5, 7, 10). Default 5.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
print_readybooleanPrint Ready: store input image resolution for print production. Default false.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_color_matching_regenerate Color Matching: regenerate variants

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.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
variant_numbers *arrayGrid cell numbers to regenerate, e.g. [1, 3].
bg_onlybooleanChange background colors only: use the grid run's value (its result's bg_only). Default false.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
grid_image_urlstringOr the grid image URL returned by the swatch grid job.
grid_task_idstringtask_id of the swatch grid job (preferred).
grid_variant_countintegerHow many variants the grid had (validates the numbers).
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_color_matching_replace Color Matching: replace colours

Color Matching Replace Color: swap specific colours in the design. mappings = one set of {from, to} hex pairs; sets = several alternative sets, one output each (max 15). Get the current hexes from td_color_matching_extract_colors. Best for: swapping specific design colours for exact new values. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
mappingsarrayOne mapping set: colours to replace and their new values.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
print_readybooleanPrint Ready: store input image resolution for print production. Default false.
review_settingsbooleanOmit 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…
setsarraySeveral mapping sets; each produces its own output.
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_vectorizer Vectorizer

Vectorizer: convert the design to vector. ready_for photoshop (png, tiff or eps = Sharp Edged File) or illustrator (svg with curve options, pdf or eps). Best for: turning flat-colour raster art (e.g. a JPEG logo or print) into vector you can recolour, resize and edit in Illustrator, or scale up for large-format printing without quality loss. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
allowed_curve_typesarrayCurve Types: line (Straight Lines): Allow straight lines in the SVG paths. quadratic_bezier (Simple Curves): Allow simple curves in the SVG paths. cubic_bezier (Complex Curves): Allow complex curves i…
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
formatstringOutput Format: png (PNG), tiff (TIFF), eps (EPS), svg (SVG, Recommended), pdf (PDF). Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to sho…
gap_filler_enabledbooleanSeamless Edges: fill hairline gaps between touching shapes so they print cleanly. Default true.
group_bystringShape Organization: none (No Grouping, Recommended): No grouping inside the SVG. color (By Color): Group shapes by colour. parent (By Parent): Group shapes by parent shape. layer (By Layer): Group sha…
line_fit_tolerancestringLine Quality: coarse (Rough): Curves follow the pixel edges most faithfully. medium (Balanced, Recommended): Balanced curve fitting. fine (Smooth): Smoother curves. superFine (Ultra Smooth): The smoot…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
ready_forstringVector file: photoshop (Photoshop-Ready Vector File): Raster-friendly output: PNG, TIFF or a Sharp Edged File (EPS). illustrator (Illustrator-Ready Vector File, Recommended): True vector output: SVG (…
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_3d_effect 3D Effect

3D Effect: add depth/relief to the design. similar (1-4 outputs) or same (keeps the design fixed, one output). Best for: turning a flat 2D textile design into a 3D look with depth, shadows and embossing, e.g. showing a buyer embossed printing without a physical sample. Clear, well-defined patterns work best. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
depth_levelstringDepth Level: low (Subtle Depth): Light embossing with minimal shadows. medium (Moderate Depth, Recommended): Balanced 3D effect with noticeable layers. high (Dramatic Depth): Strong 3D effect with pro…
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
num_outputsintegerNumber of outputs (1-4, default 1). Number of Outputs; only for similar. On a Truly Unlimited plan every run makes one image.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
similarity_modestringSimilarity Mode: similar (Similar Image, Recommended): Enhance while keeping the essence recognizable; may vary the motifs; 1-4 outputs. same (Same Image): Preserve the exact design, only add 3D effec…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_embroidery_effect Embroidery Effect

Embroidery Effect: render the design as embroidery. Stitch types: bandhani, kantha, chikankari, zardozi, phulkari, aari, satin, chain, cross, running, french_knot. 13 credits. Best for: previewing a design as realistic embroidery or Indian craftwork (e.g. Zardozi, Chikankari, Phulkari) before sampling. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
densitystringStitch Density: sparse (Sparse): Open stitching with visible base fabric. moderate (Moderate, Recommended): Balanced coverage, standard hand-embroidery. dense (Dense): Tightly packed, full thread cove…
depth_levelstringDepth Level: low (Subtle Depth): Gently raised with minimal shadows. medium (Moderate Depth, Recommended): Standard embroidery height with natural shadows. high (Dramatic Depth): Heavily raised, sculp…
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
stitch_typestringStitch Style: bandhani (Bandhani), kantha (Kantha), chikankari (Chikankari), zardozi (Zardozi), phulkari (Phulkari), aari (Aari / Kashida), satin (Satin Stitch, Recommended), chain (Chain Stitch), cro…
thread_thicknessstringThread Thickness: thin (Thin Thread): Fine, delicate stitching (1-2 strand). medium (Medium Thread, Recommended): Standard embroidery weight (3-4 strand). thick (Thick Thread): Bold, chunky stitching…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_fabric_texture_removal Fabric Texture Removal

Fabric Texture Removal: flatten the fabric weave/texture out of a photographed design. 1-4 outputs. Best for: turning a flat scan or photo of printed fabric into a clean digital design: removes the weave and surface texture while keeping the artwork and its colours, e.g. digitising an old swatch. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
num_outputsintegerNumber of outputs (1-4, default 1). On a Truly Unlimited plan every run makes one image.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_sketch_to_design Sketch to Design

Sketch to Design: colour a line sketch into a finished design, optionally in a named style. Best for: turning a sketch, line art or wireframe into a full-colour, detailed design, e.g. rough brainstorm sketches into production art. Clear, simple sketches with well-defined lines work best. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
promptstringDesign Description: what to colour and in what style, e.g. 'warm autumn palette, terracotta and mustard florals'.
review_settingsbooleanOmit 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…
stylestringSelect Style: watercolor (Watercolor), pastel_drawing (Pastel Drawing), oil_painting (Oil Painting), pencil_sketch (Pencil Sketch), paper_collage (Paper Collage), street_art (Street Art), japanese_uki…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_foil_separation Foil Separation

Foil Separation: build the foil layer for the design. Modes outline, foiling (recommended), dot, patch; with or without a vector EPS. Best for: making a foil-ready plate from a flat, high-contrast print design, as clean outlines, distressed foiling line art, dots or accent patches. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
avoid_negativesbooleanpatch mode: avoid negatives. Default false.
dot_intensitystringDots intensity: low (Low): Fewer / lighter dots. medium (Medium, Recommended): Medium dot intensity. high (High): Denser dots. Required: pass the mode the user named. If the user did not name one, omi…
dots_enabledbooleanpatch mode: Add dots (not with Only patch). Default false.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
foiling_enabledbooleandot mode, Add foil (not with Add outline). Default false.
modestringFoiling type: outline (Outline): Outline foiling type. foiling (Foiling, Recommended): Standard foiling type. dot (Dot): Dot foiling; optional Add outline or Add foil (one of them) and Dots intensity.…
only_patchbooleanpatch mode: Only patch. Default false.
outline_enabledbooleandot mode, Add outline (not with Add foil). Default false.
outline_thicknessintegerpatch mode Outline thickness 8-15 px (only without Only patch and Add dots). Default 11.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
patch_intensitystringPatch / Outline intensity: low (Low): Lighter patches. medium (Medium, Recommended): Medium patch intensity. high (High): Heavier patches. Required: pass the mode the user named. If the user did not n…
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
vectorizebooleanVectorize: also produce a vector EPS. Default true.
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_design_generation Design Generation

Design Generation: generate a new design from the source image plus a prompt (text_to_image, recommended), re-imagine it with a texture / colour palette (image_to_image), or repaint a masked area (inpaint). The website's Mood Board is not available here. Best for: creating a new design from your image plus a written prompt. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
aspect_ratiostringAspect Ratio: same_as_input (Same as input image, Recommended): Matches the source image: square (1:1), landscape (4:3) or portrait (3:4). 1:1 (1:1): Square output. 4:3 (4:3): Landscape output. 3:4 (3…
color_palettestringColor Palette: none (None, Recommended), Sunset Glow (Sunset Glow), Ocean Breeze (Ocean Breeze), Forest Mist (Forest Mist), Lavender Dreams (Lavender Dreams), Citrus Burst (Citrus Burst), Rainbow Spla…
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
mask_imagestringinpaint: the mask (path or URL), the same size as the image; white = area to change, black = keep.
modestringMode: text_to_image (Image+Text to Image, Recommended): Generates a new design from the source image plus a prompt. prompt is required. image_to_image (Image to Image): Re-imagines the source image wi…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
palette_colorsarrayimage_to_image: up to 20 hex colours used as the palette instead of a named color_palette.
promptstringPrompt (text_to_image, inpaint): describe the design to generate, or what to paint in the masked area (required in those modes).
review_settingsbooleanOmit 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…
texturestringTexture Type: none (None, Recommended), smooth (Smooth), rough (Rough), linen (Linen), corduroy (Corduroy), silky (Silky), metallic (Metallic), matte (Matte), glossy (Glossy), woven (Woven), knitted (…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_design_creation Design Creation

Design Creation: generate design variations from the source image. Variants: prime (recommended, 1-5 outputs), new (1-5), old (1-4), reference (1-5). Best for: generating fresh design variations from a reference image without writing prompts, e.g. filling gaps in a collection, building a style-consistent range or exploring concepts quickly. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
categorystringDesign Style: none (None, Recommended), Paisley (Paisley), Bandhani (Bandhani), Kanjeevaram (Kanjeevaram), Ikat (Ikat), Patola (Patola), Banarasi (Banarasi), Batik (Batik), Block Print (Block Print),…
cfg_scalenumberold, Design Scale 1-9 (only with a Design Style). Default 5.5 with a Design Style (5.6 without).
color_palettestringColor Palette. new: none, Sunset Glow, Ocean Breeze, Forest Mist, Lavender Dreams, Citrus Burst, Rainbow Splash, Cotton Candy, Deep Ocean. prime: none, light, dark, mono, dusky, contrast. Default none…
creativitynumberCreativity, shown to users as a percentage; send it as a decimal. new: 10-40% (0.1-0.4, recommended 30%, only with a Design Style). old: 10-95% (0.1-0.95, recommended 60%). Lower stays closer to the i…
custom_colorsarraynew, Custom Colors: up to 10 hex colours used as the palette (replaces color_palette).
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
keep_background_samebooleanprime, Keep same: Background (exact background colour). Default false.
keep_closer_to_imagebooleannew / reference, Keep closer to image: constrain deviation from the input. Default true for new, false for reference.
keep_motifs_samebooleanprime, Keep same: Motifs (same motif shapes and subjects). Default false.
keep_placement_samebooleanprime, Keep same: Placement (same layout and motif positions). Default false.
keep_style_samebooleanprime, Keep same: Style. Default true. At most 2 Keep same options: with more, Placement, then Motifs, then Background are cleared (website priority).
num_outputsintegerNumber of Outputs: 1-5 (old: 1-4). Default 1 (reference: 3). On a Truly Unlimited plan every run makes one image.
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
variantstringMode: prime (Prime, Recommended), new (New), old (Old), reference (Reference). Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them…
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_colourways Colourways

Colourways: generate colourway options for the design (6, 12, 24 or 48), optionally keeping up to 8 of its colours. grid true also makes a buyer sheet. Best for: a buyer wants the same print in other colours, or a range needs pastel, deep and dark stories from one bestseller. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
countintegerOptions to make: 6, 12 (default), 24 or 48 (1-50 accepted). Large designs allow at most floor(600 / megapixels); more drops to the largest that fits.
dpiintegerOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
fine_detailbooleanDelicate print: thin lines or pale motifs on a light ground. Default false.
gridbooleanAlso make a buyer sheet (every option on one page). Default true.
harmonystringColour story: contrast (Bold contrast, Recommended): Motif and ground far apart. family (Close family): Everything within one arc of the wheel. mono (One colour, many shades): One hue, separated by li…
locked_colorsarrayKeep these colours: up to 8 hex colours from the design (e.g. the ground or a brand colour), snapped to the design's nearest dominant colour. td_color_matching_extract_colors lists the design's colour…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
promptstringBrief for the colourist (max 4000 characters), e.g. 'SS27 Europe high street', 'AW26 menswear', 'Kids' nursery', 'Bridal and occasion', 'Middle-East luxury', 'Scandinavian minimal'.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
tone_rangestringMood: all (Surprise me, Recommended): Any tonal range. pastel (Fresh pastels): Light pastel tones. mid (Everyday mid tones): Mid tones. deep (Rich and deep): Deep, saturated tones. vivid (Bright and b…
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.

td_spec_board Spec Board

Spec Board: build a tech-pack style spec board from a garment photo. Give garment_type, or use Reference mode: a reference_image (an existing spec board) whose layout and sections are mimicked. Best for: turning a garment photo (saree, kurti, suit, lehenga, frock or gown) into a professional specification board for production. Result files are saved to disk and their paths returned.

ParameterTypeDescription
image *stringSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
estimate_onlybooleanOnly return the credit estimate; nothing is uploaded or charged.
garment_typestringGarment type: saree (Saree), kurti (Kurti), suit (Suit), lehenga (Lehenga), frock (Frock), gown (Gown), dupatta (Dupatta), all_over (All-over), shirt_tshirt (Shirt/T-shirt), western (Western). Require…
output_dirstringFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
reference_imagestringReference mode: a reference spec board (path or URL). When given, the output mimics its sections, layout and styling and garment_type is not used.
review_settingsbooleanOmit 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…
timeout_secondsintegerHow long to wait for the job before returning its task_id (default 240).
unlimited_bundlebooleanRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).
waitbooleanWait for the job and save the outputs (default true). false returns the task_id right after submit.