-
Notifications
You must be signed in to change notification settings - Fork 359
Description
Describe the bug
When using openai/gpt-image-1 to create an image, I'm getting the following error
400 Unknown parameter: 'response_format'. Error: 400 Unknown parameter: 'response_format'. at Function.generate
Params
Model: openai/gpt-image-1
Model Version: Unspecified
Size: 1024x1024
Style: vivd
User: Default
Quality: hd
Response format: b64_json, I also tried url option and still got the same result
To Reproduce
Prompt file
model: openai/gpt-image-1
config:
temperature: 0.4
topK: 32
topP: 0.95
size: 1024x1024
style: vivid
quality: hd
response_format: b64_json
input:
schema:
text: string
output:
format: "media"
{{role "user"}}
Generate an image of {{text}}
Expected behavior
An image in the response
Screenshots
If applicable, add screenshots to help explain your problem.
Runtime (please complete the following information):
- OS: [e.g. Linux, MacOS]: MacOS 15.5
** Node version
20.11.1
Additional context
@genkit-ai/compat-oai: 1.15.5
genkit: 1.15.5
genkit-cli: 1.15.5
Metadata
Metadata
Assignees
Labels
Type
Projects
Status