AI Manga & Anime Generator - Mangii MCP

v1.4.0
ai.mangii/manga Checked 2 days ago Published 3 months ago

Create manga and anime art from text.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

manga.list_styles List manga styles

List the 24 canonical Mangii art styles with live style ids. Call this before manga.create_story. Experimental and alias ids are excluded. Filter with group or limit when you only need one look.

ParameterTypeDescription
groupstringOptional style group. Example: shonen_action or painterly_artistic. Omit to return every selectable style.
limitintegerOptional max number of styles to return after filtering. Example: 6.

manga.get_credits Get API credits

Return the API wallet. Spendable is apiPackCredits plus packCredits after the account has ever purchased. Later ad/referral grants on that pack pool also spend. weeklyCredits is display-only.

ParameterTypeDescription
include_notesbooleanWhen true (default), include a notes string explaining that weeklyCredits does not spend on API or MCP.

manga.list_panels List story panels

List panels you own for a story. Use this to get panel_id values before changing Image 1 or Image 2 on manga.continue_story or manga.regenerate_panel. Each row has ref_role: identity on the first panel, scene on the last distinct panel, otherwise null.

ParameterTypeDescription
story_id *stringStory id from manga.create_story. Example: a Firestore story document id returned as story_id.

manga.list_stories List own stories

List stories you own, newest first. Call this when you lost story_id after context compaction so you can resume with manga.continue_story. Optional limit is an integer from 1 to 50 (default 20).

ParameterTypeDescription
limitintegerMax stories to return. Integer from 1 to 50. Default 20. Omit to use the default.

manga.create_story Create manga story

Start a new private manga (panel 1). Required: prompt + style_id from manga.list_styles. Optional identity_image or reference_image is Image 1. Style locks. Default async=false returns image_url, story_id, panel_id. Then manga.continue_story. Costs 1/2/5 credits by quality.

ParameterTypeDescription
prompt *stringScene in everyday language: characters, place, action, mood, camera, weather, color or black-and-white. Example: "A duel under cherry blossoms, low angle, rain, full color." Max 2000 characters.
style_id *stringCanonical style id from manga.list_styles. Example: classic_shonen or cinematic_anime. Locked after panel 0.
asyncbooleanOn this MCP server the default is false: wait and return image_url in one call. Set true only if you will poll manga.get_job. HTTP API default remains async.
idempotency_keystringOptional. Reuse the same key on retry so a timeout does not charge twice. 8-200 chars. Omit to mint a one-shot key (unsafe on retry).
identity_imagestringReplacement photo: https URL or data:image/...;base64,... URI. Public hosts only. Same slot cannot also send a panel id.
qualitystringGeneration quality. standard costs 1 credit, hd 2, ultra 5. Default standard. HD/Ultra need an unlocked API wallet.
reference_imagestringOptional first-panel identity photo. https URL or data URI. Alias of identity_image.
titlestringOptional story title shown in the library. Example: "Rain Duel". Omit to let Mangii name it.

manga.continue_story Continue manga story

Add the next panel. Do not send style_id. Defaults: Image 1 = first panel (identity), Image 2 = last distinct panel (scene). Override via manga.list_panels then identity_panel_id or identity_image and/or continuity_panel_id or continuity_image. Same credit costs as create.

ParameterTypeDescription
prompt *stringScene in everyday language: characters, place, action, mood, camera, weather, color or black-and-white. Example: "A duel under cherry blossoms, low angle, rain, full color." Max 2000 characters.
story_id *stringStory id from manga.create_story. Example: a Firestore story document id returned as story_id.
asyncbooleanOn this MCP server the default is false: wait and return image_url in one call. Set true only if you will poll manga.get_job. HTTP API default remains async.
context_panel_idsarrayLegacy list override [identity_panel_id, scene_panel_id]. Ignored when identity_* or continuity_* fields are set. Prefer those named slots.
continuity_imagestringReplacement Image 2 (scene) photo: https URL or data URI. Do not also send continuity_panel_id.
continuity_panel_idstringOverride Image 2 (scene) with this panel id from manga.list_panels. Do not also send continuity_image.
idempotency_keystringOptional. Reuse the same key on retry so a timeout does not charge twice. 8-200 chars. Omit to mint a one-shot key (unsafe on retry).
identity_imagestringReplacement photo: https URL or data:image/...;base64,... URI. Public hosts only. Same slot cannot also send a panel id.
identity_panel_idstringOverride Image 1 (identity) with this panel id from manga.list_panels. Do not also send identity_image.
qualitystringGeneration quality. standard costs 1 credit, hd 2, ultra 5. Default standard. HD/Ultra need an unlocked API wallet.
reference_imagestringAlias for identity_image. Replaces Image 1 with an uploaded photo or URL.

manga.regenerate_panel Regenerate manga panel

Redraw or edit one panel. Style stays locked. Same Image 1 / Image 2 ref overrides as manga.continue_story. Get ids from manga.list_panels. Costs the same credits as a new panel.

ParameterTypeDescription
panel_id *stringPanel id from a previous generate result or manga.list_panels. Example: the panel_id returned by manga.create_story.
story_id *stringStory id from manga.create_story. Example: a Firestore story document id returned as story_id.
asyncbooleanOn this MCP server the default is false: wait and return image_url in one call. Set true only if you will poll manga.get_job. HTTP API default remains async.
context_panel_idsarrayLegacy list override [identity_panel_id, scene_panel_id]. Ignored when identity_* or continuity_* fields are set. Prefer those named slots.
continuity_imagestringReplacement Image 2 (scene) photo: https URL or data URI. Do not also send continuity_panel_id.
continuity_panel_idstringOverride Image 2 (scene) with this panel id from manga.list_panels. Do not also send continuity_image.
idempotency_keystringOptional. Reuse the same key on retry so a timeout does not charge twice. 8-200 chars. Omit to mint a one-shot key (unsafe on retry).
identity_imagestringReplacement photo: https URL or data:image/...;base64,... URI. Public hosts only. Same slot cannot also send a panel id.
identity_panel_idstringOverride Image 1 (identity) with this panel id from manga.list_panels. Do not also send identity_image.
promptstringOptional rewrite of the scene. Same prompt rules as create. Omit to retry the stored prompt.
qualitystringGeneration quality. standard costs 1 credit, hd 2, ultra 5. Default standard. HD/Ultra need an unlocked API wallet.
reference_imagestringAlias for identity_image. Replaces Image 1 with an uploaded photo or URL.

manga.buy_credits Buy API credits

Return the Console billing URL so a human can fund apiPackCredits. Generate-scoped keys cannot create Checkout sessions. Call this after 402 insufficient_credits.

ParameterTypeDescription
qualitystringOptional quality you plan to generate next. Included in the response as next_generation_credits so the human knows how many credits to buy.

manga.get_job Get generation job

Poll a generation job from manga.create_story, manga.continue_story, or manga.regenerate_panel when async=true. Repeat until status is succeeded or failed. Prefer async=false so you do not need this tool.

ParameterTypeDescription
job_id *stringJob id from a previous generate result. Example: job_ab12cd34.