Create manga story
manga.create_storyStart 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| async | No | On 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. | |
| title | No | Optional story title shown in the library. Example: "Rain Duel". Omit to let Mangii name it. | |
| prompt | Yes | Scene 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. | |
| quality | No | Generation quality. standard costs 1 credit, hd 2, ultra 5. Default standard. HD/Ultra need an unlocked API wallet. | |
| style_id | Yes | Canonical style id from manga.list_styles. Example: classic_shonen or cinematic_anime. Locked after panel 0. | |
| identity_image | No | Replacement photo: https URL or data:image/...;base64,... URI. Public hosts only. Same slot cannot also send a panel id. | |
| idempotency_key | No | Optional. 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). | |
| reference_image | No | Optional first-panel identity photo. https URL or data URI. Alias of identity_image. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Machine error code such as invalid_request, insufficient_credits, or quality_forbidden. | |
| job_id | No | Async job id when async is true or the work is still running. | |
| message | No | Human-readable error. Never includes stack traces or internal paths. | |
| quality | No | Quality used for this generation. | |
| panel_id | No | Generated or regenerated panel id. | |
| story_id | No | Created or existing story id. | |
| image_url | No | HTTPS URL of the finished panel when async is false and generation succeeded. | |
| next_step | No | What the agent should call next. Follow this instead of guessing. | |
| request_id | No | Request correlation id. | |
| credits_charged | No | API credits billed for a successful generation. | |
| credits_remaining | No | Remaining spendableCredits after the call (apiPack plus purchase-backed packs). |