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

openai-image-cli

g9pedro द्वारा

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

संक्षिप्त

Generate, edit, and manage images via OpenAI's GPT Image and DALL-E models.

विवरण

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

Command-line tool for generating, editing, and creating variations of images using OpenAI's GPT Image and DALL-E models. Supports batch processing, inpainting with masks, transparent backgrounds, and local history tracking. Configurable defaults for model, size, quality, and output format.

Wraps OpenAI's image API into a single CLI with batch support, history tracking, and per-request options that would otherwise require custom scripting against the raw API.

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

  • Generating product mockup images from text descriptions
  • Batch-creating social media visuals from a JSONL prompt list
  • Editing photos with text instructions like removing or adding objects
  • Creating logo variations with transparent PNG backgrounds
  • Automating image generation in shell scripts with JSON output

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

इनपुट

User asks: generate 4 logo variations with transparent backgrounds and save them to ./logos

एजेंट
  1. 1

    Run openai-image generate "Logo design" -n 4 -b transparent -f png -o ./logos

  2. 2

    CLI sends requests to OpenAI GPT Image model with specified parameters

  3. 3

    Images are downloaded and saved as PNG files in the ./logos directory

  4. 4

    Generation metadata is recorded in local history

आउटपुट

4 PNG files saved to ./logos with transparent backgrounds, each listed with model, size, and token usage

आवश्यकताएँ

  • OPENAI_API_KEY environment variable
  • OpenAI account with API access

इंस्टॉलेशन

clawhub install g9pedro/openai-image-cli

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

लिंक