ViewMax MCP

v1.0.1
io.github.bytevirts/viewmax Checked 4 days ago Published 1 month ago

Official ViewMax Studio MCP: AI video, image, music, speech and sound effects.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_video_models

List available video models and their capabilities, including accepted_inputs per mode (image_urls, video_urls, audio_urls). Video generation consumes credits; use get_video_model for detailed pricing and the values used when options are omitted.

get_video_model

Get full capabilities and credit pricing for one video model. Each mode lists durations, resolutions, aspect_ratios, audio_toggle, accepted_inputs (when the mode accepts image_urls, video_urls, or audio_urls), reference_audio_max_seconds (when capped), 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.

ParameterTypeDescription
model *string

generate_video

Create a video generation task and return its task_id. For audio-driven lip-sync or voice-matched character/animal videos, pass audio_urls (for example from generate_speech) together with image_urls on a model whose mode lists audio_urls in accepted_inputs (such as viewmax-c1, minimax-h3, seedance-2-0, or p-video). mode defaults to image-to-video when audio_urls are given on a model that accepts audio in image-to-video, else reference-to-video when audio_urls are given on a reference-to-video model, else image-to-video when image_urls are given, else video-to-video when video_urls are given, e…

ParameterTypeDescription
model *string
prompt *string
aspect_ratiostring
audioboolean
audio_urlsarrayOptional reference audio http(s) URLs (e.g. speech from generate_speech) for audio-driven lip-sync and timing on models whose mode lists audio_urls in accepted_inputs.
duration
idempotency_keystringOptional, 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.
image_urlsarray
modestring
resolutionstring
source_video_duration_secondsnumber
video_urlsarray

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.

ParameterTypeDescription
task_id *string

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.

ParameterTypeDescription
task_id *string
timeout_secondsinteger

get_credits

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

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.

get_image_model

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

ParameterTypeDescription
model *string

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.

ParameterTypeDescription
model *string
prompt *string
aspect_ratiostring
idempotency_keystringOptional, 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.
image_urlsarray
qualitystring
resolutionstring
scenestring

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.

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.

ParameterTypeDescription
prompt *string
duration_secondsnumber
idempotency_keystringOptional, 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.
instrumentalboolean
lyricsstring
stylestring

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.

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.

ParameterTypeDescription
text *string
voice_id *string
idempotency_keystringOptional, 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.
model_idstring
similarity_boostnumber
speednumber
stabilitynumber

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.

ParameterTypeDescription
prompt *stringSound effect description, at most 450 Unicode characters.
duration_secondsnumber
idempotency_keystringOptional, 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.
prompt_influencenumber