Create private reusable template
create_templateCreate a private reusable DesignForYou template from a structured brief. The returned template_id works immediately with get_text_fields and generate. This stores a user-owned template in the canonical catalog collection; it does not publish it to the anonymous gallery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Reusable template name; repeated identical names are idempotent. | |
| width | Yes | Canvas width in pixels, matching aspect_ratio. | |
| height | Yes | Canvas height in pixels, matching aspect_ratio. | |
| best_for | No | Optional concise use-case labels. | |
| category | Yes | Supported category: Infographics, Instagram Posts, Instagram Stories, App Store Previews, Logos, Visual Novel, Cinematic Stills, Comic Panels, Living Panels Comics, Character References, Architecture Diagrams, or Developer Tools. | |
| base_prompt | Yes | Visual subject, style, and data-rendering requirements; plain layout text only. | |
| subcategory | No | Optional narrower catalog label. | |
| text_fields | Yes | Editable copy fields returned by get_text_fields. | |
| aspect_ratio | Yes | One of 16:9, 1:1, 4:5, or 9:16. | |
| layout_rules | Yes | Stable layout hierarchy and chart/diagram rules; plain text only. |