LeemanCheung/dsh-image-gen

LeemanCheung★ 0TypeScript最后同步: 2026-08-15

在 GitHub 打开

GPT Image 2 generation with progressive Codex-style previews for DeepSeek Harness

README 摘要

dsh-image-gen Generate images in DeepSeek Harness with OpenAI gpt-image-2 , using a signed-in Codex subscription by default or an API key when explicitly configured. 中文说明 The illustration mirrors the shipped card states. API-key mode can replace the light field with real streamed drafts; Codex subscription mode animates until its non-streaming response arrives. Highlights - Registers the Codex-compatible model tool name image gen . - Reuses the refreshable OAuth login owned by dsh-codex-connect ; no OPENAI API KEY is required for Codex subscription mode. - Streams up to three real provider partial images when the API-key Images endpoint is selected; Codex subscription mode keeps the developing animation active until its non-streaming response arrives. - Cross-fades each partial over one animated developing plate, then sharpens into the final image. - Stores the final image in DSH's immutable attachment store and supports replay, lightbox preview, and download. - Keeps model-facing tool output text-only, so image generation does not make a text-only model route reject conversation history. - Supports native tool calls and nested Code Mode calls with the same durable card. - Resolves…

在 GitHub 查看完整 README →
内容/媒体deepseek-harnessdsh-plugingpt-image-2image-generationopenai

分类