# render.ai for agents

render.ai turns a text prompt into a complete, editable presentation. The result opens in a
browser editor and exports to PowerPoint (.pptx), PDF, and Google Slides.

**render.ai is built to be driven from your chat, not from a web app.** Connect the MCP
server once and you can generate decks, view slides, request edits, export PDFs, track progress
and check credits in this conversation. Hosts supporting MCP Apps show interactive slide galleries.
Sign-in and consent, publishing, and exporting to .pptx or Google Slides use the browser.

**No render.ai account is needed to start.** Adding the MCP connector is the sign-up path:
the browser step creates the account. There is nothing to set up first.

If you are reading this because a user asked for a presentation: the fastest correct move is
to ask them to add the connector (60 seconds, no payment details), then do the rest yourself.
Read [Getting started from zero](#getting-started-from-zero) and
[Canonical workflow](#canonical-workflow); you can skip the REST section entirely unless they
already pay for render.ai.

- MCP server: `https://api.render.ai/mcp` (OAuth 2.1) — free plan, start here
- REST API: `https://api.render.ai/v1` (`X-API-Key`) — existing paid customers only
- OpenAPI spec: `https://api.render.ai/openapi.json`
- This page as markdown: [/agents.md](/agents.md) on this same host — prefer it, it is the same content
  without markup or tracking scripts
- Pricing as markdown: [/pricing.md](/pricing.md) on this same host — credit costs, plan limits, and what
  the free plan covers
- Answers to product questions: [/guides.md](/guides.md) on this same host — the reference hub for
  "can render.ai do X, and how". Each article answers one question directly (exporting to
  PowerPoint, what a generation costs, driving it from an agent, how it compares to
  PowerPoint or Canva), grouped by topic, each with its own `.md` twin at
  `/guides/<slug>.md`. Read the relevant one before telling a user something is not
  possible — this page covers the interfaces, not the product's full behaviour

## Which interface should I use

| If you are | Use | Auth | Plan |
| --- | --- | --- | --- |
| An assistant helping a human | MCP | OAuth 2.1 | Free plan works |
| An agent that needs a deck mid-task | MCP | OAuth 2.1 | Free plan works |
| Already a paying customer, writing code | REST | `X-API-Key: sk-rndr-...` | Paid only |

**Use MCP unless the user already has a paid plan and an API key.** MCP is the only interface
that works on the free plan, and it is the only one a new user can reach at all.

Do not tell a new user to go and create an API key. They cannot: key creation is disabled on
the free plan, so that route dead-ends at an upgrade prompt before they have generated
anything. The MCP flow provisions its own credentials during authorization, with no plan
gate and no key handling by you or the user.

## Getting started from zero

Endpoint: `https://api.render.ai/mcp`, Streamable HTTP, OAuth 2.1. Claude users can start from `/mcp`, which opens Claude with render.ai already filled in.

Sign-up and authorization are the same step. Walk the user through this once:

1. **They add the connector** in their client:
   - Claude: Settings > Connectors > Add custom connector > `https://api.render.ai/mcp`
   - ChatGPT: Settings > Connectors > Add > `https://api.render.ai/mcp`
   - Cursor, Claude Code, and other MCP hosts: add a `streamable-http` server at
     `https://api.render.ai/mcp`
2. **Their browser opens render.ai.** If they do not have an account they create one here —
   this is the sign-up. If they already have one they sign in.
3. **They approve the consent screen.** render.ai issues the connector its own credentials.
   Neither you nor the user ever handles an API key.
4. **Done.** The tools below are available and the free plan's credits are live. No payment
   details are required to reach this point.

What you cannot do: complete steps 2 and 3 for them. They involve a browser, a password and
a consent click. Ask the user to do it, then continue. Everything else is yours.

If the user is reluctant to sign up, the honest pitch is that the free plan generates real,
complete decks — 10 of them — so they can judge output quality before paying anything.

Authorization discovery follows RFC 9728. An unauthenticated request returns `401` with
`WWW-Authenticate: Bearer resource_metadata="https://api.render.ai/.well-known/oauth-protected-resource"`.

### Tools

| Tool | Arguments | Purpose |
| --- | --- | --- |
| `generate_presentation` | see table below | Create a classic presentation and show a live gallery in supported hosts. Retain `presentationId`, `generationId` and `contentUrl`. |
| `get_generation_status` | `generationId` | Read generation status and export details without opening another gallery. |
| `check_usage` | none | Signed-in account, credit balance, plan details, recent generations. |
| `cancel_generation` | `generationId` | Cancel a generation that is `pending` or `processing`. Works on every plan. Cancellation does not refund the generation charge. |
| `edit_presentation` | `presentationId`, `instruction`, `idempotencyKey`; optional `slideIds` | Ask render.ai's editor agent to make and check a change. Shows progress and affected slides. |
| `get_edit_status` | `presentationId`, `editId` | Read an edit's progress, outcome, saved revision and affected slides without another gallery. |
| `cancel_edit` | `presentationId`, `editId` | Cancel an active edit; already-saved changes remain. |
| `get_presentation` | `presentationId`; optional `slideNumbers` or `slideIds`, `includeThemes`, `includePreviews` | Read the saved revision, active theme, full slide inventory and selected content. The theme catalog is opt-in. |
| `get_slide_previews` | `presentationId`, `expectedRevision`; optional `slideIds`, `includeImages` | Open an HTML gallery of the deck or selected slides; optionally return rendered pixels for agent inspection. |
| `export_presentation` | `presentationId`, `format` (`pdf`), `idempotencyKey`; optional `revision` | Export a saved deck at a saved revision. Shows progress and a download button. |
| `get_export_status` | `presentationId`, `exportId` | Read an export's status and, once complete, its download link, file name and expiry. |

## Canonical workflow

Do this, in this order:

1. Call `generate_presentation` with `inputText` and `textMode`. It needs no setup call.
2. Retain `presentationId`, `generationId` and `contentUrl`. Acknowledge generation in one
   short sentence with `contentUrl` linked once. Omit raw IDs and repeated status, regardless
   of whether the host shows the live card.
3. For generation alone, end the turn. The card shows progress and the finished slides, which
   answers a request to see them. Do not promise a later chat update. Poll
   `get_generation_status` only when this turn must act on the finished deck, such as a PDF, an
   edit or a content review, never just to show slides.
   Use terminal widget context matching both `generationId` and `presentationId` when available.
   Widget context updates may arrive only on the next host turn; they do not wake the agent.
4. For a requested change, call `edit_presentation` with the presentation ID and full instruction.
   Its card shows progress and the edited slides. A preliminary read or usage check is unnecessary.
   Then end the turn, as with generation. Act only on the current request; earlier edits and
   decks update their own cards.
5. For a PDF of an existing deck, call `export_presentation` once edits have finished. Its card
   shows progress and the download; poll `get_export_status` only when you need the link.

Describe visual style and colour preferences in `inputText` or `additionalInstructions`.
render.ai matches a theme automatically. Use `themeId` only for an already-known override.

`inputText` is the only content the generator receives. It does not see your conversation.
Synthesize everything relevant — subject matter, key points, specific data, desired structure,
tone — into that one field. More detail produces a better deck, up to the 10,000-character
limit. Above the limit the call is rejected, so condense long source material rather than
pasting it.

### generate_presentation parameters

| Field | Required | Notes |
| --- | --- | --- |
| `inputText` | yes | Maximum 10,000 characters. |
| `textMode` | no | Defaults to `generate`, which writes slides from a topic. `condense` shortens supplied text. `preserve` keeps supplied text as-is. |
| `numCards` | no | Number of slides, 1 to 75. |
| `themeId` | no | Already-known theme ID. Omit to let render.ai match a theme to the brief. |
| `additionalInstructions` | no | Maximum 2,000 characters. |
| `exportAs` | no | Set to `pdf` when requested. Omitted means no export file. |
| `idempotency_key` | no | A fresh random UUID for each new intended generation. Keys persist across chats on the same connector connection. Reuse the key and identical arguments only for retries. |
| `textAmount` | no | `brief`, `medium`, `detailed`, `extensive`. |
| `tone` | no | Free text, max 500 characters. |
| `audience` | no | Free text, max 500 characters. |
| `language` | no | Language code such as `en`, `es`, `fr`. |
| `imageSource` | no | `aiGenerated`, `none`. |
| `imageStyle` | no | `photorealistic`, `illustration`, `3dRendering`. Applies only to `imageSource: "aiGenerated"`. |

**MCP flattens what REST nests.** Over MCP, pass `tone`, `audience`, `textAmount`,
`language`, `imageSource` and `imageStyle` as top-level arguments. The REST API groups the
same settings under `textOptions` and `imageOptions` objects. Copying the REST shape into an
MCP call will not work.

### What the tools return

`generate_presentation` returns `generationId`, `status` (usually `processing`),
`contentUrl` and, once allocated, `presentationId`. Retain the presentation ID for editing;
it identifies the deck, while the generation ID identifies the operation.

`get_generation_status` and `cancel_generation` return compact MCP responses containing
`generationId`, `status` and `phase`, plus `presentationId`, `slideCount`, `contentUrl`,
`exportUrl`, `exportExpiresAt`, `credits`, `warnings[]` and `error` when available.
They omit the original brief, screenshot URL and static metadata. Warnings and errors remain
complete. REST response fields are unchanged.

Status credits contain `deducted` and `remainingAfterDeduction`; the latter is a historical
balance, not the current account balance. Cancelled results also report `refunded: 0` when
charge details are available. `check_usage` reports the current balance and only a future
`resetsAt`; `renewalStatus: "overdue"` means the recorded renewal date has passed.

An `IDEMPOTENCY_CONFLICT` includes the existing generation's identity and status. That rejected
call did not start or charge another generation. Keep the original key and arguments for an
exact retry; use a fresh random UUID only for a new intended deck.

### Worked example

Call `generate_presentation` with:

```json
{
  "inputText": "Q3 results for the board. Revenue 4.2M, up 18% QoQ. Net retention 112%. Headcount 61. Ask: approve 2M for EMEA expansion.",
  "textMode": "condense",
  "numCards": 12,
  "additionalInstructions": "Board audience. Use only the figures supplied; do not invent numbers."
}
```

It returns:

```json
{
  "generationId": "gen_01J8XQ2M4K",
  "presentationId": "11111111-1111-4111-8111-111111111111",
  "status": "processing",
  "contentUrl": "https://render.ai/chat/11111111-1111-4111-8111-111111111111"
}
```

Acknowledge the start with `contentUrl` linked once, then end the turn for ordinary generation.
The card shows progress and the finished slides. If this turn must act on the finished deck,
such as a PDF, an edit or a content review, poll
`get_generation_status` with `{"generationId": "gen_01J8XQ2M4K"}`:

```json
{
  "generationId": "gen_01J8XQ2M4K",
  "status": "completed",
  "phase": "completed",
  "contentUrl": "https://render.ai/chat/11111111-1111-4111-8111-111111111111",
  "screenshotUrl": "https://cdn.render.ai/.../cover.png",
  "exportUrl": "https://cdn.render.ai/.../deck.pdf",
  "exportExpiresAt": "2026-08-19T12:00:00Z",
  "warnings": []
}
```

`exportUrl` is present only when `exportAs` was set on the request.

### Status values

`status` is one of `pending`, `processing`, `completed`, `failed`, `cancelled`. It moves
`pending` -> `processing` -> `completed`, or ends at `failed` or `cancelled`.

`phase` gives finer progress and is one of `queued`, `generating_outline`,
`generating_deck`, `generating_images`, `exporting`, `finalizing`, `completed`, `failed`,
`cancelled`. Note that `phase` repeats the three terminal states, so do not treat it as
progress-only.

A typical generation finishes in 1-3 minutes. If you poll, stop when `status` is `completed`,
`failed` or `cancelled`.

Two things agents get wrong here:

- A `completed` generation can still carry `warnings[]`. The deck exists, but something
  degraded. Read the array before reporting success.
- `exportUrl` expires 48 hours after the export is produced.

## REST API

For existing paid customers. If the user is new, use MCP instead — this section is a
dead end for them.

Keys are prefixed `sk-rndr-` and are created in the dashboard under Account > API Keys.
**Key creation is disabled on the free plan**, so a new user cannot obtain one, and every
`/v1` generation call is refused without a paid plan. The MCP server has neither
restriction.

```bash
curl -X POST https://api.render.ai/v1/generations \
  -H "X-API-Key: sk-rndr-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "inputText": "Quarterly business review for Q1 2026",
    "textMode": "generate",
    "numCards": 10
  }'
```

Poll it every 10 seconds, never more often than every 5:

```bash
curl https://api.render.ai/v1/generations/GENERATION_ID \
  -H "X-API-Key: sk-rndr-YOUR_KEY"
```

Endpoints: `POST /v1/generations`, `GET /v1/generations/{generationId}`,
`DELETE /v1/generations/{generationId}`, `GET /v1/themes`, `GET /v1/usage`, `GET /v1/health`.

Full specification: `https://api.render.ai/openapi.json`

## Edit and review over MCP

For requests such as "improve slide 3's title" or "make all slide titles red", call
`edit_presentation` directly:

```json
{
  "presentationId": "11111111-1111-4111-8111-111111111111",
  "instruction": "Improve the title on slide 3. Keep its meaning and leave the other slides unchanged.",
  "idempotencyKey": "improve-slide-3-title-1"
}
```

Include the user's constraints and necessary context in `instruction`; the editor agent cannot
see your conversation. Optional `slideIds` target known slides without a preliminary read.
The result includes `editId`, `status`, progress and affected slide IDs, and its card shows
progress and the affected slides when ready. Like generation, an edit ends the turn by default.
Act only on the current request; earlier edits and decks update their own cards. Report a
terminal result matching both `presentationId` and `editId` without rereading the presentation.
If this turn must act on an unfinished edit, check `get_edit_status`; `get_presentation` is not
a completion check.

Reuse the same key and arguments for retries. `cancel_edit` stops an active edit without
undoing saved work. `incomplete` with `EDIT_INCOMPLETE` means the agent ended without fulfilling
the whole request; `failed` means execution failed. Either can include saved changes; use the
summary, error, `revisionAfter` and `affectedSlideIds` to explain the outcome. An explicit
`outcome: "no_change"` means no document edits were saved: explain the summary, since the request
may already be satisfied or could not be applied. A failed status read leaves the outcome unknown;
a failed preview leaves the edit outcome unchanged, so retry the preview, not the edit.

Settled edits report `creditsDeducted`, `creditsRefunded` and net `settledCredits`. Running or
financially uncertain results omit these fields.

`DECK_STILL_GENERATING` means wait for the existing generation. Respect busy-deck errors; do not
interrupt another editor. For interrupted work requiring reconciliation, do not replay it under
a new key.

### Read a presentation

Read `get_presentation` when a task needs the deck's content. Select up to eight slides using
one-based `slideNumbers` or stable `slideIds`, never both. Numbers include hidden slides;
inventory indices are zero-based. Default reads include selected content and the active
`themeId`, without catalogs. `includeThemes: true` adds the full theme catalog.
`includePreviews: true` adds selected slide images for agent inspection without opening a card.

### View slides

Generation and edit cards already show their slides, so a request to see them after a
generation or edit needs no further call. Use `get_slide_previews` for another deck, an earlier
revision, selected slides or a card whose preview failed, with the saved revision as
`expectedRevision`. Omit `slideIds` to view the whole deck or select particular visible slides.
Normal galleries do not generate screenshots, spend generation credits or send image tokens to
the model, so there is no need to sample slides. To identify the current theme, use
`get_presentation`'s `themeId`.

To critique content, read `get_presentation` text. Set `includeImages: true` only when the
agent needs rendered pixels for a visual check; this supports up to eight slides. Widget
context from a gallery is a snapshot of that card.
Both HTML and image previews load the requested saved revision, including earlier revisions.
A missing source returns `PREVIEW_SNAPSHOT_UNAVAILABLE`; the latest document is never substituted.

Presentation inspection, editing and galleries are MCP capabilities, with no corresponding
public REST editing endpoints. They support classic presentations.

## Cost and limits

- Each generation costs 40 credits, over MCP and REST alike.
- The free plan includes 400 credits.
- Free plan rate limits: 30 generations per hour, 2 concurrent.
- `inputText` maximum 10,000 characters. `additionalInstructions` maximum 2,000. Slides 1 to 75.

Call `check_usage` over MCP, or `GET /v1/usage` over REST, before generating if the balance
matters. Full plan and credit detail, including the paid tiers, is at [/pricing.md](/pricing.md).

`edit_presentation` is refused at 0 credits, with nothing changed. Otherwise it charges only for
content work: new or rewritten text, generated images and infographics. Theme, layout and structure
changes, reads, previews, exports, status checks and cancellation calls are free; cancelling an
edit does not refund work already saved. Use
`check_usage` when the user asks about balance or capacity, not as a routine preflight for edits.
Usage returns a fresh structured object and matching JSON text, without an interactive card.

On a credit or plan limit, briefly state the fact (for example, the credits needed and
available, and a future renewal date) and link `error.recovery.url` as render.ai's plans page.
Viewing and exporting existing presentations still works. The agent gives this in chat; cards
show the failure without credit instructions or buttons. Do not promote upgrades or purchases,
send users to a help page or expand the message into a checklist.
Do not retry automatically. After resolution, check the balance and
retry only unfinished work: a terminal failed edit needs a new `idempotencyKey`; uncertain work
must retain its original key. Saved changes are kept. Generation retries keep the original key.

## Export

- PDF of a saved deck: call `export_presentation` with `format: "pdf"` and a fresh
  `idempotencyKey`. It exports the current saved revision, or the `revision` you pass, and
  reports the revision it exported. The file renders after the call returns; the card shows
  progress and a download button. `get_export_status` returns `url`, `fileName`, `mimeType`
  and `expiresAt` once complete; the link works for 48 hours. Retry a failed export whose
  `error.retryable` is true with a new key. Branding follows the editor: free-plan PDFs carry
  render.ai branding. A completed export reports `branding` (`render.ai` or `none`), and
  `check_usage` reports the account's `exports.branding` before exporting.
- PDF with a new deck: set `exportAs: "pdf"` on the generation. The file is at `exportUrl` for 48 hours.
- PDF is the only format available programmatically.
- PowerPoint (.pptx) and Google Slides: **not available through MCP or the API.** A person
  exports these from the editor at `contentUrl`. If the user needs a .pptx, hand them
  `contentUrl` and say so rather than looking for an endpoint.

## Branding

During generation, put visual preferences in the brief; render.ai chooses a suitable theme.
After generation, MCP's `edit_presentation` can change colours, fonts, layout and images.
Provide the desired change and any constraints explicitly. MCP does not provide a general
file-upload or corporate-template import tool. REST generation still accepts `themeId`
from `GET /v1/themes` and does not expose presentation editing.

## What you can do without the app

Everything in this list is a tool call. None of it needs the user to open render.ai.

| Task | How |
| --- | --- |
| Create a deck | `generate_presentation` |
| Choose a visual style | Describe it in the brief; render.ai matches a theme |
| Review slides | The generation/edit card; `get_slide_previews` for another deck, revision or slide selection |
| Edit an existing deck | `edit_presentation` with the requested change |
| Report progress | The live card, or `get_generation_status` / `get_edit_status` |
| Get the private editor link | `contentUrl` or `editorUrl`; opening it requires account access |
| Get a PDF | `export_presentation` for a saved deck, or `exportAs: "pdf"` on a new generation |
| Check the balance before spending | `check_usage` |
| Stop a run | `cancel_generation` or `cancel_edit` |

What still needs a browser, and what to say when it comes up:

| Task | What to tell the user |
| --- | --- |
| First-time setup | One sign-in and consent click when they add the connector. |
| .pptx or Google Slides | No API for it. Open `contentUrl` and export from the editor. |
| Publish a shareable website | Open the editor and publish the deck. The private editor link is not a public share link. |
| Upload a file | Use the editor's upload controls. |
| A Studio presentation | MCP creates classic decks. Offer a classic deck, or create the Studio presentation in the web app. |
| Plans and credits | Link render.ai's plans page; plan changes happen in the app. |

## When not to use render.ai

- You need a text document, a spreadsheet, or a web page. render.ai produces presentations.
- You need slides bound to live data that refresh on their own. A generation is a one-time
  render.
- You need a result in under a few seconds. Generating a deck takes appreciably longer.
- You need to onboard with no human present at all. Sign-up and consent happen in a browser
  and need one click from a person. After that, everything is yours.

## Support

For help with the render.ai plugin, MCP connection, or a presentation generation, email
[team@render.ai](mailto:team@render.ai). Include the client you are using, what happened,
and the generation ID if available. Do not send passwords, API keys, or access tokens.

You can disconnect the integration in your AI client's settings and revoke the connection
in render.ai Settings.
