fix: update API path for image generation requests in OpenAIBaseClient

This commit is contained in:
kangfenmao 2025-12-18 14:45:21 +08:00
parent 7e93e8b9b2
commit 5e8646c6a5

View File

@ -69,7 +69,7 @@ export abstract class OpenAIBaseClient<
const sdk = await this.getSdkInstance()
const response = (await sdk.request({
method: 'post',
path: '/images/generations',
path: '/v1/images/generations',
signal,
body: {
model,