GET
/api/health
Deployment and service health check.
Application Programming Interface layer
Use this page to demonstrate backend routes, clean contracts, AI endpoints and future external integrations.
GET
Deployment and service health check.
POST
Returns design ideas from a prompt. Replace with Azure AI later.
POST
Rewrites text for marketing copy. Replace with Azure OpenAI later.
GET
Lists MCP-style tools exposed by WebCut AI.
POST
Executes a safe internal tool call placeholder.
fetch('/api/ai/design', {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({ prompt: 'Create a futuristic video thumbnail' })\n});