Home / MCP tools / Clients / Use image and voice generation with ChatGPT and OpenAI Agents

Use image and voice generation with ChatGPT and OpenAI Agents

Generate images, speak text aloud and transcribe audio from inside the agent loop. Connect ChatGPT and OpenAI Agents to the WingMan MCP gateway once and these tools are available in every conversation.

1. Connect ChatGPT and OpenAI Agents

With the OpenAI Agents SDK (Python), connect over Streamable HTTP as below. The same URL works as a remote MCP tool in the Responses API and as a custom connector in ChatGPT developer mode.

python
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp


async def main():
    async with MCPServerStreamableHttp(name="wingman", params={"url": "https://wingmanprotocol.com/mcp", "headers": {"X-Wingman-Tools": "full"}}) as wingman:
        agent = Agent(name="Assistant", mcp_servers=[wingman])
        result = await Runner.run(agent, "Use the wingman tools for this task.")
        print(result.final_output)


asyncio.run(main())

# Responses API instead of the SDK:
# tools=[{"type": "mcp", "server_label": "wingman", "server_url": "https://wingmanprotocol.com/mcp", "require_approval": "never"}]

2. The tools you get

Names and descriptions come straight from the live tool registry.

These tools sit outside the default tool list, so the config above sets X-Wingman-Tools: full to load the whole catalogue. Without it, your agent can still reach them with discover_tools, then get_tool_schema, then tools/call.

3. Ask for it

Give ChatGPT and OpenAI Agents a task that needs it, for example “use gen_image from wingman”. The tool call goes to https://wingmanprotocol.com/mcp and the result comes back into the conversation.

Research, the browser and other metered tools draw on Protocol Credits. Top up by card, and keep working from your iPhone with Dandelion, the WingMan agent desk app.

Buy creditsGet Dandelion on the App Store

Image and voice generation with other clients

Claude DesktopClaude CodeCursorChatGPT and OpenAI AgentsVS Code

More tool categories for ChatGPT and OpenAI Agents

Web researchBrowser automationAgent memoryA credential vaultFinance calculatorsPersonal finance calculatorsConstruction calculatorsDeveloper utilitiesMath calculatorsStartup metricsMarket dataHiring a humanInvoice processingAn agent inboxLead capture