About Openai Compatible Imagegen
Openai Compatible Imagegen is an MCP server published by Syh1906 in the Blockchain category: standalone Skill and Codex Plugin for OpenAI-compatible image generation, editing, batch workflows, QA, and focused canvas editing. Conduid read 31 tools from its source: batch_images, bind_imagegen_project, deliver_image, destroy_image_editor, edit_image, export_image_artifact and 25 more. No package is published for it, so it installs from a source checkout.
The repository has 65 stars and 6 forks, and its last commit was on 5 Nov 2026. Conduid has no tagged release on record for it. Its topics include batch-generation, codex-app, codex-plugin, codex-skill, image-editing and image-generation.
Install
git clone https://github.com/Syh1906/openai-compatible-imagegenTools (31)
batch_imagesSubmit a durable batch of independent generation and standard edit tasks, returning jobId immediately. Reuse submissionKey after a lost reply. Poll get_image_job for ordered partial results and all pages; collect successful image IDs for final delivery with render_image_results in groups of up to 10. Concurrency shares the executor's eight slots across jobs.| Parameter | Type | Description |
|---|---|---|
| concurrency | number |
bind_imagegen_projectBind the current task to an existing absolute project root, protect the resolved artifact directory with a local .gitignore containing only *, and return an image project binding ID for later model and app-only tools across MCP processes. Rebind with the same ID after configuration changes.| Parameter | Type | Description |
|---|---|---|
| projectRoot * | string |
deliver_imageRun local exact-size, grid, preview-board, and QA delivery for a stable image ID. Keep the original immutable and store derivatives separately. When deliveryReady is true, collect the returned derivative artifact IDs for final delivery selection and present the selected results with render_image_results before replying to the user.destroy_image_editorEnd all active canvas sessions for the selected image in the current project binding and remove its reopen entry point. Call only when the user explicitly requests destruction or the task has moved away and the image no longer needs viewing, annotation, or editing; do not call for ordinary hiding, panel closure, or temporary discussion.edit_imageSubmit a durable edit job for a new immutable image version and immediately return jobId. Preserve submissionKey and any canvas submissionId. Poll get_image_job and collect successful child image IDs for final delivery with render_image_results; do not repeat uncertain edits with a new key.| Parameter | Type | Description |
|---|---|---|
| prompt * | string | |
| referenceImageIds | array |
export_image_artifactCopy an image artifact's exact original bytes to a new project-relative destinationPath for downstream tools. Creates missing directories, never overwrites an existing file, and requires a matching PNG, JPEG, WebP, GIF, or static SVG extension. Returns the relative destination, byte count, and SHA-256; the artifact remains immutable.finalize_host_image_importCommit or abort a prepared host image handoff without accepting another path, prompt, or source declaration.| Parameter | Type | Description |
|---|---|---|
| action * | string |
finalize_image_editor_sessionRelease the image canvas temporary session state before the host unloads it.generate_imageSubmit a durable image generation job and return its jobId without waiting for generation. Reuse submissionKey after a lost reply to recover the same job. Multiple candidates preserve ordered single-image requests and atomic group publication. Poll get_image_job and collect successful image IDs for final delivery with render_image_results.| Parameter | Type | Description |
|---|---|---|
| prompt * | string |
get_host_image_handoffRead a local host image handoff by handoffId or submissionKey. Prepared state does not prove the host was never invoked. Querying does not regenerate images or settle canvas submissions.get_image_artifactRead image content, safe metadata, and current canvas availability by stable image ID.get_image_batch_manifestRead an immutable batch manifest by stable batch ID, including per-item originals, delivery receipts, and errors, without displaying images automatically.get_image_delivery_receiptRead immutable derived artifacts and QA summaries by stable delivery receipt ID without displaying images automatically.get_image_editor_sessionLet the image canvas check whether its own session is still active.get_image_jobRead a durable image job and an ordered page of up to 10 item results. Poll the same job until done; a query timeout never resubmits or cancels generation. Read all nextOffset pages and collect successful image IDs for final delivery with render_image_results. Intermediate previews may be included again in the final set using the same IDs. Unknown outcomes must not be regenerated automatically.| Parameter | Type | Description |
|---|---|---|
| afterRevision | number | |
| limit | number | |
| offset | number | |
| waitMs | number |
import_local_imageImport an existing PNG, JPEG, WebP, GIF, or static SVG from a project-relative sourcePath as an immutable image artifact. PNG, JPEG and WebP can be edit inputs; GIF/SVG are for preview and original export. Does not call an image service or change the authentication route. Never use host image handoff tools for existing local files.initialize_image_configCreate an API Key or ChatGPT image configuration template at the fixed user path without overwriting an existing file. Protect user and optional project configuration directories with a local .gitignore containing only *; the API Key template prefers api_key_env.| Parameter | Type | Description |
|---|---|---|
| authMode | string | |
| projectRoot | string |
inspect_image_configReturn redacted user configuration, optional project overrides, and fixed paths without returning api_key or other credentials.| Parameter | Type | Description |
|---|---|---|
| projectRoot | string |
inspect_imagegen_runtimeReturn redacted diagnostics for the MCP server, startup-root relationships, and client roots capability without returning local paths or root URIs.list_image_modelsReturn image models and safe capability declarations from the current image configuration.open_image_editorCreate an editing session for the current widget to open its focused canvas. Returns session data without mounting another widget. A canvas explicitly destroyed in the current project binding cannot be reopened.prepare_host_image_importFreeze one ChatGPT generation, conversation edit, or canvas edit intent. Preserve submissionKey after a lost reply. A replay is not permission to invoke the host again. Edit preparation returns the clean parent image as model-visible content.| Parameter | Type | Description |
|---|---|---|
| count | string | |
| intent * | string | |
| prompt * | string | |
| route * | string |
prepare_image_edit_submissionSave the current canvas revision and issue a server submission ID that binds the selected API Key edit or ChatGPT host handoff to the same parent image, annotations, and mask policy.| Parameter | Type | Description |
|---|---|---|
| items * | array | |
| markupPngBase64 | string | |
| sourcePrompt * | string |
read_image_artifact_dataRead image bytes by stable image ID for the image workspace. This tool is visible only to the app/widget.render_image_resultsDisplay an explicitly selected set of up to 10 images in order. PNG/JPEG/WebP have independent canvas entries; GIF/SVG support preview and original export only. Collect results across operations for final delivery; intermediate previews may be included again in the final set using the same IDs. Do not omit a required image because it was shown earlier, or repeat an already complete final set. This tool does not infer task completeness or select versions for you.| Parameter | Type | Description |
|---|---|---|
| imageIds * | array |
report_imagegen_host_observationRecord redacted structure for the two standard host results in the current release. The report remains an unverified widget observation, not proof of host provenance, and excludes images, text values, local paths, and client identity.reveal_image_artifactReveal and select the local image file in the system file manager by stable image ID. This workspace-only tool does not return the local path.save_image_annotationsSave multiple independent normalized annotations for the current image and return a stable annotation ID.| Parameter | Type | Description |
|---|---|---|
| items * | array |
save_image_editor_draftSave unsent annotations and additional instructions before the host unloads the current canvas so the next canvas for the same image can restore them once.stage_host_image_importSnapshot the exact local path returned by the current Codex host image generation call into its prepared handoff.| Parameter | Type | Description |
|---|---|---|
| hostOutput * | object |
update_image_configUpdate allowlisted user or project configuration fields and protect the target configuration directory with a local .gitignore containing only *. User-level api_key writes require an explicit request and remain redacted; project scope rejects credentials and non-allowlisted fields. Rebind the project after an update.| Parameter | Type | Description |
|---|---|---|
| changes * | object | |
| projectRoot | string | |
| scope | string |
Security checks
6 checks have not been run yet.