# Yepic AI Integration via LowCodeAPI
**Last Updated**: February 10, 2026
## Overview
AI video generation platform for creating talking head videos and video content
**Categories:**
- {'id': 'video-generation', 'name': 'Video Generation AI'}
## Base Endpoint
https://api.lowcodeapi.com/yepicai
**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`
## Authentication
**Type:** TOKEN
**Official Documentation:** https://docs.yepic.ai
## URL Format (Important)
LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.
### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`
### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`
### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider
## API Categories
## Common Endpoints
### Get All Assets
**Method:** GET
**LowCodeAPI Path:** /v1/assets
**New Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets?api_token=YOUR_API_TOKEN
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| Page | number | |
| PageSize | number | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/yepicai/v1/assets?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://docs.yepic.ai/reference/get_v1-assets
### Get All Avatars
**Method:** GET
**LowCodeAPI Path:** /v1/avatars
**New Format URL:**
https://api.lowcodeapi.com/yepicai/v1/avatars?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/yepicai/v1/avatars?api_token=YOUR_API_TOKEN
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| Page | number | |
| PageSize | number | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/yepicai/v1/avatars?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://docs.yepic.ai/reference/get_v1-avatars
### Get a Single Asset
**Method:** GET
**LowCodeAPI Path:** /v1/assets/{id}
**New Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/{id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/id?id={id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/yepicai/v1/assets/{id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://docs.yepic.ai/reference/get_v1-assets-id
### Update an Asset Partially
**Method:** PATCH
**LowCodeAPI Path:** /v1/assets/{id}
**New Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/{id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/id?id={id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | string | |
**Example Request (New Format):**
```bash
curl -X PATCH 'https://api.lowcodeapi.com/yepicai/v1/assets/{id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://docs.yepic.ai/reference/patch_v1-assets-id
### Delete an Asset
**Method:** DELETE
**LowCodeAPI Path:** /v1/assets/{id}
**New Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/{id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/id?id={id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | string | |
**Example Request (New Format):**
```bash
curl -X DELETE 'https://api.lowcodeapi.com/yepicai/v1/assets/{id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://docs.yepic.ai/reference/delete_v1-assets-id
### Create a New Asset (HTML form file upload)
**Method:** POST
**LowCodeAPI Path:** /v1/assets/import/file
**New Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/import/file?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/import/file?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| File | file | |
| Name | string | |
| Type | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/yepicai/v1/assets/import/file?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://docs.yepic.ai/reference/post_v1-assets-import-file
### Create a New Asset (JSON base64 data)
**Method:** POST
**LowCodeAPI Path:** /v1/assets/import/json
**New Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/import/json?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/import/json?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| type | string | |
| file | string | |
| name | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/yepicai/v1/assets/import/json?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://docs.yepic.ai/reference/post_v1-assets-import-json
### Create a New Asset (URL)
**Method:** POST
**LowCodeAPI Path:** /v1/assets/import/url
**New Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/import/url?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/yepicai/v1/assets/import/url?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| type | string | |
| fileUrl | string | |
| name | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/yepicai/v1/assets/import/url?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://docs.yepic.ai/reference/post_v1-assets-import-url
### Create an Avatar
**Method:** POST
**LowCodeAPI Path:** /v1/avatars
**New Format URL:**
https://api.lowcodeapi.com/yepicai/v1/avatars?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/yepicai/v1/avatars?api_token=YOUR_API_TOKEN
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/yepicai/v1/avatars?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://docs.yepic.ai/reference/post_v1-avatars
### Get Avatars
**Method:** GET
**LowCodeAPI Path:** /v1/avatars/{id}
**New Format URL:**
https://api.lowcodeapi.com/yepicai/v1/avatars/{id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/yepicai/v1/avatars/id?id={id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/yepicai/v1/avatars/{id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://docs.yepic.ai/reference/get_v1-avatars-id
## Usage Examples
### Example 1: Basic Chat Completion
Creating a simple text completion or chat message:
```bash
# Create a chat completion - no path parameters needed
curl -X POST "https://api.lowcodeapi.com/yepicai/v1/chat/completions?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "your-model-name",
"messages": [
{"role": "user", "content": "Hello, how can you help me?"}
]
}'
# Response includes generated content
```
### Example 2: Text Generation with Path Parameters
Generating text with specific model settings:
```bash
# Generate content using a specific model
curl -X POST "https://api.lowcodeapi.com/yepicai/v1/models/generate?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Write a short poem about technology",
"max_tokens": 100
}'
# Or if the provider uses model in the path:
curl -X POST "https://api.lowcodeapi.com/yepicai/v1/models/{MODEL_ID}:generateContent?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Write a short story"}]}]
}'
```
### Example 3: List Available Models
```bash
# Get list of available models
curl -X GET "https://api.lowcodeapi.com/yepicai/v1/models?api_token=YOUR_API_TOKEN"
```
## Error Handling
LowCodeAPI returns standard HTTP status codes. Common errors:
| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |
All error responses include error details:
```json
{
"data": {
"error": {
"message": "Error description",
"code": "ERROR_CODE"
}
}
}
```
## Complete Endpoint Reference
| Endpoint | Method | Category |
|----------|--------|----------|
| Get All Assets | GET | Asset Endpoints |
| Get All Avatars | GET | Asset Endpoints |
| Get a Single Asset | GET | Asset Endpoints |
| Update an Asset Partially | PATCH | Asset Endpoints |
| Delete an Asset | DELETE | Asset Endpoints |
| Create a New Asset (HTML form file upload) | POST | Asset Endpoints |
| Create a New Asset (JSON base64 data) | POST | Asset Endpoints |
| Create a New Asset (URL) | POST | Asset Endpoints |
| Create an Avatar | POST | Avatar Endpoints |
| Get Avatars | GET | Avatar Endpoints |
| Update an Avatar | PATCH | Avatar Endpoints |
| Retrieve a studio pro video by ID | GET | Studio Pro Videos |
| Create a studio pro video | POST | Studio Pro Videos |
| Update a studio pro video | PATCH | Studio Pro Videos |
| Delete a studio pro video | DELETE | Studio Pro Videos |
| Replace a draft studio pro video | PUT | Studio Pro Videos |
| Requeue a studio pro video by ID | POST | Studio Pro Videos |
## API Definition Endpoints
You can fetch the complete API specification for this provider:
**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/yepicai/openapi'
```
**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/yepicai/definition'
```
## Response Format
All responses are wrapped in a `data` key:
```json
{
"data": {
// Actual response from provider (object or array)
}
}
```