Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: TrendSwap Templates API
description: 'TrendSwap is a viral social AI video studio and motion transfer platform supporting 4 global languages (English, Spanish, Japanese, Chinese) that transforms authorized portraits into trending video clips with 100% identity preservation.
This API provides programmatic access to viral video templates, AI face swap and motion transfer video generation, portrait media management, credit balances, and the official Model Context Protocol (MCP) streamable endpoint for Zapier, Cursor, Claude Desktop, and autonomous agents.'
version: 1.0.0
contact:
name: TrendSwap Developer Support
email: support@trendswap.app
url: https://trendswap.app
license:
name: Proprietary
url: https://trendswap.app/terms-of-service
servers:
- url: https://trendswap.app
description: Production Server
security:
- ApiKeyAuth: []
- XApiKeyAuth: []
tags:
- name: Templates
description: Discover and query trending viral video choreography and meme templates
paths:
/api/templates:
get:
tags:
- Templates
summary: List Viral Video Templates
description: Returns all currently active viral video choreography and motion transfer templates on TrendSwap, including durations, preview video URLs, and supported aspect ratios.
operationId: listTemplates
security: []
responses:
'200':
description: List of viral video templates
content:
application/json:
schema:
type: object
properties:
code:
type: integer
example: 0
data:
type: object
properties:
templates:
type: array
items:
$ref: '#/components/schemas/Template'
total:
type: integer
example: 25
components:
schemas:
Template:
type: object
properties:
id:
type: string
example: burning-bridges
name:
type: string
example: Burning Bridges Banquet
title:
type: string
example: BURNING BRIDGES BANQUET
description:
type: string
example: One photo places you at the banquet table with viral motion choreography.
duration:
type: integer
example: 10
description: Duration in seconds
preview_url:
type: string
format: uri
example: https://trendswap.app/template/burning-bridges-horizontal.mp4
poster_url:
type: string
format: uri
example: https://trendswap.app/images/cream-knit.jpg
orientation:
type: string
enum:
- vertical
- horizontal
- square
- both
example: vertical
photos_required:
type: integer
example: 1
supported_resolutions:
type: array
items:
type: string
example:
- 480p
- 720p
- 1080p
status:
type: string
example: LIVE
tag:
type: string
example: POPULAR
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer
bearerFormat: API Key
description: 'TrendSwap API Key in format: Bearer sk_... (obtain from https://trendswap.app/settings/apikeys)'
XApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: TrendSwap API Key passed in the X-API-Key header