image-agent
Image Agent

Generate Template Prompt

Generate a personalized prompt for a specific template type.

Uses product understanding if available, otherwise company_short_desc. Falls back to generic template if no context exists.

post/api/v1/image-agent/generate-template-prompt

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/image-agent/generate-template-prompt
  • Auth: HTTP bearer

Request body

template_typestring required

Template type (e.g., 'Product Showcase', 'Banner Ad')

orientationstring nullable

Image orientation: 'horizontal' (16:9) or 'vertical' (9:16). If not specified, generates a generic prompt.

Response

Successful Response

template_typestring required
titlestring required
descriptionstring required
promptstring required
sourcestring required
orientationstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.