[GH-ISSUE #6079] [Issue]: OpenRouter image-only models request unsupported text output #3369

Closed
opened 2026-10-21 06:02:24 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Sep 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6079

Originally assigned to: @SpicyMarinara on GitHub.

Summary

OpenRouter image generation requests both image and text output for image-only models outside a fixed vendor list. This rejects otherwise valid models such as Microsoft MAI and Grok Imagine. Existing PR #5747 contains Nelathan's fix; this issue tracks that specific request-shape bug.

Expected behavior

Request image output by default, adding text only for model families that support both. Preserve the existing dedicated Images API routing.

Actual behavior

The contributor reports a 404 response: No endpoints found that support the requested output modalities: image, text. Current staging still sends both modalities for Microsoft MAI and Grok Imagine chat-completions image requests.

Steps to reproduce

  1. Configure an OpenRouter image connection using microsoft/mai-image-2.5 or x-ai/grok-imagine-image-2.0.
  2. Request image generation through an Engine image-generation path, such as Illustrator.
  3. Observe the unsupported image,text request and the reported provider rejection. A deterministic local HTTP fixture can also capture this request without a paid generation.

Environment

  • Marinara Engine version: current staging 182fc4b70a8830c465952ba4a68a6af828decdcf; contributor originally reported this in PR #5747.
  • Install type: source inspected; contributor's live-test install type not specified.
  • OS + version: not specified by contributor; request-shape issue is platform independent.
  • Browser or app shell: not specified; server-side provider request.

Logs, screenshots, or video

See #5747 for the contributor's error and live-generation results. The public OpenRouter image model catalog checked on 2026-09-12 still lists the affected MAI and Grok models as image-only.

Additional context

Original implementation: @Nelathan in #5747. @SpicyMarinara is maintaining that existing PR through staging conflict resolution, regression updates, review, and merge. No duplicate implementation PR is needed. The separate Images API endpoint issue #5750 is already fixed and must remain intact.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 12, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6079 Originally assigned to: @SpicyMarinara on GitHub. ## Summary OpenRouter image generation requests both image and text output for image-only models outside a fixed vendor list. This rejects otherwise valid models such as Microsoft MAI and Grok Imagine. Existing PR #5747 contains Nelathan's fix; this issue tracks that specific request-shape bug. ## Expected behavior Request image output by default, adding text only for model families that support both. Preserve the existing dedicated Images API routing. ## Actual behavior The contributor reports a 404 response: `No endpoints found that support the requested output modalities: image, text`. Current staging still sends both modalities for Microsoft MAI and Grok Imagine chat-completions image requests. ## Steps to reproduce 1. Configure an OpenRouter image connection using `microsoft/mai-image-2.5` or `x-ai/grok-imagine-image-2.0`. 2. Request image generation through an Engine image-generation path, such as Illustrator. 3. Observe the unsupported `image,text` request and the reported provider rejection. A deterministic local HTTP fixture can also capture this request without a paid generation. ## Environment - Marinara Engine version: current staging `182fc4b70a8830c465952ba4a68a6af828decdcf`; contributor originally reported this in PR #5747. - Install type: source inspected; contributor's live-test install type not specified. - OS + version: not specified by contributor; request-shape issue is platform independent. - Browser or app shell: not specified; server-side provider request. ## Logs, screenshots, or video See #5747 for the contributor's error and live-generation results. The public OpenRouter image model catalog checked on 2026-09-12 still lists the affected MAI and Grok models as image-only. ## Additional context Original implementation: @Nelathan in #5747. @SpicyMarinara is maintaining that existing PR through staging conflict resolution, regression updates, review, and merge. No duplicate implementation PR is needed. The separate Images API endpoint issue #5750 is already fixed and must remain intact. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:02:24 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 12, 2026):

Fixed in #5747, merged into staging at 5e3dd361e6. All 27 PR checks passed before merge.

<!-- gh-comment-id:5646526186 --> @SpicyMarinara commented on GitHub (Sep 12, 2026): Fixed in #5747, merged into staging at 5e3dd361e6b7c90c13712d1d4a3fa9bcaaef8d10. All 27 PR checks passed before merge.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3369
No description provided.