Vidu
App · 10 actions
Generate media with Vidu, check task progress, and monitor available credits.
Actions
| Action | What it does |
|---|---|
| Cancel task | Cancel task in Vidu. |
| Generate audio | Generate audio in Vidu. |
| Generate image | Generate image in Vidu. |
| Generate video between two frames | Generate video between two frames in Vidu. |
| Generate video from an image | Generate video from an image in Vidu. |
| Generate video from references | Generate video from references in Vidu. |
| Generate video from text | Generate video from text in Vidu. |
| Get balance | Get balance in Vidu. |
| Get task | Get task in Vidu. |
| List tasks | List tasks in Vidu. |
Cancel task
Cancel task in Vidu.
Inputs
- Task
task_idtextRequired - Task.
Outputs
dataobject- The Vidu response.
Example output
{
"data": {}
}Generate audio
Generate audio in Vidu.
Inputs
- Prompt
prompttextRequired - Prompt.
- Duration in seconds
durationnumber - Duration in seconds.
- Seed
seednumber - Seed.
Outputs
dataobject- The Vidu response.
Example output
{
"data": {
"created_at": "example",
"credits": 1,
"model": "example",
"state": "example",
"task_id": "example"
}
}Generate image
Generate image in Vidu.
Inputs
- Prompt
prompttextRequired - Describe the image to create.
- Reference image URLs
imageslist - Reference image URLs.
- Resolution
resolutiontext - Resolution.One of:
1080p,2K,4K. - Aspect ratio
aspect_ratiotext - Aspect ratio.One of:
16:9,9:16,1:1,3:4,4:3,21:9,2:3,3:2.
Outputs
dataobject- The Vidu response.
Example output
{
"data": {
"created_at": "example",
"credits": 1,
"model": "example",
"state": "example",
"task_id": "example"
}
}Generate video between two frames
Generate video between two frames in Vidu.
Inputs
- Model
modeltextRequired - Model.One of:
viduq3-pro,viduq3-turbo. - Image URLs
imageslistRequired - Add the public image URLs in the order they should appear.
- Prompt
prompttext - Describe the video you want to create.
- Duration in seconds
durationnumber - Duration in seconds.From 1 to 16.
- Resolution
resolutiontext - Resolution.One of:
540p,720p,1080p. - Generate audio
audiotrue/false - Generate audio.
Outputs
dataobject- The Vidu response.
Example output
{
"data": {
"created_at": "example",
"credits": 1,
"model": "example",
"state": "example",
"task_id": "example"
}
}Generate video from an image
Generate video from an image in Vidu.
Inputs
- Model
modeltextRequired - Model.One of:
viduq3-pro,viduq3-turbo. - Image URLs
imageslistRequired - Add the public image URLs in the order they should appear.
- Prompt
prompttext - Describe the video you want to create.
- Duration in seconds
durationnumber - Duration in seconds.From 1 to 16.
- Resolution
resolutiontext - Resolution.One of:
540p,720p,1080p. - Generate audio
audiotrue/false - Generate audio.
Outputs
dataobject- The Vidu response.
Example output
{
"data": {
"created_at": "example",
"credits": 1,
"model": "example",
"state": "example",
"task_id": "example"
}
}Generate video from references
Generate video from references in Vidu.
Inputs
- Model
modeltextRequired - Model.One of:
viduq3-pro,viduq3-turbo. - Image URLs
imageslistRequired - Add the public image URLs in the order they should appear.
- Prompt
prompttextRequired - Describe the video you want to create.
- Duration in seconds
durationnumber - Duration in seconds.From 1 to 16.
- Resolution
resolutiontext - Resolution.One of:
540p,720p,1080p. - Generate audio
audiotrue/false - Generate audio.
- Aspect ratio
aspect_ratiotext - Aspect ratio.One of:
16:9,9:16,3:4,4:3,1:1.
Outputs
dataobject- The Vidu response.
Example output
{
"data": {
"created_at": "example",
"credits": 1,
"model": "example",
"state": "example",
"task_id": "example"
}
}Generate video from text
Generate video from text in Vidu.
Inputs
- Model
modeltextRequired - Model.One of:
viduq3-pro,viduq3-turbo. - Prompt
prompttextRequired - Describe the video you want to create.
- Duration in seconds
durationnumber - Duration in seconds.From 1 to 16.
- Resolution
resolutiontext - Resolution.One of:
540p,720p,1080p. - Generate audio
audiotrue/false - Generate audio.
- Aspect ratio
aspect_ratiotext - Aspect ratio.One of:
16:9,9:16,3:4,4:3,1:1.
Outputs
dataobject- The Vidu response.
Example output
{
"data": {
"created_at": "example",
"credits": 1,
"model": "example",
"state": "example",
"task_id": "example"
}
}Get balance
Get balance in Vidu.
Inputs
None.
Outputs
dataobject- The Vidu response.
Example output
{
"data": {
"packages": [],
"remaining_credits": []
}
}Get task
Get task in Vidu.
Inputs
- Task
task_idtextRequired - Task.
Outputs
dataobject- The Vidu response.
Example output
{
"data": {
"created_at": "example",
"creations": [],
"credits": 1,
"id": "example",
"model": "example",
"prompt": "example",
"state": "example"
}
}List tasks
List tasks in Vidu.
Inputs
- Created after
created_afterdate and time - Created after.
- Created before
created_beforedate and time - Created before.
- Task states
stateslist - Task states.One or more of:
created,queueing,processing,success,failed. - Page
pagenumber - Page.At least 0.
- Page size
page_sizenumber - Page size.From 1 to 100.
- Page token
page_tokentext - Page token.
Outputs
dataobject- The Vidu response.
Example output
{
"data": {
"next_page_token": "example",
"tasks": []
}
}