API Documentation
Base URL
https://instagram-posts-generator.vercel.app/apiRate Limiting
All API endpoints are rate-limited to 100 requests per minute per IP address. Rate limit information is included in the response headers:
X-RateLimit-Limit: Requests allowed per windowX-RateLimit-Remaining: Requests remaining in windowX-RateLimit-Reset: Time when the rate limit resets
Endpoints
POST
/v1/imagesRequest Payload(*Template level fields may vary)
name: Name of the template (string)canvas: Canvas parameters {width: number, height: number} (object)
Error Handling
The API uses conventional HTTP response codes to indicate the success or failure of requests:
200: Success429: Too Many Requests - Rate limit exceeded500: Internal Server Error