# Create an automatic image from template — Product Templates Botize method — `producttemplates.template_to_image` (action). Select a template and indicate with which images, texts and labels you want each of the available spaces to be filled. This is an action: it runs as a step of a task. Several can be chained. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `mb_switch` *(boolean)* — Rules - `template` *(string, one of: "product_card_600x300" = Product (600x300 pixels); "product_card_600x600" = Product (600x600 pixels); "product_card_300x600" = Product (300x600 pixels); "fit_600x600" = Fit (600x600 pixels); "full_600x600" = Full (600x600 pixels); "titletopper_600x600" = Title Topper (600x600 pixels); "splitscreen_600x600" = Splite Screen (600x600 pixels); "xmas_600x300" = Xmas (600x300 pixels); "xmas_600x600" = Xmas (600x600 pixels); "xmas_300x600" = Xmas (300x600 pixels); "select_manual_value" = Other...)* — Template - `template_custom_value` *(string)* - `image_1` *(string)* — Image 1 (Background image) - `image_2` *(string)* — Image 2 - `text_1` *(string)* — Text 1 - `font_1` *(string, one of: ""; "BebasNeue-Regular" = BebasNeue-Regular; "helvetica" = Helvetica; "Poppins-Black" = Poppins-Black; "Poppins-BlackItalic" = Poppins-BlackItalic; "Sweet-Cupcake-demo" = Sweet Cupcake Demo; "NotoSansArabic-Regular" = Noto Sans Arabic Regular)* - `color_1` *(string)* - `text_2` *(string)* — Text 2 - `font_2` *(string, one of: ""; "BebasNeue-Regular" = BebasNeue-Regular; "helvetica" = Helvetica; "Poppins-Black" = Poppins-Black; "Poppins-BlackItalic" = Poppins-BlackItalic; "Sweet-Cupcake-demo" = Sweet Cupcake Demo; "NotoSansArabic-Regular" = Noto Sans Arabic Regular)* - `color_2` *(string)* - `text_3` *(string)* — Text 3 - `font_3` *(string, one of: ""; "BebasNeue-Regular" = BebasNeue-Regular; "helvetica" = Helvetica; "Poppins-Black" = Poppins-Black; "Poppins-BlackItalic" = Poppins-BlackItalic; "Sweet-Cupcake-demo" = Sweet Cupcake Demo; "NotoSansArabic-Regular" = Noto Sans Arabic Regular)* - `color_3` *(string)* - `text_4` *(string)* — Text 4 - `font_4` *(string, one of: ""; "BebasNeue-Regular" = BebasNeue-Regular; "helvetica" = Helvetica; "Poppins-Black" = Poppins-Black; "Poppins-BlackItalic" = Poppins-BlackItalic; "Sweet-Cupcake-demo" = Sweet Cupcake Demo; "NotoSansArabic-Regular" = Noto Sans Arabic Regular)* - `color_4` *(string)* - `text_5` *(string)* — Text 5 - `font_5` *(string, one of: ""; "BebasNeue-Regular" = BebasNeue-Regular; "helvetica" = Helvetica; "Poppins-Black" = Poppins-Black; "Poppins-BlackItalic" = Poppins-BlackItalic; "Sweet-Cupcake-demo" = Sweet Cupcake Demo; "NotoSansArabic-Regular" = Noto Sans Arabic Regular)* - `color_5` *(string)* - `text_6` *(string)* — Text 6 - `font_6` *(string, one of: ""; "BebasNeue-Regular" = BebasNeue-Regular; "helvetica" = Helvetica; "Poppins-Black" = Poppins-Black; "Poppins-BlackItalic" = Poppins-BlackItalic; "Sweet-Cupcake-demo" = Sweet Cupcake Demo; "NotoSansArabic-Regular" = Noto Sans Arabic Regular)* - `color_6` *(string)* - `image_3` *(string)* — Image 3 (Front image) - `mb_outputvars_switch` *(boolean)* — Customize tags It also accepts repeatable field groups, with these prefixes: `mb_filters_*`. These are composite components (buttons, filters, keyboards); the trailing number is set by the user as they are added. ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{new_image_url}}` *(text)* — Image URL. The URLs Botize creates are short-lived: they exist while the task runs (usually less than a minute), not as permanent links. If you need to keep the file, save it to a cloud service (Dropbox, FTP, Google Drive...) as part of the same automation. Posting to social networks or messaging apps is not a problem: those services store their own copy, so the image still shows even after the original link is gone ## This app Every trigger and action for Product Templates: https://botize.com/en/app/producttemplates.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/producttemplates/template_to_image