AI студия Владимира Ломтева
УСЛУГИПРОЕКТЫСТАТЬИБАЗА ЗНАНИЙМаркетплейсПолезные сервисы

Оставьте заявку,
чтобы обсудить проект

Напишите ваш вопрос, не забудьте указать телефон. Мы перезвоним и все расскажем.

Контакты

Москва

Работаем по всей России
и миру (онлайн)

+7 (999) 760-24-41

Ежедневно с 9:00 до 21:00

lamooof@gmail.com

По вопросам сотрудничества

TelegramWhatsApp

Есть предложение?

Напишите нам в мессенджеры

© 2025 AI студия Владимира Ломтева

Политика конфиденциальностиСогласие на обработку ПДн|ИНН 623412173261
    Gpt Image 2 — Скилл для ИИ-агентов | AI Рассвет

    Gpt Image 2

    Full OpenAI compatible GPT Image 2 coverage across images/generations, images/edits, and responses with the image generation tool. Use when the one shot image helper is not enough text to image, mask edits, multi image batches, streaming, partial images, and mixed text+image Responses flows. Reads .env and respects process environment variables; works with any OpenAI compatible gateway.

    Скиллы для операций#GitHub#gargantuax/openskills#skills.sh
    Скачивания
    0
    В избранном
    0
    Комментарии
    0
    Просмотры
    3

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add gargantuax/openskills --skill gpt-image-2
    Скачать ZIP
    Версия
    1.0.0+6aeac2674258
    Автор
    Владимир Ломтев
    Репозиторий
    gargantuax/openskills
    GitHub: gargantuax/openskills

    Как установить

    1. 1Скопируйте команду из блока установки.
    2. 2Запустите её в терминале из каталога проекта.

    Документация

    GPT Image 2

    A single Python entrypoint that covers every GPT Image 2 route, with strict pre-flight validation of the model's size, aspect, and feature constraints.

    Workflow

    1. Open references/config.md to pick environment variables and defaults.
    2. Open references/api-surface.md to choose between generations, edits, and responses.
    3. Prefer OPENAI_BASE_URL=https://api.openai.com/v1 unless the user asks for a different OpenAI-compatible endpoint.
    4. Use gpt-image-2 for generations and edits; use a text-capable Responses model such as gpt-5.4 for responses.
    5. Run scripts/gpt_image.py with one of the three subcommands.
    6. Add --dry-run first when the payload shape is the main risk.
    7. Add --save-response <path> when the raw JSON body or SSE event stream needs to be kept for debugging.

    Commands

    Text-to-image through the public Images API:

    python .\skills\gpt-image-2\scripts\gpt_image.py generations `
      --prompt "A bold product hero image for a developer tool homepage" `
      --output .\out\hero.png `
      --size 1536x1024 `
      --quality high `
      --format png
    

    Multi-image batch with a filename pattern:

    python .\skills\gpt-image-2\scripts\gpt_image.py generations `
      --prompt "A cinematic city skyline at night" `
      --output .\out\skyline-{index}.webp `
      --n 3 `
      --format webp `
      --compression 90
    

    Image edits with two inputs plus a mask:

    python .\skills\gpt-image-2\scripts\gpt_image.py edits `
      --prompt "Blend the two references into one clean marketing illustration" `
      --image .\refs\subject.png `
      --image .\refs\background.png `
      --mask .\refs\mask.png `
      --output .\out\edit-{index}.png `
      --image-field-style brackets `
      --n 2
    

    Responses API with streaming and partial previews:

    python .\skills\gpt-image-2\scripts\gpt_image.py responses `
      --input-text "Generate a poster for an AI developer summit" `
      --model gpt-5.4 `
      --output .\out\poster-{index}.png `
      --stream `
      --partial-images 2 `
      --save-response .\out\poster-events.json
    

    Responses API edit with a local image plus a mask:

    python .\skills\gpt-image-2\scripts\gpt_image.py responses `
      --input-text "Turn this product shot into a clean studio ad" `
      --model gpt-5.4 `
      --input-image .\refs\product.png `
      --mask .\refs\mask.png `
      --output .\out\studio.png `
      --action edit
    

    Inspect the built request without sending it:

    python .\skills\gpt-image-2\scripts\gpt_image.py generations `
      --prompt "A minimal cover image" `
      --output .\out\cover.png `
      --dry-run
    

    Rules

    • Use generations for public text-to-image calls.
    • Use edits for multipart image edits and mask uploads.
    • Use responses for advanced flows: streaming, mixed text + image input, previous_response_id, tool_choice, action, and optional tool_model.
    • Process environment variables override .env; CLI flags override both.
    • Never print secrets.
    • --output takes either a single path or a pattern such as image-{index}.png for multi-image or streaming flows.
    • responses uses a top-level Responses model separate from the image model; default it to gpt-5.4 unless you need another text-capable model.
    • quality on Responses tool flows is passed through, but final behavior still depends on the hosted image tool.
    • On OpenAI GPT image models, omit response_format; image data already comes back as base64.
    • Fail fast on unsupported gpt-image-2 combinations: transparent background, invalid size, partial_images outside 0..3, or stream=true with n>1 on public Images routes.

    Resources

    • Script: scripts/gpt_image.py
    • Config reference: references/config.md
    • API surface reference: references/api-surface.md

    Требования и возможности

    Источник пакета
    https://github.com/gargantuax/openskills/tree/6aeac2674258bae6fe0ab5e862f68f052e501302/skills/gpt-image-2

    Файлы версии

    ПутьРазмерSHA256
    README.md6113913ecfbf8759f886...
    SKILL.md43456fa374e5b922dbdb...
    agents/openai.yaml2504f4ab6a81555a581...
    references/api-surface.md2436da2a96bc34e7eb3a...
    references/config.md288408c627a6ded0527c...

    Частые вопросы

    Как установить Gpt Image 2?
    Используйте команду npx skills add gargantuax/openskills --skill gpt-image-2 или скачайте ZIP-архив.
    Можно ли скачать Gpt Image 2 бесплатно?
    Да, опубликованную версию можно скачать из маркетплейса бесплатно.

    Похожие инструменты

    Смотреть все
    Story Long Write长篇网文写作。从大纲到正文,辅助长篇网络小说的创作,包括世界观、人物、情节线管理。触发方式:/story-long-write、/写长篇、「帮我开书」「写大纲」「日更」「续写」「继续写」「修改第X章」「回炉」「重写第X章」。Parallel Deep ResearchONLY use when user explicitly says 'deep research', 'exhaustive', 'comprehensive report', or 'thorough investigation'. Slower and more expensive than parallel-web-search. For normal research/lookup requests, use parallel-web-search instead. Supports multi-turn: pass --previous-interaction-id from a prior research or enrichment to continue with context.LangfuseInteract with Langfuse and access its documentation: tracing, monitoring, creating datasets, running experiments, and evaluating AI applications. Use when needing to (1) query or modify Langfuse data, (2) look up Langfuse documentation, concepts, integration guides, a feature or SDK usage, or (3) do any AI engineering task (AI observability, prompt engineering/management, evaluation and evaluator management, experimentation, dataset management, evaluation-driven CI/CD, feedback collection). Invoke it for tasks in this scope even when Langfuse is not configured or explicitly mentioned.
    Комментарии

    Войдите, чтобы оставить комментарий.

    Комментариев пока нет.

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add gargantuax/openskills --skill gpt-image-2
    Скачать ZIP
    Версия
    1.0.0+6aeac2674258
    Автор
    Владимир Ломтев
    Репозиторий
    gargantuax/openskills
    GitHub: gargantuax/openskills
    Excel Automation>