Download OpenAPI specification:Download
User object that needs to be added to the store
| id | string Required when invite is present |
| name required | string |
| email required | string Required when invite is not present |
| password required | string >= 6 characters |
| password_confirmation required | string |
| company required | string <= 55 characters Required when invite is not present |
| invite | boolean Indicates if this is an invitation-based registration |
{- "id": "encrypted_id",
- "name": "John Doe",
- "password": "password123",
- "password_confirmation": "password123",
- "company": "My Company",
- "invite": false
}{- "success": true,
- "message": "User registered successfully",
- "data": {
- "token": "<JWT_TOKEN>",
- "user": {
- "id": 1,
- "name": "John Doe",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "role": {
- "id": 1,
- "name": "Admin"
}, - "team": {
- "id": 1,
- "name": "Company Name",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "owner": true,
- "totalMembers": 3
}
}
}
}User login credentials
| email required | string |
| password required | string |
{- "password": "password"
}{- "success": true,
- "message": "Login successful",
- "data": {
- "user": {
- "id": 1,
- "name": "John Doe",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "role": {
- "id": 1,
- "name": "Admin"
}, - "team": {
- "id": 1,
- "name": "Company Name",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "owner": true,
- "totalMembers": 3
}
}, - "token": "<JWT_TOKEN>"
}
}Send password reset email
Email to send reset link to
| email required | string |
{- "email": "[email protected]"
}{- "success": true,
- "message": "Password reset code is sent to your email",
- "data": {
- "message": "Password reset code is sent to your email"
}
}Verify the code sent to email for password reset
Code to verify
| email required | string |
| secretCode required | string |
{- "secretCode": "123456"
}{- "success": true,
- "message": "Password reset code verified.",
- "data": {
- "message": "Password reset code verified."
}
}Reset the user password
Reset password data
| email required | string |
| secretCode required | string |
| password required | string >= 6 characters |
| password_confirmation required | string |
{- "secretCode": "123456",
- "password": "newpassword",
- "password_confirmation": "newpassword"
}{- "success": true,
- "message": "Password Updated.",
- "data": {
- "message": "Password Updated."
}
}{- "success": true,
- "message": "User",
- "data": {
- "user": {
- "id": 1,
- "name": "John Doe",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "role": {
- "id": 1,
- "name": "Admin"
}, - "team": {
- "id": 1,
- "name": "Company Name",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "owner": true,
- "totalMembers": 3
}
}
}
}List all brands for the authenticated user's team
| limit | integer Default: 1000 Number of items per page |
| search | string Search term for brand name |
{- "success": true,
- "message": "Brands",
- "data": {
- "items": [
- {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}
], - "meta": {
- "page": 1,
- "last_page": 1,
- "per_page": 1000,
- "total": 5
}
}
}Create a new brand for the authenticated user's team
Brand data
| name required | string <= 255 characters |
| description | string |
| feed_url required | string <= 255 characters |
| logo_path | string |
| logo_path_url | string |
| main_color required | string^#([A-Fa-f0-9]{6})$ |
| sub_heading_color required | string^#([A-Fa-f0-9]{6})$ |
| description_color required | string^#([A-Fa-f0-9]{6})$ |
| field_mapping | Array of objects |
| remote_url | string |
| token | string |
{- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "token": "brand_token_123"
}{- "success": true,
- "data": {
- "item": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}
}
}Get a single brand by its ID
| id required | integer Brand ID |
{- "success": true,
- "message": "Brand",
- "data": {
- "item": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}
}
}Update a brand by its ID
| id required | integer Brand ID |
Brand data to update
| name required | string <= 255 characters |
| description | string |
| feed_url required | string <= 255 characters |
| logo_path | string |
| logo_path_url | string |
| main_color required | string^#([A-Fa-f0-9]{6})$ |
| sub_heading_color required | string^#([A-Fa-f0-9]{6})$ |
| description_color required | string^#([A-Fa-f0-9]{6})$ |
| field_mapping | Array of objects |
| remote_url | string |
| token | string |
{- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "token": "brand_token_123"
}{- "success": true,
- "data": {
- "item": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}
}
}Acknowledge or update the status of a brand
Status update data
| id required | integer |
| acknowledged required | boolean |
{- "id": 1,
- "acknowledged": true
}{- "success": true,
- "message": "Brand status updated",
- "data": {
- "item": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}
}
}List all projects for the authenticated user's team
| brand_id required | integer Brand ID |
| limit | integer Default: 10 Number of items per page |
| search | string Search term for project name |
| page | integer Default: 1 Page number |
{- "success": true,
- "message": "Projects",
- "data": {
- "items": [
- {
- "id": 1,
- "name": "Project 1",
- "brand_id": 1,
- "products_count": 10,
- "template": {
- "id": 1,
- "project_id": 1,
- "team_id": 1,
- "saved": true,
- "name": "My Template",
- "description": "Template description",
- "brand": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}, - "font": {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}, - "audio": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}, - "language": {
- "id": 1,
- "name": "English",
- "icon_path": "languages/en.png"
}, - "destination": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}, - "custom": false,
- "orientation": "landscape",
- "background_color": "#ffffff",
- "is_female_voice": 1,
- "tone_of_voice": "neutral",
- "slide_transition": "fade",
- "image_effect": "zoom",
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_type": "color",
- "voiceover_text": "Voiceover"
}, - "published": false,
- "step": 1,
- "script_generated": 0,
- "videos_generated": 0,
- "created_at": "01.01.2021/12:00"
}
], - "meta": {
- "page": 1,
- "last_page": 1,
- "per_page": 10,
- "total": 5
}
}
}Create a new project for the authenticated user's team
Project data
| name | string <= 255 characters Project name |
| product_ids | Array of integers Array of product IDs to associate with the project |
| brand_id required | integer Brand ID |
{- "name": "My Project",
- "product_ids": [
- 1,
- 2,
- 3
], - "brand_id": 1
}{- "success": true,
- "message": "Project created",
- "data": {
- "item": {
- "id": 1,
- "name": "Project 1",
- "brand_id": 1,
- "products_count": 10,
- "template": {
- "id": 1,
- "project_id": 1,
- "team_id": 1,
- "saved": true,
- "name": "My Template",
- "description": "Template description",
- "brand": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}, - "font": {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}, - "audio": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}, - "language": {
- "id": 1,
- "name": "English",
- "icon_path": "languages/en.png"
}, - "destination": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}, - "custom": false,
- "orientation": "landscape",
- "background_color": "#ffffff",
- "is_female_voice": 1,
- "tone_of_voice": "neutral",
- "slide_transition": "fade",
- "image_effect": "zoom",
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_type": "color",
- "voiceover_text": "Voiceover"
}, - "published": false,
- "step": 1,
- "script_generated": 0,
- "videos_generated": 0,
- "created_at": "01.01.2021/12:00"
}
}
}Get a single project by its ID
| id required | integer Project ID |
{- "success": true,
- "data": {
- "item": {
- "id": 1,
- "name": "Project 1",
- "brand_id": 1,
- "products_count": 10,
- "template": {
- "id": 1,
- "project_id": 1,
- "team_id": 1,
- "saved": true,
- "name": "My Template",
- "description": "Template description",
- "brand": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}, - "font": {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}, - "audio": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}, - "language": {
- "id": 1,
- "name": "English",
- "icon_path": "languages/en.png"
}, - "destination": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}, - "custom": false,
- "orientation": "landscape",
- "background_color": "#ffffff",
- "is_female_voice": 1,
- "tone_of_voice": "neutral",
- "slide_transition": "fade",
- "image_effect": "zoom",
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_type": "color",
- "voiceover_text": "Voiceover"
}, - "published": false,
- "step": 1,
- "script_generated": 0,
- "videos_generated": 0,
- "created_at": "01.01.2021/12:00"
}
}
}Update a project by its ID
| id required | integer Project ID |
Project data to update
| name | string <= 255 characters Project name |
| product_ids | Array of integers Array of product IDs to associate with the project |
| brand_id required | integer Brand ID |
{- "name": "My Project",
- "product_ids": [
- 1,
- 2,
- 3
], - "brand_id": 1
}{- "success": true,
- "message": "Project updated",
- "data": {
- "item": {
- "id": 1,
- "name": "Project 1",
- "brand_id": 1,
- "products_count": 10,
- "template": {
- "id": 1,
- "project_id": 1,
- "team_id": 1,
- "saved": true,
- "name": "My Template",
- "description": "Template description",
- "brand": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}, - "font": {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}, - "audio": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}, - "language": {
- "id": 1,
- "name": "English",
- "icon_path": "languages/en.png"
}, - "destination": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}, - "custom": false,
- "orientation": "landscape",
- "background_color": "#ffffff",
- "is_female_voice": 1,
- "tone_of_voice": "neutral",
- "slide_transition": "fade",
- "image_effect": "zoom",
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_type": "color",
- "voiceover_text": "Voiceover"
}, - "published": false,
- "step": 1,
- "script_generated": 0,
- "videos_generated": 0,
- "created_at": "01.01.2021/12:00"
}
}
}Get all videos associated with a specific project
| id required | integer Project ID |
| search | string Search term for video name |
| limit | integer Default: 50 Number of items per page |
| page | integer Default: 1 Page number |
{- "success": true,
- "message": "Project videos",
- "data": {
- "items": [
- {
- "id": "video-uuid-123",
- "name": "Product Video",
- "status": "pending",
- "template_id": 1,
- "project_product": 1,
- "slides": [ ],
- "created_at": "01.01.2021/12:00"
}
], - "meta": {
- "page": 1,
- "last_page": 1,
- "per_page": 50,
- "total": 5
}
}
}List all products for a given brand ID
| id required | integer Brand ID |
| rowsPerPage | integer Default: 10 Number of items per page |
| search | string Search term for product name |
| page | integer Default: 1 Page number |
| sortBy | string Sort field (name, videos) |
| descending | string Enum: "true" "false" Sort direction (true for descending, false for ascending) |
{- "success": true,
- "data": {
- "items": [
- {
- "id": 1,
- "name": "iPhone 12",
- "description": "iPhone 12 description",
- "slides": [
], - "videos_count": 2,
- "videos": [
- {
- "id": 1,
- "name": "Chair Bed",
- "status": "pending",
- "description": "Chair bed frame and upholstered futon mattress",
- "template": {
- "id": 1,
- "project_id": 1,
- "team_id": 1,
- "saved": true,
- "name": "My Template",
- "description": "Template description",
- "brand": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}, - "font": {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}, - "audio": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}, - "language": {
- "id": 1,
- "name": "English",
- "icon_path": "languages/en.png"
}, - "destination": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}, - "custom": false,
- "orientation": "landscape",
- "background_color": "#ffffff",
- "is_female_voice": 1,
- "tone_of_voice": "neutral",
- "slide_transition": "fade",
- "image_effect": "zoom",
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_type": "color",
- "voiceover_text": "Voiceover"
}
}
]
}
], - "meta": {
- "page": 1,
- "last_page": 1,
- "per_page": 10,
- "total": 5
}
}
}Generate products for a given brand ID (from feed)
| id required | integer Brand ID |
Product generation data (field mapping, etc.)
| field_mapping | object |
{- "field_mapping": { }
}{- "success": true,
- "message": "Product feed generated successfully",
- "data": [ ]
}Delete products for the authenticated user's team
Product IDs to delete
| ids required | Array of integers Array of product IDs to delete |
{- "ids": [
- 1,
- 2,
- 3
]
}{- "success": true,
- "message": "Product deleted",
- "data": null
}Get all available videos for a specific product
| product_id required | integer Product ID |
| limit | integer Example: limit=10 Count of items on the page |
| page | integer Example: page=1 Page number |
| search | string Example: search=video name Search string |
{- "success": true,
- "data": {
- "items": [
- {
- "id": "video-uuid-123",
- "name": "Product Video",
- "status": "pending",
- "template_id": 1,
- "project_product": 1,
- "slides": [ ],
- "created_at": "01.01.2021/12:00"
}
], - "meta": {
- "page": 0,
- "last_page": 0,
- "per_page": 0,
- "total": 0
}
}
}Delete multiple videos by their IDs
Video IDs to delete
| ids required | Array of strings |
{- "ids": [
- "video-id-1",
- "video-id-2"
]
}{- "success": true,
- "data": {
- "message": "Videos deleted successfully"
}
}Generate a video file based on the provided parameters
Video generation parameters
| name | string |
| template_id required | integer |
| project_product_id required | integer |
| video_id | string |
{- "name": "Product Video",
- "template_id": 1,
- "project_product_id": 1,
- "video_id": "video-uuid-123"
}{- "success": true,
- "message": "Video generated",
- "data": {
- "video": {
- "id": "video-uuid-123",
- "name": "Product Video",
- "status": "pending",
- "template_id": 1,
- "project_product": 1,
- "slides": [ ],
- "created_at": "01.01.2021/12:00"
}
}
}Upload video(s) to YouTube
YouTube upload parameters
| project_id | integer |
| video_ids | Array of strings |
{- "project_id": 1,
- "video_ids": [
- "video-id-1",
- "video-id-2"
]
}{- "success": true,
- "message": "Google auth url",
}List all templates for the authenticated user's team
| default | integer Default: 0 Get default templates (1) or team templates (0) |
| limit | integer Default: 10 Number of items per page |
| search | string Search term for template name |
| page | integer Default: 1 Page number |
{- "success": true,
- "message": "Templates",
- "data": {
- "items": [
- {
- "id": 1,
- "project_id": 1,
- "team_id": 1,
- "saved": true,
- "name": "My Template",
- "description": "Template description",
- "brand": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}, - "font": {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}, - "audio": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}, - "language": {
- "id": 1,
- "name": "English",
- "icon_path": "languages/en.png"
}, - "destination": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}, - "custom": false,
- "orientation": "landscape",
- "background_color": "#ffffff",
- "is_female_voice": 1,
- "tone_of_voice": "neutral",
- "slide_transition": "fade",
- "image_effect": "zoom",
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_type": "color",
- "voiceover_text": "Voiceover"
}
], - "meta": {
- "page": 1,
- "last_page": 1,
- "per_page": 10,
- "total": 5
}
}
}Create a new template for video generation
Template data
| project_id | integer Project ID |
| saved required | integer Enum: 0 1 Whether to save the template (1 for saved, 0 for not saved) |
| destination_id required | integer Destination ID |
| description | string <= 1000 characters Template description |
| brand_id | integer Brand ID |
| font_id | integer Font ID (required if voiceover_text is Subtitle or Both) |
| audio_id required | integer Audio ID |
| language_id required | integer Language ID |
| image_path | string <= 255 characters Image path |
| font_color | string^#([A-Fa-f0-9]{6})$ Font color (hex format) |
| font_background_color | string^#([A-Fa-f0-9]{6})$ Font background color (hex format) |
| background_color | string^#([A-Fa-f0-9]{6})$ Background color (hex format, required if background_type is color) |
| background_type required | string Enum: "color" "blur" Background type |
| orientation | string Enum: "landscape" "portrait" Video orientation |
| tone_of_voice required | string Enum: "neutral" "friendly" "formal" Voice tone |
| with_call_to_action | boolean Whether to include call to action |
| public | boolean Whether the template is public |
| voiceover_text required | string <= 255 characters Voiceover text type |
| is_female_voice | integer Enum: 0 1 Voice gender (1 for female, 0 for male, required if voiceover_text is Voiceover or Both) |
| name | string <= 255 characters Template name (required if saved is 1) |
{- "project_id": 1,
- "saved": 1,
- "destination_id": 1,
- "description": "Template description",
- "brand_id": 1,
- "font_id": 1,
- "audio_id": 1,
- "language_id": 1,
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_color": "#ffffff",
- "background_type": "color",
- "orientation": "landscape",
- "tone_of_voice": "neutral",
- "with_call_to_action": false,
- "public": false,
- "voiceover_text": "Voiceover",
- "is_female_voice": 1,
- "name": "My Template"
}{- "success": true,
- "message": "Template created",
- "data": {
- "item": {
- "id": 1,
- "project_id": 1,
- "team_id": 1,
- "saved": true,
- "name": "My Template",
- "description": "Template description",
- "brand": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}, - "font": {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}, - "audio": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}, - "language": {
- "id": 1,
- "name": "English",
- "icon_path": "languages/en.png"
}, - "destination": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}, - "custom": false,
- "orientation": "landscape",
- "background_color": "#ffffff",
- "is_female_voice": 1,
- "tone_of_voice": "neutral",
- "slide_transition": "fade",
- "image_effect": "zoom",
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_type": "color",
- "voiceover_text": "Voiceover"
}
}
}Get a single template by its ID
| id required | integer Template ID |
{- "success": true,
- "data": {
- "item": {
- "id": 1,
- "project_id": 1,
- "team_id": 1,
- "saved": true,
- "name": "My Template",
- "description": "Template description",
- "brand": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}, - "font": {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}, - "audio": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}, - "language": {
- "id": 1,
- "name": "English",
- "icon_path": "languages/en.png"
}, - "destination": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}, - "custom": false,
- "orientation": "landscape",
- "background_color": "#ffffff",
- "is_female_voice": 1,
- "tone_of_voice": "neutral",
- "slide_transition": "fade",
- "image_effect": "zoom",
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_type": "color",
- "voiceover_text": "Voiceover"
}
}
}Update a template by its ID
| id required | integer Template ID |
Template data to update
| project_id | integer Project ID |
| saved required | integer Enum: 0 1 Whether to save the template (1 for saved, 0 for not saved) |
| destination_id required | integer Destination ID |
| description | string <= 1000 characters Template description |
| brand_id | integer Brand ID |
| font_id | integer Font ID (required if voiceover_text is Subtitle or Both) |
| audio_id required | integer Audio ID |
| language_id required | integer Language ID |
| image_path | string <= 255 characters Image path |
| font_color | string^#([A-Fa-f0-9]{6})$ Font color (hex format) |
| font_background_color | string^#([A-Fa-f0-9]{6})$ Font background color (hex format) |
| background_color | string^#([A-Fa-f0-9]{6})$ Background color (hex format, required if background_type is color) |
| background_type required | string Enum: "color" "blur" Background type |
| orientation | string Enum: "landscape" "portrait" Video orientation |
| tone_of_voice required | string Enum: "neutral" "friendly" "formal" Voice tone |
| with_call_to_action | boolean Whether to include call to action |
| public | boolean Whether the template is public |
| voiceover_text required | string <= 255 characters Voiceover text type |
| is_female_voice | integer Enum: 0 1 Voice gender (1 for female, 0 for male, required if voiceover_text is Voiceover or Both) |
| name | string <= 255 characters Template name (required if saved is 1) |
{- "project_id": 1,
- "saved": 1,
- "destination_id": 1,
- "description": "Template description",
- "brand_id": 1,
- "font_id": 1,
- "audio_id": 1,
- "language_id": 1,
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_color": "#ffffff",
- "background_type": "color",
- "orientation": "landscape",
- "tone_of_voice": "neutral",
- "with_call_to_action": false,
- "public": false,
- "voiceover_text": "Voiceover",
- "is_female_voice": 1,
- "name": "My Template"
}{- "success": true,
- "message": "Template updated",
- "data": {
- "item": {
- "id": 1,
- "project_id": 1,
- "team_id": 1,
- "saved": true,
- "name": "My Template",
- "description": "Template description",
- "brand": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}, - "font": {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}, - "audio": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}, - "language": {
- "id": 1,
- "name": "English",
- "icon_path": "languages/en.png"
}, - "destination": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}, - "custom": false,
- "orientation": "landscape",
- "background_color": "#ffffff",
- "is_female_voice": 1,
- "tone_of_voice": "neutral",
- "slide_transition": "fade",
- "image_effect": "zoom",
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_type": "color",
- "voiceover_text": "Voiceover"
}
}
}List all available audios for the authenticated user
| limit | integer Default: 10 Number of items per page |
| search | string Search term for audio name |
| page | integer Default: 1 Page number |
{- "success": true,
- "data": {
- "items": [
- {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}
], - "meta": {
- "page": 1,
- "last_page": 1,
- "per_page": 10,
- "total": 5
}
}
}Upload a new audio file
Audio file to upload
| audio required | string <binary> Audio file (MP3 format, max 4MB) |
{- "success": true,
- "message": "Audio added",
- "data": {
- "item": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}
}
}Generate scripts for slides
Script generation parameters
| name required | string <= 255 characters Product name |
| description | string <= 100000 characters Product description |
| tone_of_voice required | string <= 255 characters Voice tone for the script |
| language_id | integer Language ID |
| images required | Array of strings [ 1 .. 20 ] items Array of image URLs |
| project_product_id required | integer Project product ID |
{- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "tone_of_voice": "Formal",
- "language_id": 1,
- "project_product_id": 12
}{- "success": true,
- "data": {
- "message": "scripts generation started"
}
}Generate scripts for all products in a project by project ID
| id required | integer Project ID |
{- "success": true,
- "message": "scripts generation started",
- "data": {
- "item": {
- "id": 1,
- "name": "Project 1",
- "brand_id": 1,
- "products_count": 10,
- "template": {
- "id": 1,
- "project_id": 1,
- "team_id": 1,
- "saved": true,
- "name": "My Template",
- "description": "Template description",
- "brand": {
- "id": 1,
- "name": "Apple",
- "description": "Apple Inc. is an American multinational technology company...",
- "main_color": "#000000",
- "sub_heading_color": "#ffffff",
- "description_color": "#000000",
- "created_at": "2023-01-01T00:00:00.000000Z",
- "field_mapping": [
- {
- "identifier": "1",
- "name": "name",
- "description": "description",
- "images": [
- "images",
- "thumbnail"
], - "nested_image_field": "src"
}
], - "status": "pending",
- "error_msg": null
}, - "font": {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}, - "audio": {
- "id": 1,
- "name": "Background Music",
- "duration": 120,
- "created_at": "2024-01-01T00:00:00.000000Z"
}, - "language": {
- "id": 1,
- "name": "English",
- "icon_path": "languages/en.png"
}, - "destination": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}, - "custom": false,
- "orientation": "landscape",
- "background_color": "#ffffff",
- "is_female_voice": 1,
- "tone_of_voice": "neutral",
- "slide_transition": "fade",
- "image_effect": "zoom",
- "font_color": "#000000",
- "font_background_color": "#ffffff",
- "background_type": "color",
- "voiceover_text": "Voiceover"
}, - "published": false,
- "step": 1,
- "script_generated": 0,
- "videos_generated": 0,
- "created_at": "01.01.2021/12:00"
}
}
}Parse a feed URL for products and extract available fields
| url required | string Feed URL to parse |
{- "status": "Success",
- "data": {
- "fields": [
- "title",
- "description",
- "price",
- "image"
], - "product_item_fields": {
- "title": "Sample Product",
- "description": "Product description",
- "price": "99.99",
}
}
}Set or update the user's subscription
Subscription data
| sub required | string Subscription price ID |
| paymentMethod required | string Payment method ID |
{- "sub": "price_123",
- "paymentMethod": "pm_123"
}{- "success": true,
- "data": {
- "sub": "price_123"
}
}{- "success": true,
- "data": {
- "standard": {
- "monthly": [
- {
- "seats": 1,
- "type": "standard",
- "price": {
- "id": "Standard",
- "price": 29.99,
- "currency": "usd",
- "product": "prod_123",
- "price_id": "price_123"
}
}
]
}
}
}Verify a team invitation link
| expires required | string Expiration timestamp |
| id required | string Encrypted user ID |
| signature required | string URL signature |
{- "success": true,
- "message": "Link is verified",
- "data": {
- "id": 1,
- "name": "John Doe",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "role": {
- "id": 1,
- "name": "Admin"
}, - "team": {
- "id": 1,
- "name": "Company Name",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "owner": true,
- "totalMembers": 3
}
}
}List all team members for the authenticated user's team
{- "success": true,
- "message": "Team members",
- "data": [
- {
- "id": 1,
- "name": "John Doe",
- "role": {
- "id": 1,
- "name": "Admin"
}, - "team": {
- "id": 1,
- "name": "Company Name",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "owner": true,
- "totalMembers": 3
}
}
]
}Update a team member's role by ID
| id required | integer Team member ID |
Team member role to update
| role required | string Enum: "Admin" "Editor" "Viewer" New role for the team member |
{- "role": "Editor"
}{- "success": true,
- "message": "Role updated",
- "data": {
- "id": 1,
- "name": "John Doe",
- "role": {
- "id": 1,
- "name": "Admin"
}, - "team": {
- "id": 1,
- "name": "Company Name",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "owner": true,
- "totalMembers": 3
}
}
}Delete a team member by ID
| id required | integer Team member ID |
{- "success": true,
- "message": "Deleted successfully",
- "data": {
- "id": 1,
- "name": "Company Name",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "owner": true,
- "totalMembers": 3
}
}Invite new members to the team
Invitation data
| emails required | Array of strings <email> Array of email addresses to invite |
| role required | string Enum: "Admin" "Editor" "Viewer" Role to assign to invited members |
{- "role": "Editor"
}{- "success": true,
- "message": [
- "string"
], - "data": {
- "id": 1,
- "name": "Company Name",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "owner": true,
- "totalMembers": 3
}
}Auto-generate videos for marketing
Marketing video generation data
required | Array of objects Array of products to generate videos for |
{- "products": [
- {
- "name": "Product 1",
- "description": "Product 1 description",
}
]
}{- "success": true,
- "message": "Brand created",
- "data": {
- "brand_id": 1,
- "from_marketing_status": "brand created"
}
}Get generated marketing videos
Marketing video query data
| brand_id required | integer |
{- "brand_id": 1
}{- "success": true,
- "message": "Videos generated",
- "data": {
- "from_marketing_status": "video created",
}
}List all available fonts with pagination and search
| limit | integer Default: 10 Count of items on the page |
| page | integer Default: 1 Page number |
| search | string Search string |
{- "success": true,
- "data": {
- "items": [
- {
- "id": 1,
- "name": "Arial",
- "path": "fonts/arial.ttf"
}
], - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 5,
- "per_page": 10,
- "to": 10,
- "total": 50
}
}
}List all available destinations with pagination and search
| limit | integer Default: 10 Count of items on the page |
| page | integer Default: 1 Page number |
| search | string Search string |
{- "success": true,
- "data": {
- "items": [
- {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}
], - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 5,
- "per_page": 10,
- "to": 10,
- "total": 50
}
}
}Create a new destination
Destination data
| name required | string Destination name |
| image_path | string Image path for destination preview |
| width required | integer Video width (480-1920) |
| height required | integer Video height (480-1920) |
| call_to_action | boolean Whether to include call to action |
{- "name": "Youtube video",
- "width": 1920,
- "height": 1080,
- "call_to_action": true
}{- "success": true,
- "data": {
- "item": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}
}
}Get a single destination by its ID
| id required | integer Destination ID |
{- "success": true,
- "data": {
- "item": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}
}
}Update a destination by its ID
| id required | integer Destination ID |
Destination data to update
| name required | string Destination name |
| image_path | string Image path for destination preview |
| width required | integer Video width (480-1920) |
| height required | integer Video height (480-1920) |
| call_to_action | boolean Whether to include call to action |
{- "name": "Youtube video",
- "width": 1920,
- "height": 1080,
- "call_to_action": true
}{- "success": true,
- "data": {
- "item": {
- "id": 1,
- "name": "Youtube video",
- "orientation": "landscape",
- "call_to_action": true,
- "custom": true
}
}
}{- "success": true,
- "message": "User",
- "data": {
- "id": 1,
- "name": "John Doe",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "role": {
- "id": 1,
- "name": "Admin"
}, - "team": {
- "id": 1,
- "name": "Company Name",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "owner": true,
- "totalMembers": 3
}
}
}Update the authenticated user's information
User data to update
| name | string User's name |
string User's email address | |
| company | string Company name (max 55 characters) |
| password | string Current password (required when updating password) |
| newPassword | string New password (minimum 6 characters) |
| googleCode | string Google OAuth code for API token |
{- "name": "John Doe",
- "company": "My Company",
- "password": "currentpassword",
- "newPassword": "newpassword",
- "googleCode": "4/0AfJohXn..."
}{- "success": true,
- "message": "Data updated",
- "data": {
- "id": 1,
- "name": "John Doe",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "role": {
- "id": 1,
- "name": "Admin"
}, - "team": {
- "id": 1,
- "name": "Company Name",
- "sub": {
- "type": "standard",
- "billing_period": "monthly",
- "seats": 5,
- "stripe_id": "sub_123456789"
}, - "owner": true,
- "totalMembers": 3
}
}
}