Skip to content

MCP Workflows

This page shows example workflows using the AutoVio MCP tools to drive the video pipeline.

All examples assume:

  • The AutoVio MCP server is running and configured (see MCP Setup).
  • The MCP client can call tools with a JSON args object and display JSON text results.

Use autovio_projects_create:

{
"name": "MCP Demo Project",
"styleGuide": {
"tone": "professional",
"color_palette": ["#FF5733", "#3498DB"],
"tempo": "medium"
}
}

Copy the returned id as projectId.

Call autovio_works_create:

{
"projectId": "proj_123",
"name": "MCP Demo Video",
"mode": "content_remix",
"productName": "EcoBottle",
"productDescription": "Eco-friendly reusable bottle",
"sceneCount": 5,
"videoDuration": 30
}

Copy the returned id as workId.

Workflow 2 – Generate scenario and scenes for a work

Section titled “Workflow 2 – Generate scenario and scenes for a work”

Use autovio_works_generate_scenario:

{
"projectId": "proj_123",
"workId": "work_123"
}

The response contains scenes for the work. The work in the backend is also updated.

2. Generate image and video for each scene

Section titled “2. Generate image and video for each scene”

For each scene index (0-based), call autovio_works_generate_scene:

{
"projectId": "proj_123",
"workId": "work_123",
"sceneIndex": 0
}

Repeat for sceneIndex 1, 2, etc. Each call:

  • Generates an image and video for the scene.
  • Saves media under the work’s media endpoints.
  • Updates generatedScenes for that scene.

Optionally call autovio_works_get:

{
"projectId": "proj_123",
"workId": "work_123"
}

This returns the full work object, including scenes, generated media URLs, and editor state (if previously saved by the UI or API).

You can also use AI tools that are not tied to a specific work.

Encode a small video file as base64 and call autovio_ai_analyze_video:

{
"videoBase64": "BASE64_CONTENT_HERE",
"mode": "style_transfer",
"analyzerPrompt": "Focus on camera movement and text overlays."
}

The result is an analysis object you can feed into scenario generation.

Use autovio_ai_generate_scenario:

{
"intent": {
"mode": "content_remix",
"product_name": "EcoBottle",
"product_description": "Eco-friendly reusable bottle",
"target_audience": "Eco-conscious users",
"language": "en",
"video_duration": 30,
"scene_count": 3
},
"analysis": { "...": "output from analyze_video" },
"knowledge": "Brand focuses on sustainability.",
"styleGuide": {
"tone": "professional"
}
}

The response contains a scenes array with prompts you can then use with autovio_ai_generate_image and autovio_ai_generate_video.

Call autovio_templates_list:

{
"projectId": "proj_123"
}

Pick a templateId from the result.

Use autovio_works_apply_template:

{
"projectId": "proj_123",
"workId": "work_123",
"templateId": "tmpl_123",
"placeholderValues": {
"product_name": "EcoBottle",
"brand": "Acme Co."
}
}

The response is the updated work with merged editor state (timeline, overlays, export settings).