Connecting Codex CLI to Veo MCP

📘 Complete Guide: Use Ace Data Cloud MCP in Codex CLI →

A video model from Google DeepMind, supporting Veo 2 / Veo 3 / Veo 3.1, with optional 1080P + native audio. After connecting it to Codex CLI through MCP, you can invoke it directly in the conversation, without switching windows or copying and pasting.

Get an API Token

Log in to the application list, open General Application, and click the copy button to the right of API KEY. For detailed steps, see the complete guide.

Get an Ace Data Cloud API Key

Configuration

Edit the configuration: ~/.codex/config.toml

[mcp_servers.veo]
url = "https://veo.mcp.acedata.cloud/mcp"
type = "http"

http_headers = { "Authorization" = "Bearer 你的Token" }

After saving, the tools will load automatically when the next codex session starts.

Usage Examples

Use Veo 3 to generate an 8-second video: early morning in the mountains, a rolling sea of clouds, with natural ambient sound

Use this image (link xxx) as the first frame to generate an 8-second video with camera movement

Use Veo 3.1 fast to quickly generate a product demonstration video, 1080P

Tools

Tool Description
veo_text_to_video Veo 2 / 3 / 3.1 text-to-video
veo_image_to_video Image-to-video