OpenAI audio generation api error

completion = client.chat.completions.create(
#model=“gpt-4o-audio-preview”, # Use the audio model
model=“gpt-4o-audio-preview-2024-10-01”, # Use the audio model
modalities=[“text”, “audio”], # Specify that you want text output
audio={
“voice”: “alloy”,
“format”: “wav”
},
messages=[
{
“role”: “user”,
“content”: [
{
“type”: “text”, # Specify input type as audio
“text”: textAI
}
]
}
],
temperature=1,
max_completion_tokens=1500, # Limit the response length
top_p=1,
frequency_penalty=0,
presence_penalty=0
)

“Invalid request: ‘openai-internal-handleimages’ and ‘openai-internal-multimodal-v2’ cannot both be set to true.”, ‘type’: ‘invalid_request_error’, ‘param’: None, ‘code’: None}}