mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
fix(fal_ai): stop advertising /v1/images/edits for gpt-image-2 edit
The edit model is reached through the image generation path with fal's image_urls param; /v1/images/edits is not wired for fal_ai and errors. Point supported_endpoints at /v1/images/generations and say so in the entry notes.
This commit is contained in:
parent
618d907d5a
commit
6d66567915
2 changed files with 4 additions and 4 deletions
|
|
@ -17426,13 +17426,13 @@
|
|||
"fal_ai/openai/gpt-image-2/edit": {
|
||||
"litellm_provider": "fal_ai",
|
||||
"metadata": {
|
||||
"notes": "Editing endpoint of gpt-image-2 on fal.ai. Same rate as fal_ai/openai/gpt-image-2, see that entry for the size and quality caveat"
|
||||
"notes": "Editing endpoint of gpt-image-2 on fal.ai, reached through the image generation path with fal's image_urls param since /v1/images/edits is not wired for fal_ai. Same rate as fal_ai/openai/gpt-image-2, see that entry for the size and quality caveat"
|
||||
},
|
||||
"mode": "image_generation",
|
||||
"output_cost_per_image": 0.145,
|
||||
"source": "https://fal.ai/models/openai/gpt-image-2/edit",
|
||||
"supported_endpoints": [
|
||||
"/v1/images/edits"
|
||||
"/v1/images/generations"
|
||||
],
|
||||
"supports_vision": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -17426,13 +17426,13 @@
|
|||
"fal_ai/openai/gpt-image-2/edit": {
|
||||
"litellm_provider": "fal_ai",
|
||||
"metadata": {
|
||||
"notes": "Editing endpoint of gpt-image-2 on fal.ai. Same rate as fal_ai/openai/gpt-image-2, see that entry for the size and quality caveat"
|
||||
"notes": "Editing endpoint of gpt-image-2 on fal.ai, reached through the image generation path with fal's image_urls param since /v1/images/edits is not wired for fal_ai. Same rate as fal_ai/openai/gpt-image-2, see that entry for the size and quality caveat"
|
||||
},
|
||||
"mode": "image_generation",
|
||||
"output_cost_per_image": 0.145,
|
||||
"source": "https://fal.ai/models/openai/gpt-image-2/edit",
|
||||
"supported_endpoints": [
|
||||
"/v1/images/edits"
|
||||
"/v1/images/generations"
|
||||
],
|
||||
"supports_vision": true
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue