agentsclimarketplace

Gpt atelier

Skill tdimino/claude-code-minoan/skills/design-media/gpt-atelier

OpenAI GPT Image generation and editing (gpt-image-2, 1.5, 1, mini). Text-to-image, mask-based inpainting, multi-reference composition, multi-turn conversational editing via Responses API, streaming with partial images. This skill should be used when generating or editing images via OpenAI's image models, when near-perfect text rendering in images is needed, when mask-based region-aware editing is required, when multi-turn conversational image editing is desired, or when streaming progressive image delivery is needed. Complements nano-banana-pro (Gemini) as a parallel image generation backend.From its SKILL.md

Install
npx -y skills add tdimino/claude-code-minoan --skill gpt-atelier

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • reads credentialsReads from 1 credential source: `OPENAI_API_KEY`.
  • runs commandsInstructs the agent to run 8 commands, including `python3 scripts/test_connection.py --check-models` and 7 more.

SKILL.md

8.8 KB, ~2.1k tokens by cl100k_base, as published. Nobody here has run it

GPT Atelier

OpenAI GPT Image generation and editing. Wraps both the Image API (one-shot) and Responses API (multi-turn conversational) with 6 scripts covering generate, edit, compose, converse, stream, and test workflows.

Prerequisite: OPENAI_API_KEY environment variable.

Models

FlagModelStrengths
(default)gpt-image-2Reasoning-based, ~99% text rendering, up to 8 consistent images, 4K, streaming
--fastgpt-image-1.5Region-aware editing, 4x faster, cheaper
--minigpt-image-1-miniCheapest ($0.006/image low quality)

Quick Start

# Test connectivity
python3 scripts/test_connection.py --check-models

# Generate an image
python3 scripts/generate_image.py "A Minoan bull-leaper under golden light"

# Compare models side-by-side (HTML page)
python3 scripts/compare_models.py "A bronze seal stamp in Minoan style" --all --open

# Edit with mask
python3 scripts/edit_image.py "Replace the sky with a dramatic sunset" photo.png --mask sky_mask.png

# Compose from references
python3 scripts/compose_images.py "Create a gift basket containing these items" item1.png item2.png item3.png

# Multi-turn editing session
python3 scripts/converse_image.py

# Streaming with partial images
python3 scripts/stream_image.py "An ancient fresco being restored" --partials 3

Image API scripts share: --output DIR, --filename NAME, --quality low|medium|high, --format png|jpeg|webp, --fast, --mini. converse_image.py uses --orchestrator instead of --fast/--mini.

Core Workflows

1. Text-to-Image Generation

python3 scripts/generate_image.py "prompt" [options]
OptionDefaultDescription
--sizeautoWxH or preset: square, landscape, portrait, wide, 2k, 4k, 4k-portrait
--qualityhighlow, medium, high, auto
--n1Number of images (1-8)
--formatpngpng, jpeg (faster), webp
--compression0-100 for jpeg/webp
--backgroundopaque, transparent, auto
--moderationautoauto, low
# Product photography
python3 scripts/generate_image.py \
  "High-end product photography of luxury watch on black marble, dramatic key light, f/5.6, commercial quality" \
  --size square --quality high

# Budget thumbnails
python3 scripts/generate_image.py "Quick sketch of a coffee cup" --mini --quality low

# Multiple variations
python3 scripts/generate_image.py "Logo design for a tech startup" --n 4 --size square

2. Image Editing

python3 scripts/edit_image.py "instruction" input.png [options]

Additional options: --mask, --images (extra references).

Auto-converts B&W masks to RGBA (requires Pillow: pip install Pillow).

# Region-aware edit with mask
python3 scripts/edit_image.py "Add a flamingo to the pool" lounge.png --mask pool_mask.png

# Full-image restyle
python3 scripts/edit_image.py "Convert to watercolor painting style" photo.jpg

# Edit with reference images
python3 scripts/edit_image.py "Replace the car with this bicycle" street.png --images bicycle.png

3. Multi-Reference Composition

python3 scripts/compose_images.py "instruction" img1.png img2.png [img3.png ...] [options]

Requires 2+ reference images. The model creates a new image incorporating all references.

python3 scripts/compose_images.py \
  "Create a mood board combining these design elements" \
  texture.png palette.png sketch.png --size landscape

