veo_get_1080p
Retrieve the 1080p high-resolution version of a completed Veo-generated video. The video must be in 'succeeded' state before requesting.
Instructions
Get the 1080p high-resolution version of a generated video.
By default, Veo generates videos at a lower resolution for faster processing.
Use this tool to get the full 1080p version of a completed video.
Use this when:
- You need a higher resolution version for production use
- The initial video generation is complete and you want to upscale
- You need a clearer, more detailed video output
Note: The video must be in 'succeeded' state before requesting 1080p version.
Returns:
Task ID and the 1080p video information including the new video URL.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | The video ID from a previous generation result. This is the 'id' field from the video data, not the task_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- tools/video_tools.py:168-193 (handler)The main handler function for the veo_get_1080p tool. Decorated with @mcp.tool(), it accepts a video_id string, calls client.get_1080p(), and formats the result.
@mcp.tool() async def veo_get_1080p( video_id: Annotated[ str, Field( description="The video ID from a previous generation result. This is the 'id' field from the video data, not the task_id." ), ], ) -> str: """Get the 1080p high-resolution version of a generated video. By default, Veo generates videos at a lower resolution for faster processing. Use this tool to get the full 1080p version of a completed video. Use this when: - You need a higher resolution version for production use - The initial video generation is complete and you want to upscale - You need a clearer, more detailed video output Note: The video must be in 'succeeded' state before requesting 1080p version. Returns: Task ID and the 1080p video information including the new video URL. """ result = await client.get_1080p(video_id) return format_video_result(result) - core/client.py:176-181 (helper)The HTTP client method get_1080p that sends the actual API request. Makes a POST to /veo/videos with action='get1080p' and the video_id.
async def get_1080p(self, video_id: str) -> dict[str, Any]: """Get 1080p version of a video.""" logger.info(f"📺 Getting 1080p video for: {video_id}") return await self.request( "/veo/videos", self._with_async_callback({"action": "get1080p", "video_id": video_id}) ) - core/utils.py:58-71 (helper)The format_video_result helper used by the handler to format the API response into JSON with async submission guidance.
def format_video_result(data: dict[str, Any]) -> str: """Format video generation result as JSON. Args: data: API response dictionary Returns: JSON string representation of the result """ return json.dumps( _with_submission_guidance(data, "veo_get_task", "veo_get_tasks_batch"), ensure_ascii=False, indent=2, ) - core/types.py:1-26 (schema)Type definitions used by the tool, including VideoResolution literal type (contains '1080p').
"""Type definitions for Veo MCP server.""" from typing import Literal # Veo model versions VeoModel = Literal[ "veo2", "veo2-fast", "veo3", "veo3-fast", "veo31", "veo31-fast", "veo31-fast-ingredients", ] # Aspect ratio options AspectRatio = Literal["16:9", "9:16", "3:4", "4:3", "1:1"] # Default model DEFAULT_MODEL: VeoModel = "veo2" # Video resolution options VideoResolution = Literal["4k", "1080p", "gif"] # Default aspect ratio DEFAULT_ASPECT_RATIO: AspectRatio = "16:9" - main.py:173-173 (registration)Registration of veo_get_1080p in the server card/tool listing endpoint for HTTP mode.
{"name": "veo_get_1080p", "description": "Get 1080p version"},