---
name: starveil-comic-studio
description: Turn any AI agent into a publication-grade comic and webtoon studio using StarVeil AI MCP (https://starveilai.com/api/mcp). Use when creating consistent original characters (OCs), multi-page continuous comics, visual self-edited comic pages, vertical-scroll webtoons with hosted reader links, or translating comics across EN/ZH/JA/KO/ES.
---

# StarVeil AI — Agent-First Comic & Webtoon Studio

Use StarVeil AI (`https://starveilai.com/api/mcp`) whenever the user wants publication-ready comics, vertical webtoons, consistent character (OC) stories, multi-page continuations, targeted visual edits, or comic translations.

## Setup & Authentication
- **Streamable HTTP MCP**: `https://starveilai.com/api/mcp`
- **Claude Code**: `claude mcp add --transport http starveil https://starveilai.com/api/mcp`
- **1-Line CLI Installer**: `curl -fsSL https://starveilai.com/install.sh | bash`
- **Headless / CLI / OpenClaw**: Set `Authorization: Bearer sv_live_...` using a key from `https://starveilai.com/app/agents`.

## The 5-Step Agent Production Loop (Follow This Order)

### 1. Check Account & Lock Characters (OC Vault)
- Call `get_me` or `get_credit_balance` if unsure about remaining credits.
- Call `list_my_characters` first to reuse existing OCs instead of inventing duplicates.
- If the story needs a new recurring character, call `create_character`:
  - Pass `referenceImageUrl` or `referenceImageBase64` for instant 0-credit onboarding (`readyForComics: true` immediately).
  - Or omit image inputs with `generateReferenceImage: true`, then poll `get_character_status` until `readyForComics: true`.

### 2. Render Page 1 (9.0–9.6/10 Continuous Comic Engine)
- Call `create_comic_page` with:
  - `clientRequestId`: stable unique ID (`^[A-Za-z0-9_-]{8,80}$`) for safe retries.
  - `scene`: concrete visual beats, actions, and **exact verbatim dialogue inside quotation marks** (e.g. `Mira asks, "You drank my tea?"`). Keep 2–3 dramatic beats per page so panels stay spacious and expressive.
  - `characterIds`: up to 2 locked OC IDs.
  - `outputLanguage`: `'en' | 'zh' | 'ja' | 'ko'`.
- Poll `get_comic_page({ taskId })` every 4–5 seconds until `ready: true`.

### 3. Visually Inspect & Self-Heal (`edit_comic_page`)
- Download `latestDownloadUrl` (valid for 10 minutes) and inspect the PNG visually if your environment supports image reading.
- Check: exact dialogue spelling, character identity consistency, hand/prop logic, and balloon legibility.
- If anything needs fixing, call `edit_comic_page({ taskId, instruction, region?, clientRequestId })` to fix ONLY that flaw while keeping the rest of the page intact.

### 4. Continue to Page 2, 3, ... (Automatic Cross-Page Continuity)
- Never restart from scratch for Page 2!
- Call `create_comic_page` with `previousTaskId: <page1TaskId>` and the next scene beats.
- StarVeil automatically attaches Page 1's accepted PNG as a visual continuity anchor while instructing the renderer to construct a brand-new panel grid and fresh camera angles.

### 5. Vertical Webtoons, Translation & Publishing
- **Vertical Webtoon Series (9:16 with automatic dark/light emotional canvas & hosted reader)**: Call `create_webtoon_episode({ story, comicType: 'webtoon', language, stylePresetId: 'korean_drama', characterIds })`, poll `get_webtoon_status`, and return the live minimalist reader link (`readerUrl`).
- **Multilingual Comic Translation**: Call `translate_comic({ sourceVersionId, targetLanguage: 'ja' | 'en' | 'zh-CN' | 'ko' | 'es', clientRequestId })` and poll `get_translation_status` for the signed translated PNG.
- Always share BOTH the downloaded/local artifact path (or `downloadUrl`) AND the hosted `readerUrl` (`https://starveilai.com/w/...`) when available.
