ChatGPT/Codex Plugin
Open Studio
Back to ChatGPT/Codex Plugin

Agent-readable install guide

Connect LlamaGen to ChatGPT & Codex

This page describes the capability that exists now: a hosted Comic MCP protected by a LlamaGen API token. It does not claim that a public marketplace plugin or OAuth installation has shipped.

Create API token
Required preflight

Check access and credits before creating.

Follow this order every time. The agent should not spend credits or begin a comic run until the account passes the balance check.

  1. 01

    Create and copy an API token

    Open LlamaGen Settings → API, click Create Key, then use the copy button beside the new key. Keep the token private.

    Open API settings
  2. 02

    Connect the hosted MCP

    Use https://llamagen.ai/api/mcp with Streamable HTTP and the Authorization header: Bearer <API_TOKEN>.

  3. 03

    Check the credit balance first

    The agent must call get_comic_api_usage. If remaining API credits are below 5,000, it must stop before reading the creation docs or generating.

  4. 04

    Upgrade or add credits when needed

    If the balance is below 5,000, upgrade the Comic API plan or buy a one-time API credit pack.

    View Comic API pricing
  5. 05

    Read the creation docs, then plan

    When at least 5,000 credits remain, read the current Comic API documentation, propose the comic plan, and wait for approval before generation.

    Read Comic API docs

Use the live tool name: get_comic_api_usage

Older screenshots may showget_api_usage. The current MCP manifest exposesget_comic_api_usage, so the agent must call that exact tool.

Setup

Four steps. One honest connection.

  1. 01

    Confirm workspace support

    Open ChatGPT Settings → Apps. Continue only if your workspace can create a custom MCP app and use write actions.

  2. 02

    Create the LlamaGen app

    Use https://llamagen.ai/api/mcp as the remote MCP server. Choose bearer authentication and use an API token created in LlamaGen Settings → API.

  3. 03

    Scan and verify tools

    Scan the server, confirm the four tools below, and make sure comic creation is available—not only read and fetch actions.

  4. 04

    Paste the working prompt

    The prompt makes usage, approval, generation, and the editor handoff explicit before the first project starts.

MCP server URL

Use in ChatGPT's custom app configuration

https://llamagen.ai/api/mcp

ChatGPT access depends on plan and workspace policy

Some ChatGPT plans or workspaces can create custom MCP apps but do not expose write actions. Ifcreate_comic_generationis unavailable, do not present the integration as fully connected; use the same brief in LlamaGen instead.

Verification

The four tools the agent should see.

The public MCP manifest and server card are the source of truth. If this list differs in the host, stop and reconnect before generating.

search_llamagen_docs

Search the integration and Comic API documentation.

get_comic_api_usage

Check the plan and remaining API credits before reading the creation docs or generating.

create_comic_generation

Start a comic, manga, webtoon, or storyboard generation.

get_comic_generation_status

Read task state, generated panels, assets, and errors.

Production rules

Keep control where it belongs.

Approve before generation

Ask for a page or batch plan first. Creation consumes LlamaGen API credits.

Keep usage separate

ChatGPT & Codex usage pays for reasoning; LlamaGen credits pay for comic generation.

Refine in the editor

Use the host to control the workflow and LlamaGen to perfect layout, bubbles, assets, and delivery.

Working prompt

Connect LlamaGen as a custom MCP app.

Server URL: https://llamagen.ai/api/mcp
Authentication: Bearer token from LlamaGen Settings > API

Required preflight:
1. Ask me to open https://llamagen.ai/settings?tab=api, click Create Key, and copy the new API token without pasting it into chat.
2. Confirm that https://llamagen.ai/api/mcp is connected with Authorization: Bearer <API_TOKEN>.
3. Confirm that you can see search_llamagen_docs, get_comic_api_usage, create_comic_generation, and get_comic_generation_status.
4. Call get_comic_api_usage before reading the creation docs or generating. If remaining API credits are below 5,000, stop and send me to https://llamagen.ai/comic-api/pricing to upgrade my plan or buy an API credit pack.
5. When the balance is at least 5,000 credits, read https://llamagen.ai/comic-api/docs to learn the current comic-creation flow.
6. Turn my brief into a panel plan and ask me to approve it before calling create_comic_generation.
7. Use LlamaGen for comic generation and send me to the LlamaGen editor for panel layout, bubbles, replacements, and visual polish.

If this ChatGPT workspace does not support custom MCP write actions, explain that limitation clearly and reuse the same creative brief in the LlamaGen editor.
Existing LlamaGen technical surface

Need protocol details, limits, or canonical tool schemas?