Ask Codex for a product video. Get the file back.
Add Roilo's hosted MCP server to Codex with an API key. It takes a couple of minutes. Then say what you want in plain words: a finished video from a product photo. Check progress and get the file without leaving Codex. No new dashboard to learn.
What you can ask
Once Roilo is connected, type what you want in plain words.
- “Make a 9:16 video for my tumbler. Use the photos on this product page: [link].”
- “What video styles does Roilo have, and what does each one cost in credits?”
- “Make that again in 16:9 with captions, for my Facebook ad.”
- “Is my video ready? Send me the download link.”
- “How many credits do I have left? How much has this key spent this month?”
Codex can also list your recent videos, approve one that is held for review, and delete one you do not need.
Tip: give Codex photo links, like the ones on your own shop or product page. Public image links work best.
One shot, no back and forth fighting with AI.
Connect Codex in about 2 minutes
One command, and a Roilo key.
You need a Roilo account with credits, and Codex (the command-line tool or the editor extension).
First, get your Roilo key
- In Roilo, open the account menu (your avatar) and choose API keys.
- Click Create key and give it a name. You can set a monthly credit limit if you like.
- Copy the key now. Roilo shows it only once.
Then, give Codex the key
- Set the key as an environment variable called
ROILO_API_KEYin the place where you start Codex. On macOS and Linux, add this line to your shell profile, then open a new terminal:On Windows PowerShell, run this once, then open a new terminal:export ROILO_API_KEY="paste-your-key-here"setx ROILO_API_KEY "paste-your-key-here"
Last, add Roilo to Codex
- Run this command:
codex mcp add roilo --url https://roilo.co/api/mcp --bearer-token-env-var ROILO_API_KEY - Codex saves it to
~/.codex/config.toml. You can also paste this in by hand:[mcp_servers.roilo] url = "https://roilo.co/api/mcp" bearer_token_env_var = "ROILO_API_KEY" - Check it worked. Run
codex mcp list. Roilo should show as enabled, with auth “Bearer token”. - Start Codex and ask for a video.
The command-line tool and the editor extension share the same config.toml, so you set it up once. Videos take a few minutes. Ask Codex to check back and tell you when yours is ready.
You set the limit, so a chat can never spend more than you decide.
The same credits as on the website, with a cap on each key.
- Credits work exactly as on the website, at the same prices. You buy a credit pack, with no monthly plan: see pricing.
- Set a monthly credit limit on each key, so Codex can never spend more than you decide.
- Lost a key, or done with it? Revoke it any time on the API keys page.
- The key sits in an environment variable on your computer and is not written into
config.toml.
Using another AI app?
The same server works in more places.
Use Claude on the web or Desktop with no terminal: see Use Roilo in Claude. For Claude Code, Cursor and other apps, see the Developers page for the setup and the full reference.
Free to sign up. Start with the trial pack: two 15-second videos for US$5.80.
Questions
Can I make Roilo videos from Codex?
Yes. Connect Roilo once, then ask Codex for a video. Pick the style, shape (9:16, 1:1 or 16:9), presenter, voice and captions in your request, or let Codex ask you.
Can I use it in ChatGPT itself?
Codex works today, with a Roilo API key. ChatGPT's own app connectors need a sign-in option that Roilo does not offer yet, so ChatGPT itself comes later. Until then, Codex and Claude both work.
Does it cost extra?
No separate charge for the connection. Videos use your Roilo credits, at the same prices as on the website. See pricing.
Do I need to be a developer?
Codex runs in a terminal or an editor, so some comfort with a command line helps. If you would rather chat, Claude connects without a terminal.
Where does my key live?
In an environment variable on your computer. Codex reads the variable's name from config.toml, never the key. Revoke it on the API keys page any time.