grok-imagine
/grok-imagine
Generuje obraz z opisu tekstowego przez wbudowane polecenie /imagine xAI Grok i zwraca ścieżkę do zapisanego pliku oraz polecenie open do jego obejrzenia.
- Autor
- lovelaceloom ↗
- Repozytorium
- grok-plugin-cc ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 18.07.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 18.07.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Generuje obraz z opisu tekstowego przez wbudowane polecenie /imagine xAI Grok i zwraca ścieżkę do zapisanego pliku oraz polecenie open do jego obejrzenia.
Oryginalny opis (EN)
Generate an image from a text description using xAI Grok's `/imagine` builtin. Use when the user asks for an image, picture, illustration, logo, mockup, or visual artifact. Returns the absolute path to the saved image plus an `open` command to view it.
Jak działa
- When to use
- How to invoke
- Output rules
Podgląd SKILL.md
---
name: grok-imagine
description: Generate an image from a text description using xAI Grok's `/imagine` builtin. Use when the user asks for an image, picture, illustration, logo, mockup, or visual artifact. Returns the absolute path to the saved image plus an `open` command to view it.
---
# Grok — Imagine (Image Generation)
Use this skill when the user wants Grok to generate an image. The companion wraps Grok's `/imagine` builtin, sanitizes the output, and prints the saved image path.
## When to use
- The user asks "generate an image of…", "draw…", "create a picture of…", "make a logo for…", "mockup…".
- The user wants a visual deliverable rather than text.
Do **not** use this skill for:
- Video generation → there is a separate `imagine-video` companion subcommand (currently slash-command only; surface to the user).
- Image *analysis* (describing an existing image) — Grok-ask with the image attached is a separate flow.
## How to invoke
Run **exactly one** bash command:
```bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/companion.mjs" imagine "<the user's image description, properly quoted>"
```
### Common flags
- `--save-to <path>` — copy the generated image to a path. If `<path>` ends with `/` or is an existing directory, the source basename is appended. Defaults to a session-internal path under `~/.grok/sessions/`.
- `--model <name>` — override the default imagine model.
- `--timeout <duration>` — default 5 minutes. `0` to disable.
- `--json` — emit machine-readable JSON instead of human-readable output.
## Output rules
- Return the companion's stdout **verbatim**. It includes:
- `Image: /absolute/path/to/file.jpg` — the saved image path.
- An `open "<path>"` line (macOS). Linux users can substitute `xdg-open`.
- A `Session: <id>` resumption handle when present.
- If Grok returns a content-policy refusal (no markdown image link in the response), surface the raw text so the user sees Grok's reason — do not retry silently with a softened prompt.
- If `$ARGUMENTS` is empty, clarify with the user what image they want before invoking.
Wersje
W bazie nie ma innych skilli o nazwie grok-imagine.
Migawka bazy z 28.10.2026 · wersja paczki 764d649ee03c (skrót SHA-256 całej paczki)
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100image-gen
Generuje obrazy AI przez Fal.ai, gpt-image-2, nano-banana, MiniMax image-01 i xAI Grok Imagine. - 95xai-grok-imagine-image
Generuje i edytuje obrazy produkcyjne przez API xAI Grok Imagine, z wyborem modelu, referencjami i kontrolą kosztów. - 1009router-video
Generuje wideo przez 9Router i xAI Grok Imagine z tekstu lub obrazu: wysyła zadanie, odpytuje o status i pobiera plik MP4. - 100scenario-grok-imagine-image
Generuje i edytuje obrazy modelami Grok Imagine w Scenario przez MCP: text-to-image, edycję instrukcjami z referencjami, plakaty z dokładnym tekstem i ujęcia fotorealistyczne. - 95xai-grok-imagine-video
Tworzy, edytuje i przedłuża krótkie wideo przez API xAI Grok Imagine Video, z kontrolą kosztów i moderacji. - 100scenario-grok-imagine-video
Generuje i edytuje wideo modelami Grok Imagine w Scenario przez MCP: tekst na wideo, obraz na wideo, referencje @image dla spójnych postaci, edycja promptem, przedłużanie klipu i dźwięk z lip-sync.