Skip to main content
POST
Generate content

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication via Auth0. Users authenticate through Auth0 Universal Login. Include the access token in the Authorization header: Authorization: Bearer <token>

Corpo

application/json
action
enum<string>
obrigatório

Canvas action to execute. When action='faq', the response data is post-filtered: only FAQs with confidence >= 0.7 are returned, and the request fails with 400 if fewer than 5 high-confidence FAQs survive.

Opções disponíveis:
text,
media,
context,
persona,
taxonomy,
semantic,
faq,
relationships,
offer,
reputation,
technical,
compliance,
logistics,
comparative,
ai-readiness,
optimization-score,
visual_attributes,
reshoot_product,
change_backdrop,
relight_product,
image_upscale,
product_video,
batch_video,
garment_swap,
look_composer,
look_variations,
look_video,
look_description,
audio_description,
sound_effect
productContext
object
obrigatório
prompt
string

Optional user prompt to guide generation

model
enum<string>
padrão:balanced

LLM quality tier to use for generation

Opções disponíveis:
economic,
balanced,
high
surfaceKey
string

Optional distribution surface key (e.g. google_shopping, vtex_pdp). When provided, surface constraints are applied to the generated output.

Resposta

Content generated successfully

success
boolean
action
string

The canvas action that was executed

data
object

Generated content result — shape varies by action

Última modificação em 16 de fevereiro de 2026