---
canonical_url: "https://docs.composio.dev/toolkits/viewmax_mcp"
markdown_url: "https://docs.composio.dev/toolkits/viewmax_mcp.md"
product: "platform"
version: null
last_updated: null
---

# ViewMax MCP

Generate AI videos, images, music, speech and sound effects, browse ViewMax models and voices, and track generation tasks and credits through ViewMax's hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 14
- **Triggers:** 0
- **Slug:** `VIEWMAX_MCP`
- **Version:** 20261201_00

## Tools

### Generate image

**Slug:** `VIEWMAX_MCP_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `model` | string | Yes |  |
| `scene` | string | No |  |
| `prompt` | string | Yes |  |
| `quality` | string | No |  |
| `image_urls` | array | No |  |
| `aspect_ratio` | string | No |  |
| `idempotency_key` | string | No | Optional, 1-200 visible ASCII characters without spaces. Reuse the same key when retrying after a timeout; a repeated key returns the original task and is not charged again. |

### Generate music

**Slug:** `VIEWMAX_MCP_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `style` | string | No |  |
| `lyrics` | string | No |  |
| `prompt` | string | Yes |  |
| `instrumental` | boolean | No |  |
| `idempotency_key` | string | No | Optional, 1-200 visible ASCII characters without spaces. Reuse the same key when retrying after a timeout; a repeated key returns the original task and is not charged again. |
| `duration_seconds` | number | No |  |

### Generate sound effect

**Slug:** `VIEWMAX_MCP_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `prompt` | string | Yes | Sound effect description, at most 450 Unicode characters. |
| `idempotency_key` | string | No | Optional, 1-200 visible ASCII characters without spaces. Reuse the same key when retrying after a timeout; a repeated key returns the original task and is not charged again. |
| `duration_seconds` | number | No |  |
| `prompt_influence` | number | No |  |

### Generate speech

**Slug:** `VIEWMAX_MCP_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | Yes |  |
| `speed` | number | No |  |
| `model_id` | string | No |  |
| `voice_id` | string | Yes |  |
| `stability` | number | No |  |
| `idempotency_key` | string | No | Optional, 1-200 visible ASCII characters without spaces. Reuse the same key when retrying after a timeout; a repeated key returns the original task and is not charged again. |
| `similarity_boost` | number | No |  |

### Generate video

**Slug:** `VIEWMAX_MCP_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mode` | string | No |  |
| `audio` | boolean | No |  |
| `model` | string | Yes |  |
| `prompt` | string | Yes |  |
| `duration` | string | No |  |
| `image_urls` | array | No |  |
| `resolution` | string | No |  |
| `video_urls` | array | No |  |
| `aspect_ratio` | string | No |  |
| `idempotency_key` | string | No | Optional, 1-200 visible ASCII characters without spaces. Reuse the same key when retrying after a timeout; a repeated key returns the original task and is not charged again. |
| `source_video_duration_seconds` | number | No |  |

### Get credits

**Slug:** `VIEWMAX_MCP_GET_CREDITS`

Get the authenticated account's remaining credits. Generation consumes credits.

### Get image model

**Slug:** `VIEWMAX_MCP_GET_IMAGE_MODEL`

Get full capabilities and credit pricing for one image model. Generating an image with this model consumes credits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `model` | string | Yes |  |

### Get task

**Slug:** `VIEWMAX_MCP_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `task_id` | string | Yes |  |

### Get video model

**Slug:** `VIEWMAX_MCP_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `model` | string | Yes |  |

### List image models

**Slug:** `VIEWMAX_MCP_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.

### List music models

**Slug:** `VIEWMAX_MCP_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.

### List video models

**Slug:** `VIEWMAX_MCP_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.

### List voices

**Slug:** `VIEWMAX_MCP_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.

### Wait for task

**Slug:** `VIEWMAX_MCP_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `task_id` | string | Yes |  |
| `timeout_seconds` | integer | No |  |
