[GH-ISSUE #1852] [Issue]: ArliAI SD API image generation fails while chat completion works #897

Closed
opened 2026-10-21 05:23:08 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @cha1latte on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1852

Originally assigned to: @cha1latte on GitHub.

Summary

ArliAI chat completion connections can work, but image generation through the SDNext / AUTOMATIC1111-style image generation provider does not appear to connect or submit requests in the format ArliAI expects.

Expected behavior

A Marinara image generation connection pointed at ArliAI's SD API should generate images using ArliAI's documented endpoint:

https://api.arliai.com/sdapi/v1/txt2img

ArliAI expects JSON request bodies with required prompt and sd_model_checkpoint fields, and bearer-token authorization.

Actual behavior

Image generation does not connect or generate successfully with ArliAI, even though chat completion can work.

Steps to reproduce

  1. Configure an ArliAI connection that works for chat completion.
  2. Configure or select an SDNext / AUTOMATIC1111-style image generation connection for ArliAI.
  3. Attempt image generation.
  4. The image generation request fails or does not connect successfully.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: Not specified
  • Run mode: Not specified
  • OS + version: Not specified
  • Node + pnpm versions: Not specified
  • Rust version, if relevant: Not specified
  • Remote Runtime URL configured? Not specified
  • Provider, model, or integration, if relevant: ArliAI image generation via SD API / SDNext-style endpoint

Logs, screenshots, or video

Provider documentation example:

{
  "prompt": "A photo of an astronaut riding a horse on the moon",
  "negative_prompt": "ugly, blurry, low quality",
  "steps": 30,
  "sampler_name": "DPM++ 2M Karras",
  "width": 1024,
  "height": 1024,
  "sd_model_checkpoint": "IMAGE_GENERATION_MODEL",
  "seed": -1,
  "cfg_scale": 7
}

ArliAI notes that prompt and sd_model_checkpoint are required, parameters should be sent as JSON, and images are returned in the images array as base64 strings.

Docs: https://www.arliai.com/quick-start

Regression notes

Unknown.

Additional context

Triage note: this looks like a provider compatibility bug rather than a new feature. Marinara already has an AUTOMATIC1111 / SD.Next-style image path, but ArliAI appears to require bearer auth on generation requests and sd_model_checkpoint as a top-level request field.

Template check

I DID NOT read this template and provide the requested details.

Originally created by @cha1latte on GitHub (Jun 1, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1852 Originally assigned to: @cha1latte on GitHub. ## Summary ArliAI chat completion connections can work, but image generation through the SDNext / AUTOMATIC1111-style image generation provider does not appear to connect or submit requests in the format ArliAI expects. ## Expected behavior A Marinara image generation connection pointed at ArliAI's SD API should generate images using ArliAI's documented endpoint: `https://api.arliai.com/sdapi/v1/txt2img` ArliAI expects JSON request bodies with required `prompt` and `sd_model_checkpoint` fields, and bearer-token authorization. ## Actual behavior Image generation does not connect or generate successfully with ArliAI, even though chat completion can work. ## Steps to reproduce 1. Configure an ArliAI connection that works for chat completion. 2. Configure or select an SDNext / AUTOMATIC1111-style image generation connection for ArliAI. 3. Attempt image generation. 4. The image generation request fails or does not connect successfully. ## Impact area - [ ] App shell, navigation, startup, or providers - [x] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [x] Shared API wrapper or remote runtime routing - [x] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: Not specified - Run mode: Not specified - OS + version: Not specified - Node + pnpm versions: Not specified - Rust version, if relevant: Not specified - Remote Runtime URL configured? Not specified - Provider, model, or integration, if relevant: ArliAI image generation via SD API / SDNext-style endpoint ## Logs, screenshots, or video Provider documentation example: ```json { "prompt": "A photo of an astronaut riding a horse on the moon", "negative_prompt": "ugly, blurry, low quality", "steps": 30, "sampler_name": "DPM++ 2M Karras", "width": 1024, "height": 1024, "sd_model_checkpoint": "IMAGE_GENERATION_MODEL", "seed": -1, "cfg_scale": 7 } ``` ArliAI notes that prompt and sd_model_checkpoint are required, parameters should be sent as JSON, and images are returned in the images array as base64 strings. Docs: https://www.arliai.com/quick-start ## Regression notes Unknown. ## Additional context Triage note: this looks like a provider compatibility bug rather than a new feature. Marinara already has an AUTOMATIC1111 / SD.Next-style image path, but ArliAI appears to require bearer auth on generation requests and sd_model_checkpoint as a top-level request field. ## Template check I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:23:08 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@cha1latte commented on GitHub (Jun 1, 2026):

fixed in #1859

<!-- gh-comment-id:4597090518 --> @cha1latte commented on GitHub (Jun 1, 2026): fixed in #1859
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#897
No description provided.