कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

grok-image-cli

cyberash-dev द्वारा

Image & Video Generation
976clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Generate and edit images via Grok API from the command line.

विवरण

यह स्किल क्या करती है

A command-line tool for generating and editing images using the xAI Grok API. Supports three models, batch generation up to 10 images, aspect ratio control, and image editing from local files or URLs. API keys are stored in the OS native credential store, not in plaintext config files.

Stores credentials in the OS keychain rather than dotfiles, so the API key is never accidentally committed or leaked through shell history.

इसे कब इस्तेमाल करें

  • Generate concept art variations from a text prompt
  • Edit a product photo to match a different art style
  • Batch-generate 10 social media images at 16:9 from a single prompt
  • Apply a watercolor or sketch effect to an existing photo
  • Quickly prototype visual assets from the terminal without opening a GUI

उदाहरण वर्कफ़्लो

इनपुट

User asks: generate 4 landscape images at 16:9 and save them to ./output

एजेंट
  1. 1

    Run grok-img auth login and enter the xAI API key when prompted

  2. 2

    Run grok-img generate "Mountain landscape at sunrise" -n 4 -a 16:9 -o ./output

  3. 3

    CLI calls the xAI image generation API with the specified parameters

  4. 4

    Downloads each generated image and saves it to ./output

आउटपुट

Four PNG files saved to ./output, filenames assigned by the CLI

आवश्यकताएँ

  • xAI API key from https://x.ai

इंस्टॉलेशन

clawhub install cyberash-dev/grok-image-cli

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक