본문으로 건너뛰기
cccskills
무료GitHub에 공개

generate-image

Generate images using AI (OpenAI GPT Image or Stability AI). Use when the user asks to generate an image, create an AI image, make an illustration, or produce artwork from a text prompt.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구OpenAI
설치 방법 보기

포함된 파일(1)

  • SKILL.md4.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

AI Image Generation

Generate images from text prompts using OpenAI GPT Image (gpt-image-2 / gpt-image-1 / variants) or Stability AI (SD 3.5 Large).

Tool Location

  • Script: ~/.agents/tools/generate-image.py
  • Env file: ~/.agents/tools/.env (contains OPENAI_API_KEY and STABILITY_API_KEY)

Available OpenAI image models (verified live via /v1/models 2026-05-15)

Model IDNotes
gpt-image-2Flagship. Released 2026-04-21. Best prompt adherence, best photorealism. Default when image quality matters.
gpt-image-2-2026-04-21Pinned dated variant of gpt-image-2
gpt-image-1.5Intermediate release between 1 and 2
gpt-image-1-miniSmaller/cheaper gpt-image-1 variant — use for batch/draft generation where cost matters
gpt-image-1Original gpt-image. Still works; superseded by gpt-image-2.
chatgpt-image-latestAlways-current alias of the model ChatGPT.com uses (currently gpt-image-2-class). Use when you want "whatever ChatGPT uses today"
dall-e-3Legacy fallback. Different quality semantics (standard/hd, not low/medium/high).

Pass any of these to --model. The script branches on gpt-image* for the quality/format handling, so all gpt-image-* variants work out of the box.

Default in the script is now gpt-image-2 (the flagship) — pass --model gpt-image-1-mini for cheap batch/draft work.

Quick Usage

Generate with OpenAI gpt-image-2 (flagship)

python ~/.agents/tools/generate-image.py \
  --prompt "a sunset over mountains, oil painting style" \
  --output ./sunset.png \
  --model gpt-image-2 \
  --quality high

Generate with default (gpt-image-2)

python ~/.agents/tools/generate-image.py \
  --prompt "a sunset over mountains, oil painting style" \
  --output ./sunset.png

High quality

python ~/.agents/tools/generate-image.py \
  --prompt "modern logo design for a tech company" \
  --output ./logo.png \
  --size 1024x1024 \
  --quality high

Wide format (good for blog covers, banners)

python ~/.agents/tools/generate-image.py \
  --prompt "abstract digital art with blue tones" \
  --output ./banner.png \
  --size 1536x1024

Tall format (good for mobile, stories)

python ~/.agents/tools/generate-image.py \
  --prompt "portrait of a futuristic city" \
  --output ./city.png \
  --size 1024x1536

Transparent background (icons, logos)

python ~/.agents/tools/generate-image.py \
  --prompt "a minimalist cat icon, flat design" \
  --output ./icon.png \
  --background transparent

Generate with Stability AI (SD 3.5 Large)

python ~/.agents/tools/generate-image.py \
  --prompt "watercolor painting of a garden" \
  --output ./garden.png \
  --provider stability

CLI Options

OptionDescription
--prompt, -p(Required) Text prompt describing the desired image
--output, -o(Required) Output file path
--provideropenai (default) or stability
--sizeImage size for OpenAI: 1024x1024 (default), 1536x1024 (wide), 1024x1536 (tall)
--qualityOpenAI quality: low, medium (default), or high
--backgroundOpenAI background: auto (default), transparent, or opaque
--modelOverride model (default: gpt-image-2 for OpenAI, sd3.5-large for Stability)

Provider Comparison

FeatureOpenAI gpt-image-2OpenAI gpt-image-1Stability AI SD 3.5
Released2026-04-212025—
Prompt adherenceBestExcellentGood
Size options1024x1024, 1536x1024, 1024x15361024x1024, 1536x1024, 1024x15361024x1024
Quality optionslow, medium, highlow, medium, highN/A
Transparent bgYesYesNo
StylePhotorealistic + artisticPhotorealistic + artisticArtistic + photorealistic
Cost per image (high)Higher than 1BaselineN/A

Dependencies

  • requests (for API calls)

Install if needed:

pip install requests

Output

The script prints:

  • The provider and model used
  • The prompt (and revised prompt if applicable)
  • The saved file path

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Design, plan, and analyze A/B tests with statistical rigor. Use when the user asks about A/B testing, split testing, experiment design, statistical significance, sample size calculation, test duration, multivariate testing, or conversion experiments. Trigger phrases include "A/B test", "split test", "experiment", "statistical significance", "sample size", "test duration", "which version wins", "conversion experiment", "hypothesis test", "variant testing".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OpenClaudia/openclaudia-skills7172026년 10월 11일 업데이트

Build and manage an affiliate marketing program. Use when the user says "affiliate program", "affiliate marketing", "affiliate partners", "referral commissions", "affiliate network", "partner program", "affiliate tracking", or asks about creating, managing, or growing an affiliate or partner program.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OpenClaudia/openclaudia-skills7172026년 10월 11일 업데이트

Manages Ahrefs API usage in Python using `ahrefs-python` library. Use when working with SEO / marketing related tasks or with data including backlinks, keywords, domain ratings, organic traffic, site audits, rank tracking, and brand monitoring. Covers `ahrefs-python` usage including AhrefsClient / AsyncAhrefsClient, typed request/response models, error handling, and all API sections.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OpenClaudia/openclaudia-skills7172026년 10월 11일 업데이트

Generate an AI Citations Report (GEO) for a domain — which AI-search prompts cite the site across Google AI Overview and ChatGPT, plus organic-traffic context and per-article citation coverage. Use when the user asks for an 'AI citations report', 'GEO citations report', or 'which AI prompts cite <domain>'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OpenClaudia/openclaudia-skills7172026년 10월 11일 업데이트

Research and enrich B2B leads using the Apollo.io API. Use when the user says "find leads", "prospect research", "company enrichment", "find decision makers", "B2B leads", "lead research", "enrich contacts", "find VP of marketing at", or asks about finding people at specific companies or in specific roles.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OpenClaudia/openclaudia-skills7172026년 10월 11일 업데이트

Audit a domain's backlink profile using the SemRush API. Use when the user says "audit backlinks", "check my backlinks", "backlink analysis", "link profile", "toxic links", "disavow", "link building opportunities", "referring domains", "anchor text", or asks about a site's link authority.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OpenClaudia/openclaudia-skills7172026년 10월 11일 업데이트

OpenClaudia의 스킬 모두 보기

이 스킬의 문제 신고