Skip to content

Template types

P2Lab AI ships with around thirty prompt template types. Every type has a default template you can edit and any number of forks. This page is a reference list — use the linked feature page for hands-on details.

TypeWhat it does
generate_seo.productMeta title, meta description, keywords for a product. See Generate SEO.
generate_seo.categorySame for categories.
generate_content.productName + description (and optionally meta) for products. Supports model / web_search / url_fetch modes. See Generate content.
generate_content.categorySame for categories.
generate_alt_text.productAccessible alt text for product images. See Generate alt text.
generate_categories.productPropose categories for a product from its text. See Suggest categories.
generate_keywords.productPropose search keywords for a product from its text. See Suggest search keywords.
TypeWhat it does
extract_measuresWeight, dimensions, units, pack-unit labels from a description. See Extract measures.
extract_propertiesMatched + new property group suggestions from a description. See Extract properties.
TypeWhat it does
translate.productTranslate selected product fields to one or more languages. See Translate.
translate.categorySame for categories.
improve.productRewrite a product field with a preset (SEO, concise, detailed, brand voice, grammar only, custom). See Improve.
improve.categorySame for categories.
unify.productApply a format spec to a product field. See Unify.
unify.categorySame for categories.
unify_extractPre-step for Unify: infer a format spec from sample products. Not a user-facing job type — invoked internally by ContentUnifier.
TypeWhat it does
inline.improveImprove the current text selection in the WYSIWYG.
inline.improve_chatMulti-turn refinement of the improve result — used by the Improve content with chat flow in the inline modal.
inline.translateTranslate the current selection.
inline.unifyApply a format spec to the selection.
inline.describe_from_urlFetch a URL and write a description from its content.
inline.suggest_fetch_domain_configPropose CSS selectors for URL-based fetches on a new domain.
inline.plain_text_formatOutput-format hint appended to other inline.* system prompts when the target field is short plain text (typically a product name). Editable like any other template.
TypeWhat it does
edit_image.pins_onlyApply only pin-based edits, preserve the rest of the image.
edit_image.studio_backgroundReplace the background with a studio gradient.
edit_image.outdoorOutdoor / nature setting.
edit_image.beachBeach-at-sunset setting.
edit_image.woodenRustic wooden surface.
edit_image.minimalistClean white minimalist aesthetic.
edit_image.promo_bannerPromotional banner styling.
edit_image.promo_banner_editorialPromotional banner, editorial look.
edit_image.promo_banner_grungePromotional banner, grunge look.
edit_image.customUser-written prompt.

See Edit image with AI.

TypeWhat it does
image_finder.searchDrives the web search that returns candidate product-page URLs. See Image Finder.
image_finder.pick_imageSecond pass — picks the single best image from each candidate page.
media_index.analyzeOne vision pass per library image: title, alt text, content tags, dominant colour and a semantic category for foldering. See Media Library Organizer.
TypeWhat it does
meta.fork_wizardOne-shot generator for the Create prompt fork wizard — proposes a fork-ready system + user prompt from a base prompt and a description of the change.
meta.fork_brainstormMulti-turn brainstorm assistant used by the fork wizard’s Discuss with AI entry — same inputs as meta.fork_wizard plus a running chat history. Shares the connection with meta.fork_wizard.
meta.learn_promptPowers learning suggestions — analyses samples and proposes prompt edits.
meta.prompt_from_imageDerives an image-edit prompt from a reference image you supply. Used by Add a template.
meta.refine_instructionsMulti-turn chat assistant that helps you refine the Additional instructions text of an inline AI task — opened from the Chat button in the inline modal.
convert_to_htmlUniversal post-processor that converts model output to HTML for HTML-typed fields.