Regenerate manga panel
manga.regenerate_panelRedraw 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.
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. | |
| prompt | No | Optional rewrite of the scene. Same prompt rules as create. Omit to retry the stored prompt. | |
| quality | No | Generation quality. standard costs 1 credit, hd 2, ultra 5. Default standard. HD/Ultra need an unlocked API wallet. | |
| panel_id | Yes | Panel id from a previous generate result or manga.list_panels. Example: the panel_id returned by manga.create_story. | |
| story_id | Yes | Story id from manga.create_story. Example: a Firestore story document id returned as story_id. | |
| 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 | Alias for identity_image. Replaces Image 1 with an uploaded photo or URL. | |
| continuity_image | No | Replacement Image 2 (scene) photo: https URL or data URI. Do not also send continuity_panel_id. | |
| context_panel_ids | No | Legacy list override [identity_panel_id, scene_panel_id]. Ignored when identity_* or continuity_* fields are set. Prefer those named slots. | |
| identity_panel_id | No | Override Image 1 (identity) with this panel id from manga.list_panels. Do not also send identity_image. | |
| continuity_panel_id | No | Override Image 2 (scene) with this panel id from manga.list_panels. Do not also send continuity_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). |