Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

openai-image-cli

bởi g9pedro

Image & Video Generation
1.0kLượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

  • OPENAI_API_KEY environment variable
  • OpenAI account with API access

Cài đặt

clawhub install g9pedro/openai-image-cli

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết