Before generating content, configure your brand’s AI specifications. This ensures all AI output matches your brand voice.Navigate to Brands > [Your Brand] > AI Specs in the dashboard, or use the API:
curl -X POST "https://app.alana.shopping/api/ai/enhance" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "brandId": "BRAND_ID", "text": "Navy blazer made from linen. Good for office.", "type": "description", "instructions": "Make it more compelling and add sustainability messaging" }'
The dedicated faq action (Phase 185) produces 5–10 product-specific Q&As with category labels and a confidence score per question. The API post-filters to keep only confidence >= 0.7 items; the prompt explicitly forbids questions about color/size/availability/price (those are structured fields).
The model parameter accepts "economic", "balanced", or "high" and maps to the LiteLLM tier alias (canvas-faq-eco / canvas-faq-bal / canvas-faq-hi). Higher tiers use stronger models — useful when the response returns 400 with fewer than 5 high-confidence FAQs.Response shape:
{ "success": true, "action": "faq", "data": { "faqs": [ { "question": "Posso lavar este blazer na máquina?", "answer": "Não recomendamos. Linho é um tecido delicado — prefira lavagem a seco ou à mão com água fria.", "category": "cuidado", "confidence": 0.94 }, { "question": "Como é o caimento?", "answer": "Modelagem alfaiataria com leve estrutura nos ombros, caimento solto no torso. Veste no tamanho usual.", "category": "tamanho", "confidence": 0.88 } ] }}
Categories: uso, cuidado, tamanho, envio, trocas, material, estilo, outro. The route returns 400 if fewer than 5 high-confidence FAQs survive the filter — set "model": "high" in the request body or include more product detail in productContext.