4. Multi-Turn Conversational Editing (Responses API)

python3 scripts/converse_image.py [prompt] [options]

Without a prompt, enters interactive REPL. Maintains conversation state via previous_response_id.

# Interactive session
python3 scripts/converse_image.py --auto-save
> A cyberpunk street scene at night
> Now add neon signs with Japanese text
> Make it rain and add reflections
> /save final_scene

# Single-shot
python3 scripts/converse_image.py "Design a coffee brand logo" --output ./logos

Interactive commands: /save, /action auto|generate|edit, /model, /clear, /history, /help, /quit.

Attach images with @path: @logo.png Add this logo to the top-right corner.

Additional options:

FlagOrchestratorTradeoff
(default)gpt-5.4Standard quality, fastest
--thinkinggpt-5.4-thinkingBetter composition for complex scenes, slower
--progpt-5.4-proHighest quality, most expensive
--orchestrator MODELanyManual override

5. Model Comparison (HTML Page)

python3 scripts/compare_models.py "A Minoan bull-leaper" --open
python3 scripts/compare_models.py "prompt" --all --open
python3 scripts/compare_models.py "" --list-models

Generates the same prompt across multiple models and outputs a dark-themed HTML comparison page. See references/compare-models-reference.md for full options.

6. Streaming with Partial Images

python3 scripts/stream_image.py "prompt" --partials N [options]

Outputs partial images as they generate, then the final image.

# Stream with 3 progressively sharper partials
python3 scripts/stream_image.py "A detailed architectural drawing" --partials 3 --save-partials

Additional option: --save-partials to save intermediate images.

Prompting Quick-Hits

  1. Lead with scene/style, not subject. First words carry highest visual weight. Specify intended use (ad, UI mockup, editorial) so the model picks the right polish level.
  2. Always double-quote literal text. "HELLO WORLD" engages the high-accuracy text rendering engine.
  3. Pixel dimensions in prompt. For custom aspect ratios, append "Output in exactly WxH (R:R ratio) resolution" — the API size param alone is unreliable. Done automatically by inject_size_hint() for gpt-image-2.
  4. Use --thinking for complex scenes. The orchestrator model matters — Thinking models produce significantly better multi-element compositions.
  5. Generate fresh, don't edit. Reference-image editing on gpt-image-2 produces yellow tint and poor prompt adherence. For design-final work, generate from scratch.

See references/prompting-guide.md for full details.

When to Use GPT Atelier vs Nano Banana Pro

TaskGPT AtelierNano Banana Pro
Text rendering (complex, non-Latin)BestGood
Mask-based inpaintingNative, low driftHigher drift (~40%)
Reference-image editingYellow tint risk — use --fastBetter fidelity
Multi-turn editing with stateResponses APIMulti-turn chat
PhotorealismExcellentExcellent
Cinematic digital paintingGoodBest
UI mockups / screenshotsBestGood
Multi-image consistencyUp to 8/promptUp to 14 references
Streaming partial deliveryNativeNot available
Dark/artistic themesStricter policyMore permissive
Budget/volume$0.006/img (mini low)Gemini pricing
Arbitrary aspect ratiosAny (16px multiples)10 presets

Cost Control

Start with --quality low ($0.006/image) for ideation. Graduate to medium ($0.05) for review, high ($0.21) for final assets. Use --fast for cheaper generation, --mini for maximum cost savings. Use --format jpeg for faster response times.

Script Reference

ScriptPurposeAPI
generate_image.pyText-to-imageImage API
edit_image.pyEdit with mask/referencesImage API
compose_images.pyMulti-reference compositionImage API
converse_image.pyMulti-turn editingResponses API
compare_models.pySide-by-side model comparison (HTML)Image API
stream_image.pyStreaming with partialsImage API
test_connection.pyConnectivity checkModels API

Reference Documentation

FileContents
references/api-reference.mdFull parameter reference, pricing, size constraints
references/compare-models-reference.mdModel comparison script: options, examples, HTML output
references/prompting-guide.mdPrompt engineering patterns, text rendering, style keywords
references/troubleshooting.mdError codes, content policy, rate limits

What ships with it: 13 files

69.3 KB alongside SKILL.md, 8 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.