ByteDance AI Effect Template List API
Query the ByteDance AI effect template catalog through Crun, including template IDs, covers, preview videos, supported resolutions, input requirements, and credits. Some templates are powered by ByteDance Seedance 2.0.
Overview
Use this endpoint to query the available ByteDance AI effect templates exposed by Crun. This endpoint is designed for developers who want to integrate all ByteDance templates with a single API connection. It returns template metadata, cover assets, preview videos, input image requirements, supported aspect ratios, supported resolutions, and Crun-normalized credit costs.Use Cases
- Build a ByteDance template marketplace or template picker UI
- Synchronize the latest template list on a scheduled basis
- Query a single template by passing the optional
template_idparameter - Drive dynamic form rendering based on
InputNum,InputRequirement,TemplateType, andConsumeItems
Official Template Gallery
You can also open the official ByteDance template gallery, choose a template, and copy its template ID:- Official ByteDance template gallery: TemplateAI
Related Resources
ByteDance Template Video
Get Task Info
Authorizations
All APIs require authentication via API Key.
Get API Key:
- Visit API Key Management Page to get your API Key
Usage: Add to request header:
x-api-key: YOUR_API_KEY
Note:
- Keep your API Key secure and do not share it with others
- If you suspect your API Key has been compromised, reset it immediately in the management page
Query Parameters
Page number. Ignored when template_id is provided.
x >= 1Number of templates per page. Maximum value is 50. Ignored when template_id is provided.
x <= 50Optional template ID. When provided, the API returns only the matching template.
Response
Request successful
Response status code
- 200: Success - Request has been processed successfully
- 401: Unauthorized - Authentication credentials are missing or invalid
- 402: Insufficient Credits - Account does not have enough credits to perform the operation
- 404: Not Found - The requested resource or endpoint does not exist
- 422: Validation Error - The request parameters failed validation checks
- 429: Rate Limited - Request limit has been exceeded for this resource
- 455: Service Unavailable - System is currently undergoing maintenance
- 500: Server Error - An unexpected error occurred while processing the request
- 501: Generation Failed - Content generation task failed
- 505: Feature Disabled - The requested feature is currently disabled
200, 401, 402, 404, 422, 429, 455, 500, 501, 505 Response message, error description when failed
"success"
