# ViewMax MCP

```json
{
  "name": "ViewMax MCP",
  "slug": "viewmax_mcp",
  "url": "https://composio.dev/toolkits/viewmax_mcp",
  "markdown_url": "https://composio.dev/toolkits/viewmax_mcp.md",
  "logo_url": "https://logos.composio.dev/api/viewmax_mcp",
  "categories": [
    "design & creative tools"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-12-04T05:38:21.242Z"
}
```

![ViewMax MCP logo](https://logos.composio.dev/api/viewmax_mcp)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with ViewMax MCP or direct API to generate videos and images, create music and speech, browse models and voices, and track generation tasks through natural language.

## Summary

ViewMax MCP is a hosted media generation service for creating AI videos, images, music, speech, and sound effects.
It also provides access to models, voices, generation tasks, and credit tracking in one place.

## Categories

- design & creative tools

## Toolkit Details

- Tools: 14

## Images

- Logo: https://logos.composio.dev/api/viewmax_mcp

## Authentication

- **Dcr Oauth**
  - Type: `custom`
  - Description: Dcr Oauth authentication for ViewMax MCP.
  - Setup:
    - Configure Dcr Oauth credentials for ViewMax MCP.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Generate a product demo video with narration
- Create ambient music for my travel montage
- Browse ViewMax voices for podcast narration

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `VIEWMAX_MCP_GENERATE_IMAGE` | Generate image | Create an image generation task (text-to-image, or image-to-image when image_urls are provided). Pro/Ultra flagship models (GPT Image 2, GPT Image 2.5, Nano Banana 2, Grok Imagine) and Ultra ViewMax C1 cost 0 credits within the shared daily fair-use pool; otherwise this consumes credits. Call wait_for_task with the task_id for the result URLs. |
| `VIEWMAX_MCP_GENERATE_MUSIC` | Generate music | Create an original music track from a text prompt. Costs 60 credits for tracks up to 60 seconds, then 1 credit per second (duration_seconds defaults to 60); plan allowances do not cover music. Setting style sends prompt as the song's lyrics, so do not also send lyrics; to describe a track, put the description in prompt and omit style. Music renders synchronously: the result usually returns immediately with output_urls. |
| `VIEWMAX_MCP_GENERATE_SOUND_EFFECT` | Generate sound effect | Generate a sound effect from a text prompt of at most 450 Unicode characters. Costs 5 credits. Renders synchronously: the result usually returns immediately with output_urls. |
| `VIEWMAX_MCP_GENERATE_SPEECH` | Generate speech | Convert text to speech with a selected voice_id (see list_voices). Costs ceil(characters / 20) credits, minimum 1. Speech renders synchronously: the result usually returns immediately with output_urls. |
| `VIEWMAX_MCP_GENERATE_VIDEO` | Generate video | Create a video generation task and return its task_id. mode defaults to image-to-video when image_urls are given, else video-to-video when video_urls are given, else text-to-video. Omitted duration, resolution and aspect_ratio use the mode's defaults from get_video_model and are billed at those values. Ultra ViewMax C1 generations cost 0 credits within the daily fair-use pool (also via REST API); otherwise this consumes credits from the authenticated ViewMax account. Call wait_for_task with the task_id until it finishes. |
| `VIEWMAX_MCP_GET_CREDITS` | Get credits | Get the authenticated account's remaining credits. Generation consumes credits. |
| `VIEWMAX_MCP_GET_IMAGE_MODEL` | Get image model | Get full capabilities and credit pricing for one image model. Generating an image with this model consumes credits. |
| `VIEWMAX_MCP_GET_TASK` | Get task | Get the current status, output URLs and cost_credits for one of the authenticated user's tasks (video, image, music, or audio). Failed and canceled tasks include error_code and error_message; their credits are refunded automatically. |
| `VIEWMAX_MCP_GET_VIDEO_MODEL` | Get video model | Get full capabilities and credit pricing for one video model. Each mode lists durations, resolutions, aspect_ratios, audio_toggle, credits, and defaults: the duration, resolution and aspect_ratio that generate_video sends and bills when you omit them. max_prompt_length is present when the model limits prompt length. Generating a video with this model consumes credits. |
| `VIEWMAX_MCP_LIST_IMAGE_MODELS` | List image models | List available image models with their modes (text-to-image, image-to-image), aspect ratios, qualities, and credit labels. Image generation consumes credits. |
| `VIEWMAX_MCP_LIST_MUSIC_MODELS` | List music models | List available music models and their controls (duration, instrumental) and credit cost. Music costs 60 credits for tracks up to 60 seconds, then 1 credit per second. |
| `VIEWMAX_MCP_LIST_VIDEO_MODELS` | List video models | List available video models and their capabilities. Video generation consumes credits; use get_video_model for detailed pricing and the values used when options are omitted. |
| `VIEWMAX_MCP_LIST_VOICES` | List voices | List available text-to-speech voices (id, name, gender, accent, language) and speech pricing: characters_per_credit and minimum_credits. A generation costs ceil(characters / 20) credits, minimum 1. |
| `VIEWMAX_MCP_WAIT_FOR_TASK` | Wait for task | Wait up to timeout_seconds (1-50, default 45) for a task and return its latest status in the get_task shape. Some videos take several minutes: keep calling wait_for_task until status is success, failed, or canceled. Task results are persisted and never lost. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to ViewMax MCP
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["viewmax_mcp"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["viewmax_mcp"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run ViewMax MCP tools with your agent

Send a request, execute the ViewMax MCP tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Generate a 10-second cinematic video of a sunset over snowy mountains"}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Generate a 10-second cinematic video of a sunset over snowy mountains" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to ViewMax MCP and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["viewmax_mcp"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["viewmax_mcp"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a ViewMax MCP request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to ViewMax MCP tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Generate a 10-second cinematic video of a sunset over snowy mountains")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Generate a 10-second cinematic video of a sunset over snowy mountains",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native ViewMax MCP Integration

- Supports both ViewMax MCP and direct API based integrations
- Structured, LLM-friendly schemas for generating media and querying ViewMax resources
- Rich coverage for videos, images, music, speech, sound effects, models, voices, tasks, and credits

### 2. Managed Auth

- Connect ViewMax MCP with your DCR OAuth credentials
- Central place to manage, scope, and revoke ViewMax MCP access
- Secure credential storage keeps authentication details out of your agent code

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliable media generation
- Comprehensive execution logs show which model, voice, or generation task ran and when

### 4. Enterprise Grade Security

- Fine-grained RBAC lets you control which agents and users can access ViewMax MCP
- Scoped, least privilege access protects ViewMax MCP generation and account resources
- Full audit trail of agent actions supports review and compliance

## Use ViewMax MCP with any AI Agent Framework

Choose a framework you want to connect ViewMax MCP with:

- [ChatGPT](https://composio.dev/toolkits/viewmax_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/viewmax_mcp/framework/claude-cowork)

## Related Toolkits

- [Figma](https://composio.dev/toolkits/figma) - Figma is a collaborative interface design tool for teams and individuals. It streamlines design workflows with real-time collaboration and easy sharing.
- [Alttext ai](https://composio.dev/toolkits/alttext_ai) - AltText.ai is a service that generates alt text for images automatically. It helps boost accessibility and SEO for your visual content.
- [Are.na](https://composio.dev/toolkits/arena) - Are.na is a creative research platform for collecting images, links, notes, and ideas in channels. Use it to organize inspiration, build knowledge maps, and connect research across projects.
- [Bannerbear](https://composio.dev/toolkits/bannerbear) - Bannerbear is an API-driven platform for generating images and videos automatically at scale. It helps businesses create custom graphics, social visuals, and marketing assets using powerful templates.
- [Bannerbite](https://composio.dev/toolkits/bannerbite) - Bannerbite is a creative automation platform for generating images and videos from reusable projects and templates. It helps teams produce on-brand visual assets faster without rebuilding designs from scratch.
- [BeatAPI](https://composio.dev/toolkits/beatapi) - BeatAPI is an asynchronous API platform for AI image, video, and music workflows. It enables scalable generation, video analysis, uploads, and ecommerce video pipelines.
- [Builder.io](https://composio.dev/toolkits/builder_io) - Builder.io is a visual development platform for managing content, models, assets, and Space configuration. Use it to ship editable digital experiences faster without waiting on every code change.
- [Canva](https://composio.dev/toolkits/canva) - Canva is a drag-and-drop design suite for creating professional graphics, presentations, and marketing materials. It makes it easy for anyone to design with beautiful templates and a vast library of elements.
- [Canva MCP](https://composio.dev/toolkits/canva_mcp) - Canva MCP is Canva's remote MCP server for accessing designs and content. It centralizes design assets and enables programmatic design workflows.
- [Cloudinary](https://composio.dev/toolkits/cloudinary) - Cloudinary is a cloud-based platform for managing, uploading, and transforming images and videos. It streamlines media workflows and delivers optimized assets globally.
- [Clueso MCP](https://composio.dev/toolkits/clueso_mcp) - Clueso is a product video and documentation platform for creating polished visual content. It brings video editing, voiceovers, captions, animations, and exports into one hosted workspace.
- [Contentdrips](https://composio.dev/toolkits/contentdrips) - Contentdrips is an asynchronous rendering API for branded graphics and carousels. It turns reusable templates into on-brand social visuals at scale.
- [Creatomate](https://composio.dev/toolkits/creatomate) - Creatomate is an API for generating automated videos, images, GIFs, and reusable media templates. Use it to turn structured data into polished visual content at scale.
- [Creatomate MCP](https://composio.dev/toolkits/creatomate_mcp) - Creatomate is a hosted video and image generation platform for creating dynamic media from reusable templates. It helps teams automate branded content production without building a rendering pipeline.
- [Cults](https://composio.dev/toolkits/cults) - Cults is a digital marketplace for 3D printing models, connecting designers and makers. It lets creators share, sell, and discover a huge variety of printable designs easily.
- [DeepImage](https://composio.dev/toolkits/deepimage) - DeepImage is an AI-powered image enhancer and upscaler. Get higher-quality images with just a few clicks.
- [Details MCP](https://composio.dev/toolkits/details_mcp) - Details MCP is a curated library of web design references and paste-ready Vault code. It helps teams quickly find polished transitions, buttons, and page sections.
- [Dreamstudio](https://composio.dev/toolkits/dreamstudio) - DreamStudio is Stability AI’s platform for generating and editing images with AI. It lets you easily turn ideas into stunning visuals, fast.
- [Dribbble](https://composio.dev/toolkits/dribbble) - Dribbble is a design community and publishing platform for managing shots, projects, and attachments. Use it to showcase work, collect feedback, and organize creative designs.
- [Duply](https://composio.dev/toolkits/duply) - Duply is a template management and media rendering service for images and videos. Its REST v2 API makes asynchronous, scalable content generation straightforward.

## Frequently Asked Questions

### Do I need my own developer credentials to use ViewMax MCP with Composio?

Yes, ViewMax MCP requires you to configure your own DCR OAuth credentials. Once set up, Composio handles secure credential storage and management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
