feat(image): add gpt-image-2 single and multi-image workflows
This commit is contained in:
12
.env.example
Normal file
12
.env.example
Normal file
@@ -0,0 +1,12 @@
|
||||
OPENAI_API_KEY=your_api_key_here
|
||||
OPENAI_BASE_URL=https://api.aoixx.com
|
||||
IMAGE_REQUEST_STYLE=apicodex
|
||||
IMAGE_MODEL=gpt-image-2
|
||||
IMAGE_SIZE=1024x1024
|
||||
IMAGE_PROMPT="Describe the image you want here"
|
||||
IMAGE_N=1
|
||||
IMAGE_OUTPUT_STEM=gpt-image-2-multi
|
||||
IMAGE_RESPONSE_DIR=outputs/image-multi-runs
|
||||
REFERENCE_IMAGE=./input.png
|
||||
# Multi-image alternative:
|
||||
# REFERENCE_IMAGES=["./a.png","./b.png"]
|
||||
Reference in New Issue
Block a user