{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "v1ki-dsh-plugin-subscriptions--generate-and-edit-images-with-subscription-accounts",
 "repo": "V1ki/dsh-plugin-subscriptions",
 "repo_url": "https://github.com/V1ki/dsh-plugin-subscriptions",
 "repo_slug": "v1ki-dsh-plugin-subscriptions",
 "title": "Generate and edit images with GPT or Grok",
 "page_title": "How to generate and edit images with GPT or Grok with DSH Plugin Subscriptions",
 "summary": "Have a DSH agent create or edit images through the image_generate tool using a ChatGPT or Grok subscription.",
 "who": "A creator or designer using DSH who needs quick image drafts or edits inside a conversation and already has a ChatGPT or X Premium subscription.",
 "problem": "Image tools usually need a separate paid image API, and copying images between tools breaks the workflow.",
 "outcome": "The agent saves generated or edited images under the plugin folder, returns their paths, and shows them inline in the conversation.",
 "steps": [
  "Install the plugin into DSH by following the Install section of the README.",
  "In Settings, then Subscriptions, log in to ChatGPT (Codex) and/or Grok.",
  "In a session, ask the agent to call image_generate and set the provider argument to gpt or grok.",
  "To edit, attach 1 to 5 DSH attachment references through the referenceImages argument, which requires the DSH attachment service.",
  "Open the saved image paths under ~/.dsh/plugins/subscriptions/images/ and check the result matches the prompt."
 ],
 "agent_prompt": "Using the dsh-plugin-subscriptions repo, call the image_generate tool with the prompt <prompt> and provider set to gpt or grok. Expected output: one or more image file paths under ~/.dsh/plugins/subscriptions/images/ shown inline in the conversation. Verify that the file exists and matches the requested size and quality.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "Editing requires the DSH attachment service, and the README says invalid or duplicate references fail rather than generating a new image.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "DeepSeek Harness (DSH) installed, with a web UI you can open",
  "An active ChatGPT Plus or Pro, Claude Pro or Max, or X Premium subscription, or a GitHub Copilot or Google Antigravity account, for the provider you want",
  "Permission to install the plugin into DSH, following the Install section of the README"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "account-pooling",
   "notice": "Image generation can try the remaining logged-in accounts after a quota or entitlement rejection, so set pool.enabled or pool.autoAccounts to false if you want only the default account used."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/v1ki-dsh-plugin-subscriptions/generate-and-edit-images-with-subscription-accounts/",
 "md": "https://dedupedai.com/use-cases/v1ki-dsh-plugin-subscriptions/generate-and-edit-images-with-subscription-accounts/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/v1ki-dsh-plugin-subscriptions--generate-and-edit-images-with-subscription-accounts.json",
 "api_version": "v1"
}
