-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
deployment: docker
version: ghcr.io/berriai/litellm:main-v1.72.1-nightly
model_list:
- model_name: azure/gpt-image-1
litellm_params:
model: azure/gpt-image-1
api_base: os.environ/AZURE_API_BASE_WUS3_03
api_key: os.environ/AZURE_API_KEY_WUS3_03
curl --location --request POST 'http://127.0.0.1:24000/images/edits' \
--header 'Authorization: Bearer sk-1234' \
--header 'Accept: */*' \
--header 'Host: 127.0.0.1:24000' \
--header 'Connection: keep-alive' \
--header 'Content-Type: multipart/form-data; boundary=--------------------------311314164617804501995051' \
--form 'prompt="组合这两只小猫咪 并且生成一个奶猫版本"' \
--form 'n="1"' \
--form 'model="azure/gpt-image-1"' \
--form 'size="1024x1536"' \
--form 'image=@"/Users/zai/Desktop/WechatIMG51.jpg"' \
--form 'image=@"/Users/zai/Desktop/WechatIMG2583.jpg"' \
--form 'timeout="600"' \
--form 'quality="high"'
Relevant log output
{
"error": {
"message": "litellm.APIError: AzureException APIError - '<=' not supported between instances of 'str' and 'int'",
"type": null,
"param": null,
"code": "500"
}
}
Are you a ML Ops Team?
No
What LiteLLM version are you on ?
main-v1.72.1-nightly
Other
- as mentioned in this azure gpt-image-1 should work
- and should support image[]= like openai curl example
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working