BYOK OpenAI gpt-image generation and editing nodes for ComfyUI — calls go directly to the OpenAI API with your own key (no proxy, no credit markup). - Two nodes: "Imagent: OpenAI Image" (text-to-image) and "Imagent: OpenAI Image Edit" (edit / inpaint / multi-reference compose). - Models gpt-image-2 / gpt-image-1.5 / gpt-image-1 with a per-model dynamic UI (comfy_api DynamicCombo): size, background, custom WxH, and input_fidelity are revealed only for the models that support them. - Edit node accepts an auto-growing set of reference images (up to 16) plus an optional inpaint mask; generate supports batches up to 8. - API key via OPENAI_API_KEY or a local config.json. Requires ComfyUI >= 0.23.0.
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags: ["v*"]
|
|
workflow_dispatch:
|
|
inputs:
|
|
tag:
|
|
description: "Existing tag to (re)release, e.g. v0.1.0"
|
|
required: true
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Resolve tag and extract its CHANGELOG section
|
|
id: notes
|
|
env:
|
|
TAG_INPUT: ${{ github.event.inputs.tag }}
|
|
run: |
|
|
TAG="${TAG_INPUT:-$GITHUB_REF_NAME}"
|
|
v="${TAG#v}"
|
|
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
|
|
awk -v v="$v" '
|
|
$0 ~ "^## v?" v " " { f=1; next }
|
|
f && /^## / { exit }
|
|
f { print }
|
|
' CHANGELOG.md > release-notes.md
|
|
if [ ! -s release-notes.md ]; then
|
|
echo "No CHANGELOG section found for $v" >&2
|
|
exit 1
|
|
fi
|
|
cat release-notes.md
|
|
|
|
- name: Create GitHub Release
|
|
uses: softprops/action-gh-release@v3
|
|
with:
|
|
tag_name: ${{ steps.notes.outputs.tag }}
|
|
name: ${{ steps.notes.outputs.tag }}
|
|
body_path: release-notes.md
|