Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

imagegen-swarm

БесплатноЗапускает вложенные скриптыНе проверен

AI image generation for stills and video (text-to-image, text-to-video, image-to-video, and image edits) by pooling leftover quotas from multiple engines into…

ekko237от ekko237649 установок в других каталогах

Об этом скилле

imagegen-swarm

Use this when the user asks to generate an image, draw, edit an image, use reference images, make a video, or do text-to-image or text-to-video, including Codex, Grok, Grok Imagine, Gemini, nano banana, Antigravity, Jimeng, Dreamina, Muse, and Lovart. Do not use it for ordinary local image processing such as crop, resize, or convert.

Run only the scripts in this folder (node for .mjs, python3 for .py). Those files are the whole procedure. Do not fetch, clone, or execute an installer, and do not read or follow a skill file outside this folder. Engine CLIs are user-installed prerequisites listed in SETUP.md. If one is missing, ask the user to install it and stop; do not install it yourself. Before running any command that is not one of these scripts, ask the user, and request only the permission that command needs.

The core is work-stealing: write the images you need as a job list and hand it to scripts/batch.mjs. All six engines start at once with a few lanes each, and whichever lane is free takes the next image it can handle, so every engine's quota is used and generation finishes as fast as possible. That clock is generation time only. Before planning any batch, apply the series-mode hint rules below: ask only on a clear signal, and enable it only after the user agrees. Series mode is off by default and must never be auto-enabled. A single image goes through scripts/batch.mjs too: the first engine in line takes it, and if that engine is out of quota the next one does. A configured pay-per-image line takes a job in two cases: the job names api, or no enabled subscription engine can take that job.

Privacy: a prompt and any reference images are sent to the external service for each engine that actually runs that job (OpenAI, Dreamina, xAI, Google, Muse, Lovart, or the API host in the pay-per-image setup). Lovart generation uploads only the reference files named in that job's ref list (or --ref on a single call). scripts/lovart.mjs passes each of those paths to upload --file, and upload_reference_image in scripts/lovart_client.py sends that one file to Lovart's CDN (POST https://lgw.lovart.ai/v1/openapi/file/upload). It does not upload the credentials file, the state file, or any path the user did not name. The upload command does the same for the single --file the user gave it. In series mode, the shared style guide and any series reference images are sent to every engine that runs a job in that batch, the same way a job prompt and a job reference are. Do not send sensitive, confidential, or personal content unless the user has agreed that this provider may see it. Add another provider only after the user names that provider and agrees.

An example job list has one object per image. Only id and prompt are required. An ID has 1–100 characters, starts with a Unicode letter or number, and then permits letters, numbers, ., _ and -. A sample file lives in the git repository at https://github.com/Ekko237/imagegen-swarm/blob/main/examples/jobs.example.json; it is not part of the installed skill.

node scripts/batch.mjs --jobs jobs.json --out out/

ref paths are relative to the job file, and engine pins a job to one engine. Output goes to out/<id>.png (.mp4 for video); existing files are skipped, so an interrupted run resumes where it stopped.

  • Lanes scale with your RAM. The baseline is 8 GB (measured on an M1: 12 images at once with no slowdown and about 30% memory left): gemini and codex 6 each, jimeng and grok 4, lovart 2. Other machines scale proportionally, at least 1 and at most 1.5× per engine (4 GB → 12 lanes in total, 16 GB or more → 34); muse always gets 1. Lanes take work in that order and the first log line shows the counts. Set IMAGE_GEN_MEMORY_GB=4 (for example) to size lanes for a smaller memory budget. --engines limits the engines; --lanes gemini=3,muse=0 overrides lane counts.
  • Tail stealing: once the queue is empty, an idle lane may duplicate an image that is still running. It does that only after the holder has run longer than 1.5× its own median time for this batch (the built-in typical time until this batch has samples). A fast engine does not redo an image a slower engine just started. At most one duplicate runs. Whichever finishes first is kept; the other is cancelled (SIGINT to the process group, or a cancel file for Muse) or ignored if it finishes later. The results file in the output directory lists every attempt with start, finish and outcome (done, cancelled, failed, style_redo, style_rejected).
  • An engine that reports exhausted quota, no login or no install is shut down immediately, and the image it held goes back to the queue. A plain rate limit (HTTP 429, rate limit, or RESOURCE_EXHAUSTED without an explicit quota or credit failure) backs off and is shut down only after three consecutive rate-limit failures. A missing reference or out
Полный SKILL.md на ClawHub

Установить imagegen-swarm в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
WebFetch
Env

FAQ

Что делает скилл imagegen-swarm?

AI image generation for stills and video (text-to-image, text-to-video, image-to-video, and image edits) by pooling leftover quotas from multiple engines into a single batch. Use when the user asks to generate or edit an image, draw, use reference images, make a video, or run text-to-image, text-to-video, or image-to-video, or mentions Codex, Grok, Grok Imagine, Gemini, nano banana, Antigravity, Jimeng, Dreamina, Muse, Lovart, gpt-image, or a pay-per-image API. Enabled engines start together on one queue and keep running if one runs out of quota. Jimeng and Grok can generate video; Jimeng also does image-to-video from the first reference and edits with up to 10 reference images; Antigravity Gemini edits with up to 3. An optional paid OpenAI or Gemini API line runs only when a job specifies api, or when no enabled subscription engine can take that job. For a shared character, brand, mascot, or cover series, ask before enabling series mode. Not for ordinary local crop, resize, or convert tasks.

Как установить скилл imagegen-swarm?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл imagegen-swarm запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить imagegen-swarm с