competitors

Generate Template Prompt

Generate a template prompt from Meta ad images + product images (GPT vision).

post/api/v1/competitors/my-ads/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/competitors/my-ads/generate-template-prompt
  • Auth: HTTP bearer

Query parameters

client_user_idinteger nullable

Client user ID to view data for

Headers

x-lapis-dev-tokenstring nullable
x-assume-user-idinteger nullable

Request body

ad_image_urlsstring[] required

Meta ad image URLs (style reference)

product_image_urlsstring[]

Product image URLs (content reference)

Response

Successful Response

promptstring required
ad_idstring required
images_usedinteger required

Changes

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