Vidu Template
Generate videos from predefined templates using Vidu Template. Supports multiple aspect ratios (16:9, 1:1, 9:16), reproducible results via seed.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "vidu-template",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/your-photo.jpg"
}
}'
Parameters
| Parameter |
Type |
Default |
Description |
area |
string |
auto |
The area of the generated video Default value: auto. Options: auto, denmark, uk, africa, china, mexico, switzerland, russia, `italy... |
aspect_ratio |
string |
|
Options: 16:9, 1:1, 9:16 |
beast |
string |
auto |
The beast of the generated video Default value: auto. Options: auto, bear, tiger, elk, snake, lion, wolf |
bgm |
boolean |
|
Whether to add background music to the generated video. |
image_url |
string |
|
|
image_url_2 |
string |
|
|
image_url_3 |
string |
|
|
seed |
integer |
|
|
template_name |
string |
minecraft |
|
Examples
Generate from template:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "vidu-template",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/your-photo.jpg"
}
}'
Dynamic template video:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "vidu-template",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/your-image.jpg",
"aspect_ratio": "9:16",
"seed": 42
}
}'
Related Models
Documentation
1---2name: vidu-template3description: Vidu Template. Generate videos from predefined templates using Vidu Template. Triggers: video generation, video template, vidu4---56# Vidu Template78Generate videos from predefined templates using Vidu Template. Supports multiple aspect ratios (16:9, 1:1, 9:16), reproducible results via seed.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314```bash15curl -X POST https://api.eachlabs.ai/v1/prediction \16 -H "Content-Type: application/json" \17 -H "X-API-Key: $EACHLABS_API_KEY" \18 -d '{19 "model": "vidu-template",20 "version": "0.0.1",21 "input": {22 "image_url": "https://example.com/your-photo.jpg"23 }24 }'25```2627## Parameters2829| Parameter | Type | Default | Description |30|-----------|------|---------|-------------|31| `area` | string | auto | The area of the generated video Default value: auto. Options: `auto`, `denmark`, `uk`, `africa`, `china`, `mexico`, `switzerland`, `russia`, `italy... |32| `aspect_ratio` | string | | Options: `16:9`, `1:1`, `9:16` |33| `beast` | string | auto | The beast of the generated video Default value: auto. Options: `auto`, `bear`, `tiger`, `elk`, `snake`, `lion`, `wolf` |34| `bgm` | boolean | | Whether to add background music to the generated video. |35| `image_url` | string | | |36| `image_url_2` | string | | |37| `image_url_3` | string | | |38| `seed` | integer | | |39| `template_name` | string | minecraft | |4041## Examples4243**Generate from template:**44```bash45curl -X POST https://api.eachlabs.ai/v1/prediction \46 -H "Content-Type: application/json" \47 -H "X-API-Key: $EACHLABS_API_KEY" \48 -d '{49 "model": "vidu-template",50 "version": "0.0.1",51 "input": {52 "image_url": "https://example.com/your-photo.jpg"53 }54 }'55```5657**Dynamic template video:**58```bash59curl -X POST https://api.eachlabs.ai/v1/prediction \60 -H "Content-Type: application/json" \61 -H "X-API-Key: $EACHLABS_API_KEY" \62 -d '{63 "model": "vidu-template",64 "version": "0.0.1",65 "input": {66 "image_url": "https://example.com/your-image.jpg",67 "aspect_ratio": "9:16",68 "seed": 4269 }70 }'71```7273## Related Models7475- [Vidu Q1 | Start End to Video](../vidu-q-1-start-end-to-video/) - Generate videos from start and end frame images using Vidu Q1 | Start End to Video.76- [Vidu Q1 | Image to Video](../vidu-q-1-image-to-video/) - Generate videos from images using Vidu Q1 | Image to Video.77- [Vidu 1.5 | Image to Video](../vidu-1-5-image-to-video/) - Generate videos from images using Vidu 1.5 | Image to Video.7879## Documentation8081- [each::labs Docs](https://docs.eachlabs.ai)82- [API Reference](https://docs.eachlabs.ai/api/overview)